Matthew Lugg
fdac89d6cd
remove uses of array multiplication
...
In preparation for its removal as accepted in
https://github.com/ziglang/zig/issues/24738 .
2026-04-30 08:57:51 +01:00
Pavel Verigo
22945fbbdc
stage2-wasm: vector, std tests
2026-04-22 00:19:46 +02:00
David Rubin
06ab4f702e
llvm: correctly bitcast for memset intrinsic path
2026-04-12 05:28:54 +02:00
Jacob Young
52a029e503
x86_64: continue hacking around unimplemented linker logic
...
Closes #25666
2025-10-29 19:31:44 -04:00
xdBronch
851ae9bb43
don't pass zero-length @memset to the backend
2025-10-06 11:28:56 -07:00
Jacob Young
2fdf0e29b3
aarch64: enable fixed behavior
2025-09-20 18:33:00 -07:00
Jacob Young
5060ab99c9
aarch64: add new from scratch self-hosted backend
2025-07-22 19:43:47 -07:00
Ali Cheraghi
872f68c9cb
rename spirv backend name
...
`stage2_spirv64` -> `stage2_spirv`
2025-06-16 13:22:19 +03:30
Jacob Young
6afc5770d3
wasm: disable failing tests
2025-02-06 17:02:54 -05:00
David Rubin
05de6c279b
riscv: std.fmt.format running
...
- implements `airSlice`, `airBitAnd`, `airBitOr`, `airShr`.
- got a basic design going for the `airErrorName` but for some reason it simply returns
empty bytes. will investigate further.
- only generating `.got.zig` entries when not compiling an object or shared library
- reduced the total amount of ops a mnemonic can have to 3, simplifying the logic
2024-06-13 02:20:47 -07:00
David Rubin
c457f35da5
riscv: arbitrary sized arrays
2024-06-13 02:19:40 -07:00
David Rubin
d9e0cafe64
riscv: add stage2_riscv to test matrix and bypass failing tests
2024-05-11 02:17:24 -07: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
mlugg
b8e6c42688
compiler: provide result type for @memset value
...
Resolves : #16986
2023-08-28 12:33:36 -07:00
Luuk de Gram
4a33aa922e
wasm: support memset for elem abi size > 1
...
Previously we incorrectly assumed all memset's to have its element
abi-size be 1 byte. This would set the region of memory incorrectly.
We now have a more efficient loop, as well as support any element
type by re-using the `store` function for each element and moving
the pointer by 1 element.
2023-05-19 20:22:45 +02:00
Jacob Young
f83ebd8e6c
x86_64: implement stack probing
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
Jakub Konka
5e7f3d5daa
x86_64: disable advanced memset tests on Windows
2023-05-01 19:22:53 -04:00
Jacob Young
47a34d038d
x86_64: implement tagName
2023-05-01 19:22:52 -04:00
Andrew Kelley
85ffb8f18f
disable 2 failing behavior tests with x86 backend
2023-04-28 13:29:39 -07:00
Andrew Kelley
73d3fb9883
C backend: fix ptr comparison of array ptrs when one is null-terminated
2023-04-28 13:24:43 -07:00
Andrew Kelley
a67dec1c9f
disable not yet passing new behavior tests from this branch
2023-04-28 13:24:42 -07:00
Andrew Kelley
9295355985
LLVM backend: optimize memset with comptime-known element
...
When the element is comptime-known, we can check if it has a repeated
byte representation. In this case, `@memset` can be lowered with the
LLVM intrinsic rather than with a loop.
2023-04-28 13:24:42 -07:00
Andrew Kelley
00b690540e
llvm backend: fix lowering of memset
...
The bitcast of ABI size 1 elements was problematic for some types.
2023-04-28 13:24:42 -07:00