Commit Graph

17037 Commits

Author SHA1 Message Date
gingerBill
7207b545e6 Merge pull request #6406 from odin-lang/bill/fixed-capacity-dynamic-array
Fixed Capacity Dynamic Arrays
2026-03-15 15:31:31 +00:00
Jeroen van Rijn
e0308a5417 Merge pull request #6427 from Kelimion/fix-6425
Fix #6425
2026-03-15 15:35:14 +01:00
Jeroen van Rijn
66be1a799b Fix #6425 2026-03-15 15:25:54 +01:00
Jeroen van Rijn
d2297673af Merge pull request #6423 from Barinzaya/small-array-fmt
Small_Array formatting
2026-03-15 13:37:06 +01:00
gingerBill
2f8da5ec67 Add fixed capacity dynamic array to the doc-format 2026-03-15 11:55:04 +00:00
gingerBill
ad1a10b8af use intrinsics.mem_copy instead of a for-loop 2026-03-15 11:48:49 +00:00
gingerBill
310def1e71 Fix append_fixed_capacity_elems 2026-03-15 11:42:24 +00:00
gingerBill
c6772dfd06 Merge branch 'master' into bill/fixed-capacity-dynamic-array 2026-03-15 11:41:01 +00:00
Barinzaya
e5c7ab0660 Add fmt field tags to core:container/small_array.Small_Array.
This enables fmt (and other packages that use it, like log) to format
Small_Arrays with only the used portion of the array.
2026-03-15 07:16:02 -04:00
gingerBill
117e3a7b5a Merge branch 'master' of https://github.com/odin-lang/Odin 2026-03-15 10:34:01 +00:00
gingerBill
ca73cd395f Fix #6412 2026-03-15 10:33:52 +00:00
Jeroen van Rijn
fcac43e08f Merge pull request #6420 from mlgudi/fix-math-big-powmod-int-mul-high
Fix two bugs in `core:math/big` modular exponentiation
2026-03-15 11:26:28 +01:00
Jeroen van Rijn
3e80523f7d Merge pull request #6422 from Yawning/feature/arm-hw-sha
core/crypto/sha2: Add ARM SHA256 acceleration
2026-03-15 11:23:51 +01:00
Jeroen van Rijn
f82fbc9405 -vet-tabs 2026-03-15 11:06:22 +01:00
Yawning Angel
9194b599ec core/crypto/sha2: Add ARMv8 SHA256 acceleration 2026-03-15 18:44:29 +09:00
mlgudi
76da2c3233 mul_high: fix aliasing bug when dest overlaps input 2026-03-15 02:47:26 +00:00
mlgudi
84b38810f1 powmod: fix Montgomery branch calling Barrett implementation 2026-03-15 02:46:30 +00:00
gingerBill
e40fdb8a31 Merge pull request #6372 from laytan/more-accurate-native-features
More accurate native features
2026-03-14 17:50:35 +00:00
gingerBill
0e6ea3884d General improves 2026-03-14 16:26:42 +00:00
gingerBill
59bc428782 Update core/odin/ast/ast.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:22:12 +00:00
gingerBill
7b0121756c Update core/encoding/cbor/marshal.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:22:01 +00:00
gingerBill
ee667ec02b Update core/reflect/reflect.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:21:38 +00:00
Yawning Angel
3a59e8c849 core/simd/arm: Add the SHA intrinsics
The SHA3 ones aren't in the developer.arm.com documentation.
2026-03-14 14:05:15 +09:00
Yawning Angel
adb2890d2b core/simd/arm: Formating fixes (NFC) 2026-03-14 14:05:15 +09:00
Jeroen van Rijn
9630f223d0 Merge pull request #6417 from laytan/fix-type-info-for-u16-could-not-be-found
fix type info of u16 could not be found
2026-03-13 21:12:11 +01:00
Laytan Laats
f56ec37d1b fix type info of u16 could not be found 2026-03-13 20:43:03 +01:00
Laytan
af8853473a query host features instead of only host cpu for more accurate -microarch:native 2026-03-13 20:15:33 +01:00
gingerBill
411e85f02e Fix copy-and-paste doc typo 2026-03-13 13:37:34 +00:00
Jeroen van Rijn
1cc9c1f723 Merge pull request #6408 from Yawning/feature/arm-hw-crypto
crypto: Add ARM AES hardware acceleration
2026-03-13 14:09:09 +01:00
Yawning Angel
3139b7e755 core/crypto/aes: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
e09923f585 core/crypto/deoxysii: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
df1a966100 core/crypto/aegis: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
6aeed0e20e core/crypto/_aes/hw: Initial import 2026-03-13 22:01:16 +09:00
Yawning Angel
48b1f3b830 core/simd/arm: Initial import 2026-03-13 21:00:42 +09:00
Yawning Angel
004a65e382 core/crypto/_aes/hw_intel: Remove a copy of zero_explicit 2026-03-13 21:00:42 +09:00
gingerBill
b5801ea5c1 Handle endianness for floats 2026-03-13 11:10:28 +00:00
gingerBill
987aa04d6c Minor formatting improvements, and more use of or_return 2026-03-13 11:08:50 +00:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
gingerBill
fa72a38036 Add fixed capacity dynamic array stuff to core:reflect 2026-03-12 17:44:35 +00:00
gingerBill
8e23c58620 Add intrinsics type_fixed_capacity_dynamic_array_len_offset and type_is_fixed_capacity_dynamic_array 2026-03-12 17:39:44 +00:00
gingerBill
c7308d86d4 Fix tests as they are not direct matches to small_array 2026-03-12 17:33:54 +00:00
gingerBill
26eb58b589 Move raw closer to usage 2026-03-12 17:03:07 +00:00
gingerBill
6c61b1d46c Remove loc being passed 2026-03-12 16:59:58 +00:00
gingerBill
fac8471019 Fix typos 2026-03-12 16:59:11 +00:00
gingerBill
6e9d6bfbe5 Fixed tests 2026-03-12 16:55:46 +00:00
gingerBill
6898cbe678 Replace usage of Small_Array(N; T) with [dynamic; N]T in core:nbio for posix systems 2026-03-12 16:46:51 +00:00
gingerBill
43d8c2bb34 Add basic tests
I know this is not the best place to put them but since `[dynamic; N]T` is meant to a replacement for `small_array.Small_Array(N, T)`, I thought it would be fine for the time being.
2026-03-12 16:41:24 +00:00
Jeroen van Rijn
3da7817f5a Merge pull request #6409 from frwdrik/patch-2
Fix typo in error message for using statement
2026-03-12 16:47:50 +01:00
Fredrik Vaeng Røtnes
b4405d01f8 Fix typo in error message for using statement
Change "It you do require..." to "If you do require..."
2026-03-12 16:37:05 +01:00
gingerBill
e485d82c9d cbor support for fixed capacity dynamic arrays 2026-03-12 13:01:29 +00:00