Commit Graph

1023 Commits

Author SHA1 Message Date
kalsprite
0ef3d96724 fix reinterpretation on riscv 2026-08-17 21:53:37 -07:00
gingerBill
645b57be9f Merge pull request #7327 from kalsprite/abi_conformance
ABI Conformance Harness + Fixes
2026-08-17 16:28:01 +02:00
Jeroen van Rijn
a0b475eef9 Merge pull request #7361 from ssenthilnathan3/fix/recursive-soa-sigbus
Fix: SIGBUS/segfault when compiling recursive #soa slice/dynamic array types
2026-08-17 13:16:18 +02:00
Jeroen van Rijn
e2f1638d4d Merge pull request #7353 from corleypc/modmod-fix
Fixes the %% operator
2026-08-17 13:06:53 +02:00
Jeroen van Rijn
ee89002c24 Add more %% tests 2026-08-17 12:40:49 +02:00
Senthilnathan
f6f686392a Merge branch 'master' into fix/recursive-soa-sigbus 2026-08-17 12:53:33 +05:30
Senthilnathan
4fe5719007 Fix SIGBUS/segfault when compiling recursive #soa slice/dynamic array types 2026-08-17 12:48:41 +05:30
Samuel Elgozi
4a08f5c48a mem: Preserve alignment when reusing Dynamic_Arena blocks 2026-08-17 00:21:50 +03:00
Mihail Moskov
e92c04eb73 Fixes the %% operator 2026-08-16 23:08:24 +03:00
Jeroen van Rijn
cc7d6764d3 Merge pull request #7349 from TheRadischen/merge_sort
improved stable sort | from insertion_sort to merge_rotate
2026-08-16 16:03:57 +02:00
TheRadischen
f6b8eafdfd imporved_style 2026-08-16 15:10:01 +02:00
TheRadischen
9757fed9f9 changed_to_tabs 2026-08-16 14:28:38 +02:00
Jeroen van Rijn
889ad95c7e Merge pull request #7342 from kalsprite/alpha
quat/cmplx nan cmp & accessors
2026-08-16 12:31:55 +02:00
Jeroen van Rijn
7aa805e22a Merge pull request #7343 from kalsprite/rune_unsigned_mapping
intrinsics.type_integer_to_unsigned(rune) returns f16
2026-08-16 12:28:59 +02:00
TheRadischen
3f851d2b02 smarter_test 2026-08-16 12:27:30 +02:00
TheRadischen
df54692a9b addedtest 2026-08-16 12:22:25 +02:00
Jeroen van Rijn
3eeda58634 Merge pull request #7344 from kalsprite/simd_builtin_diagnostics
simd: enforce the `#simd` construction rules and stop two crashes
2026-08-16 12:17:39 +02:00
Jeroen van Rijn
94528dde45 Merge branch 'master' into pr/7345 2026-08-16 11:19:48 +02:00
Jeroen van Rijn
78b9c31a10 Merge pull request #7346 from kalsprite/bit_set_subset_folding
fix `bit_set` subset/superset constant folding
2026-08-16 11:05:30 +02:00
mo
4e0a71c24c Add non-allocating hex.decode_into_buffer
Also minor fixes to documentation of hex.decode().

Adds tests of the new procedure with buffers the correct size, larger,
and too small.
2026-08-16 19:48:19 +12:00
kalsprite
f7b734c82b deinterleave -> shuffle 2026-08-16 00:24:09 -07:00
kalsprite
95c4004239 switch to shuffle intrinsic since #simd is pow2 2026-08-16 00:16:21 -07:00
kalsprite
d52aff5c4b impl riffle for llvm<=20 fallback on interleave 2026-08-15 23:53:54 -07:00
kalsprite
a7029ef7b6 bitset subset 2026-08-15 23:25:13 -07:00
kalsprite
885e12d21d and-not fold 2026-08-15 23:06:35 -07:00
kalsprite
5f0251fec2 5791,6748 2026-08-15 22:44:52 -07:00
kalsprite
e53fc6a879 simd [?] type fix; count recovery 2026-08-15 22:23:15 -07:00
kalsprite
ae742cb9f3 rune unsigned mapping 2026-08-15 20:53:03 -07:00
kalsprite
4cf4607c8b fix #5964 2026-08-15 20:41:22 -07:00
kalsprite
b378f21f4c update tests 2026-08-15 20:24:41 -07:00
kalsprite
617293c5f0 quat/cmplx nan cmp 2026-08-15 20:08:27 -07:00
Michael Tesař
b17c10162d Fix bit_set upper endpoint representability check 2026-08-16 00:30:42 +02:00
kalsprite
38e053b96c i386: cap cmplx / quaternion alignment; abi test: cover a narrow member in front of complex 2026-08-14 23:02:04 -07:00
kalsprite
2a48374df3 abi harness note on vararg exclusion; add quaternions & complex 2026-08-14 22:51:42 -07:00
kalsprite
0fb1721e45 i386: return a complex of eight bytes or fewer in EAX:EDX, not through a hidden pointer
abi test: cover bare f16, complex, rawptr, enum and bit_set
2026-08-14 21:09:26 -07:00
kalsprite
f15d9ea4c7 abi test: cover cstring and uint family 2026-08-14 18:53:31 -07:00
kalsprite
9047c60ec1 arm32: default to arm1176jzf-s so the gnueabihf triple actually has an FPU,
arm32: implement AAPCS32 homogeneous float aggregates incl unions,
arm32: fix reversed arguments in the small-struct return coercion,abi test: __aeabi_uldivmod so the arm32 corpus links
2026-08-14 18:08:11 -07:00
kalsprite
1e2d91c38b i386: pass and return bare vectors directly, coercing only 8-byte integer vectors,
i386: treat a bit_field as the aggregate it is in C, fixing a segfault on return,
abi test: document the i386 microarch baseline; do not read a signal exit as a type index
2026-08-14 17:38:21 -07:00
kalsprite
2c947bb173 add riscv abi to ci; uneven unions, bare scalars 2026-08-13 22:49:55 -07:00
kalsprite
32f90a04db add optimization on to harness 2026-08-13 22:11:53 -07:00
kalsprite
a50c9e0a1d switch test harness to odin 2026-08-13 21:51:53 -07:00
kalsprite
1ffcc43b39 generator typo 2026-08-13 21:34:17 -07:00
kalsprite
416619b71b cover every 8-byte bare vector type 2026-08-13 21:30:56 -07:00
kalsprite
5c5bb38115 enhance abi harness; dont delete build dir 2026-08-13 20:24:38 -07:00
kalsprite
039ee3b63e add alignment canaries 2026-08-13 00:20:27 -07:00
kalsprite
e621a924f5 darwin align(16) max 2026-08-13 00:04:19 -07:00
kalsprite
f5ab81cfa1 simd fix; generator fix 2026-08-12 23:47:27 -07:00
kalsprite
1638bd7e9c fix windows ci 2026-08-12 23:16:51 -07:00
kalsprite
9a2164ac2e abi test harness 2026-08-12 23:05:14 -07:00
kalsprite
a3573c83cd fix long -> int64_t for win64 2026-08-12 18:52:33 -07:00