David Rubin
d9e0cafe64
riscv: add stage2_riscv to test matrix and bypass failing tests
2024-05-11 02:17:24 -07:00
Ali Chraghi
0f75143c62
spirv: implement @divFloor, @floor and @mod
2024-04-06 08:50:02 +03:30
Robin Voetter
7057bffc14
Merge pull request #19337 from Snektron/spirv-globals
...
spirv: rework generic global
2024-03-19 09:34:59 +01:00
Robin Voetter
2f9e37ade0
spirv: enable passing tests
2024-03-18 19:13:51 +01:00
Veikka Tuominen
aa03ec8001
add behavior test for optimized float math
...
Closes #19178
2024-03-17 22:23:16 +02:00
Tristan Ross
aab84a3dec
std.builtin: make float mode fields lowercase
2024-03-11 07:09:10 -07:00
Ali Chraghi
37b0aa600a
spirv: make rusticl the primary testing implementation
2024-02-09 09:27:08 +03:30
Jakub Konka
52066bf8e4
x86_64+macho: pass more behavior tests
2024-02-06 19:01:17 +01:00
Robin Voetter
76d5696434
spirv: air abs
2024-02-04 19:09:32 +01:00
Veikka Tuominen
804cee3b93
categorize behavior/bugs/<issueno>.zig tests
2024-01-06 16:49:41 -08:00
mlugg
9c16b2370d
test: update behavior to silence 'var is never mutated' errors
2023-11-19 09:57:03 +00:00
Robin Voetter
faad97edff
spirv: update failing / passing tests
...
Some tests are now failing due to debug info changes, some tests
now pass due to improved compiler functionality.
2023-10-15 20:08:18 +02:00
Jacob Young
24d76500d2
x86_64: fix bitcast from f80
2023-10-08 04:41:55 -04:00
Jacob Young
24c67992e0
x86_64: hack around silent f80 miscompilations
...
The x87 kind sucks.
2023-10-07 19:47:46 -04:00
Jacob Young
20b4401cde
x86_64: implement negation and @abs for f80
...
Also implement live-outs since the x87 requires so much care around
liveness tracking.
2023-10-07 00:29:17 -04:00
Jacob Young
5aeb13c350
x86_64: implement f80 movement
2023-10-07 00:29:17 -04:00
Jacob Young
54b2d6f072
x86_64: implement C abi for everything else
2023-10-05 04:38:25 -04:00
Jacob Young
cc6694a323
x86_64: implement C abi for f128
2023-10-05 04:10:38 -04:00
Jacob Young
da335f0ee4
x86_64: implement float @sqrt builtin
2023-10-01 15:09:52 -04:00
Jacob Young
fbe5bf469e
x86_64: implement float arithmetic builtins
2023-10-01 15:09:52 -04:00
Jacob Young
1eb023908d
x86_64: implement float round builtins
2023-10-01 15:09:52 -04:00
Jacob Young
8470652f10
x86_64: implement float compare and cast builtins
2023-10-01 15:09:52 -04:00
Jacob Young
6d5cbdb863
behavior: cleanup floatop tests
2023-10-01 15:09:52 -04:00
Jacob Young
3bd1b9e15f
x86_64: implement and test unary float builtins
2023-10-01 15:09:52 -04:00
antlilja
15cc008bf8
Replace @fabs with @abs in behavior tests
2023-09-27 11:24:33 -07:00
Robin Voetter
075584a4d7
spirv: enable passing tests
2023-09-23 12:36:56 -07:00
Jacob Young
401de6dd2f
compiler_rt: fix arm hard-float f16 abi
...
Closes #16848
2023-09-19 09:37:53 -07:00
Jacob Young
d65318847f
compiler_rt: fix fp sub being optimized to call itself
...
Closes #16844
Reduces #16846
2023-09-19 09:37:52 -07:00
Andrew Kelley
8219711063
disable behavior tests regressed by LLVM 17
...
See #16844
See #16845
See #16846
See #16848
2023-09-19 09:37:50 -07:00
Techatrix
ab970094ab
wasm: enable successful behavior tests
2023-09-10 15:59:02 +02:00
Carl Åstholm
60fc18bd1c
compiler_rt: fix f80 comparisons
...
This corrects comparisons between negative numbers.
2023-08-21 11:26:25 -07:00
Jacob Young
228c956377
std: finish cleanup up asm
...
This also required implementing the necessary syntax in the x86_64 backend.
2023-07-31 03:49:21 -04:00
Jacob Young
9831f27238
cbe: get behavior tests running on arm
...
Specifically without linking libc.
2023-07-31 01:58:10 -04:00
mlugg
f26dda2117
all: migrate code to new cast builtin syntax
...
Most of this migration was performed automatically with `zig fmt`. There
were a few exceptions which I had to manually fix:
* `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten
* `@truncate`'s fixup is incorrect for vectors
* Test cases are not formatted, and their error locations change
2023-06-24 16:56:39 -07:00
Eric Joldasov
50339f595a
all: zig fmt and rename "@XToY" to "@YFromX"
...
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-19 12:34:42 -07:00
Eric Joldasov
d884d7050e
all: replace comptime try with try comptime
...
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-13 23:46:58 +06:00
Robin Voetter
65157d30ab
spirv: ptr_elem_val
...
Implements the ptr_elem_val air tag. Implementation is unified
with ptr_elem_ptr.
2023-05-20 17:30:23 +02:00
Robin Voetter
37aa343079
spirv: more passing tests
2023-05-20 17:30:22 +02:00
Jacob Young
36ddab03fa
x86_64: fix multi-limb compare
2023-05-18 20:42:38 -04:00
Jacob Young
6c6d8d67cf
x86_64: redo movement, float negation, and @fabs
2023-05-15 03:07:51 -04:00
Jacob Young
019c884481
x86_64: add missing multply of f16
2023-05-15 03:07:51 -04:00
Ali Chraghi
ccc490ef68
setup spirv backend in behavior tests
2023-05-11 20:31:52 +02:00
Jacob Young
6778da4516
x86_64: implement binary operations for f16 and f16 vectors
2023-05-08 07:36:20 -04:00
Jacob Young
f8708e2c4d
x86_64: implement @floor, @ceil, and @trunc for float vectors
2023-05-08 07:36:20 -04:00
Jacob Young
ea957c4cff
x86_64: implement @sqrt for f16 scalars and vectors
2023-05-08 07:36:20 -04:00
Jacob Young
05580b9453
x86_64: implement float cast from f16 to f64
2023-05-08 07:36:20 -04:00
Jacob Young
36a39267b8
x86_64: fix feature confusion
2023-05-03 04:25:14 -04:00
Jacob Young
9ccdbca635
x86_64: implement fabs
2023-05-03 04:25:14 -04:00
Jacob Young
db76ae8260
x86_64: fix emitting f80 globals
2023-05-01 19:22:52 -04:00
Jacob Young
6de457211f
behavior: update affected tests for the x86_64 backend
2023-05-01 19:22:52 -04:00