aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/memcpy.zig
AgeCommit message (Collapse)Author
2025-07-22aarch64: add new from scratch self-hosted backendJacob Young
2025-06-16rename spirv backend nameAli Cheraghi
`stage2_spirv64` -> `stage2_spirv`
2025-04-28Sema: fix memcpy with C pointersxdBronch
2025-03-30Sema: convert slice sentinel to single pointer correctlyDavid Rubin
2025-02-24test: skip failing tests with spirv-vulkanAli Cheraghi
2025-02-01Sema: skip aliasing check and runtime operation for `@memcpy` of zero-bit typemlugg
This check isn't valid in such cases, because the source and destination pointers both refer to zero bits of memory, meaning they effectively never alias. Resolves: #21655
2024-07-26riscv: airAsm rewriteDavid Rubin
with this rewrite we can call functions inside of inline assembly, enabling us to use the default start.zig logic all that's left is to implement lr/sc loops for atomically manipulating 1 and 2 byte values, after which we can use the segfault handler logic.
2024-07-26riscv: update testsDavid Rubin
2024-05-11riscv: add stage2_riscv to test matrix and bypass failing testsDavid Rubin
2023-12-23Sema: ensure `slice_ptr` produces the correct typeJacob Young
Closes #18345
2023-11-19test: update behavior to silence 'var is never mutated' errorsmlugg
2023-10-17spirv: memcpyAli Chraghi
2023-06-24all: migrate code to new cast builtin syntaxmlugg
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-05-24Sema: `@memcpy` convert src slice to many ptrVeikka Tuominen
Closes #15838
2023-05-20spirv: implement pointer comparison in for air cmpRobin Voetter
It turns out that the Khronos LLVM SPIRV translator does not support OpPtrEqual. Therefore, this instruction is emitted using a series of conversions. This commit breaks intToEnum, because enum was removed from the arithmetic type info. The enum should be converted to an int before this function is called.
2023-05-15Sema: use `elemPtrOneLayerOnly` in `zirMemCpy`Veikka Tuominen
Closes #15633
2023-05-15Sema: ensure dest ptr of memcpy has lengthVeikka Tuominen
Closes #15513
2023-05-11setup spirv backend in behavior testsAli Chraghi
2023-04-28C backend: fix ptr comparison of array ptrs when one is null-terminatedAndrew Kelley