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
Laytan Laats
7aeed8b205
skip pow -25 for linux arm64 too
2025-11-08 21:52:50 +01:00
Tohei Ichikawa
654c5b2c06
Fix memory leaks in type inference test
2025-09-24 21:25:25 -04:00
Tohei Ichikawa
3c1238991b
Fix test_proc_group_type_inference.odin
2025-09-24 18:52:48 -04:00
Tohei Ichikawa
403ca2fb2e
Improve type inferencing of literals when calling proc groups
2025-09-15 20:40:20 -04:00
gingerBill
a0462aa8d7
Fix test for global procedure initialization
2025-08-08 12:49:24 +01:00
FourteenBrush
d08ebf56e7
Add intrinsics.type_enum_is_contiguous test
2025-07-11 21:10:42 +02:00
Jeroen van Rijn
1fbc5641c0
Add to tests/internal
...
Turn repro code into a proper test, and delete superfluous files from Odin root.
2025-06-26 14:47:38 +02:00
Laytan Laats
c35a45e823
fix global and static any
...
Fixes #4627
2025-05-17 16:49:30 +02:00
0xrsp
ea806f1d5e
new compiler intrinsics type_integer_to_unsigned,type_integer_to_signed
2025-05-15 01:00:40 +09:30
Laytan Laats
396a18efce
fix variable NaN comparisons
2025-04-30 20:04:24 +02:00
mtarik34b
1d2adbb3c6
Remove reference to git issue
2025-04-15 05:26:36 +02:00
mtarik34b
313d7d84bc
Ensure NaN != any_float_value evaluates to true for constant NaN values
2025-04-15 05:00:36 +02:00
Jeroen van Rijn
843467bb8f
Fix #5004
...
Fixes constant NaN to constant NaN comparisons.
2025-04-05 14:47:30 +02:00
Laytan Laats
5defddffd0
reorganize tests and handle endian
2025-02-06 21:44:34 +01:00
Laytan Laats
9241d7c698
add tests for abs() on floats
2025-02-06 21:20:15 +01:00
Gavin
25ae3d0785
Add regression test for #4553
...
This test is definitely imperfect (should have no erroneous failures,
only erroneous passes), but should serve as a good smoke test
if matrix alignment is ever broken again. Looking at the generated LLVM,
there is a bunch of weird choices for alignment chosen that might be
worth looking into.
It's also worth noting that the failure mode of this test is a #GP
exception, which I don't know how well the test runner handles in a
larger test corpus.
2024-12-05 15:26:18 -05:00
Laytan Laats
99aa0d3a35
fix type switching over internal pointer union
...
Fixes #3947
2024-08-12 00:02:05 +02:00
Laytan Laats
4d1d754cae
fix specific_union_variant in map_keyed_by_union not converting to union type
2024-07-29 02:32:13 +02:00
Feoramund
1a52cf1f1c
Use test's random generator
...
This removes the `create` calls when a test was only setting up a
generator, and it replaces them with `reset` when run in a loop.
2024-06-15 15:49:05 -04:00