Commit Graph

94 Commits

Author SHA1 Message Date
kalsprite
5628815bfe mod -1 2026-08-24 19:46:47 -07:00
kalsprite
7fe49fbffb Fix compiler panic on a selector into 2026-08-21 16:38:56 -07:00
Jeroen van Rijn
00a03e72b5 Merge pull request #7400 from kalsprite/union_slice_assert
backend: only reuse a compound literal's storage for a variable of its type
2026-08-20 03:38:09 +02:00
Jeroen van Rijn
6695ca537d Merge pull request #7087 from korvahkh/const-union-fixes
Implement fixes for constant unions
2026-08-20 03:35:36 +02:00
Jeroen van Rijn
e551ef5f15 Merge pull request #7397 from kalsprite/union_ternary_phi
backend: a union constant in a ternary or  builds an ill-typed phi
2026-08-20 03:24:04 +02:00
korvahkh
feb008ab6e Add tests for constant unions 2026-08-19 20:16:51 -05:00
kalsprite
bc2649bacd backend: only reuse a compound literal's storage for a variable of its type 2026-08-19 17:53:34 -07:00
kalsprite
f360a37ccd cmplx & quat take type from args 2026-08-19 17:36:50 -07:00
kalsprite
a13a4b418d backend: a union constant in a ternary or builds an ill-typed phi 2026-08-19 16:45:58 -07:00
kalsprite
cf5f181228 peel union constant to its variant 2026-08-19 16:30:37 -07:00
gingerBill
6defecf436 Merge pull request #7392 from kalsprite/asm_extend_mnemonics
amd64 asm: extend family emits mnemonic that doesnt exist
2026-08-19 23:54:37 +02:00
kalsprite
40a64a9dbb move test to build specific 2026-08-19 14:39:12 -07:00
kalsprite
26ae28dfb7 asm: multi-instruction template computed with one operand twice 2026-08-19 14:32:03 -07:00
kalsprite
b9983105bd amd64 asm: extend family emits mnemonic that doesnt exist 2026-08-19 14:03:56 -07:00
Jeroen van Rijn
b7944229e5 Merge pull request #7385 from kalsprite/bit_field_value_range
bitfield: a constant is range-checked only while it is untyped
2026-08-19 20:48:58 +02:00
kalsprite
8c239a8f43 range check bitfield fields for untyped constants 2026-08-19 10:52:58 -07:00
kalsprite
8189bb9730 abs const fold 2026-08-17 22:41:22 -07:00
Jeroen van Rijn
ee89002c24 Add more %% tests 2026-08-17 12:40:49 +02:00
Mihail Moskov
e92c04eb73 Fixes the %% operator 2026-08-16 23:08:24 +03: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
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
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
Mihail Moskov
6a81351de3 fixes float to 128-bit int/uint conversion 2026-08-12 19:25:46 +03:00
kalsprite
1a631b2f3f Fix constant string16 carrying UTF-8, and inverted slice indices reaching substring (#7268)
* str16 fix

* remove stale call
2026-08-09 21:22:13 +02:00
kalsprite
3756aae0f8 incorp specialized-vs-generic poly 2026-08-07 17:58:35 -07:00
kalsprite
b475525997 Merge branch 'master' into poly 2026-08-07 17:41:30 -07:00
kalsprite
3dc7741e06 correct windows limb size 2026-08-07 15:18:46 -07:00
kalsprite
5393a11ee1 untyped integral float index conversion to int 2026-08-07 14:49:25 -07:00
kalsprite
114cbd7432 add proc group test matrix 2026-08-07 11:30:06 -07:00
Sylphrena
64f27153cc Follow up fix of map shrink 2026-08-01 13:30:34 +02:00
Sylphrena
17e23a8bcf Shrink map to minimum capacity with shrink 2026-07-29 15:20:50 +02:00
gingerBill
0e6ea3884d General improves 2026-03-14 16:26:42 +00:00
Tohei Ichikawa
c8f2603d3e Fix test name, add PR link, use tabs 2026-01-10 03:35:33 -05:00
Tohei Ichikawa
bf7c92bf09 Fix assertion error when imported proc groups are passed as proc arguments 2026-01-10 03:05:04 -05:00
Yawning Angel
aa8e6e0938 tests: Add random number generator tests 2025-11-29 16:16:52 +09:00
Tohei Ichikawa
6450459008 Convert test case indentation to tabs 2025-11-09 22:07:09 -05:00
Tohei Ichikawa
411a163827 Add link to relevant PR to test case 2025-11-09 22:02:37 -05:00
Tohei Ichikawa
d6b5a3139a Fix allocation of anonymous globals 2025-11-09 21:07:28 -05:00