authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-28 10:00:04+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-09-10 08:53:30+02:00
log5285f41267f20150d58a40a96e4380a3b611955d
tree0656e4e9d82e48593922a6bd8007789f91bd6975
parent4fcd3e00fad48b15c19f6ed4771fc73adae30f89
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Disable `store vector with memset` on soft float arm.

https://github.com/ziglang/zig/issues/16177

1 files changed, 8 insertions(+), 5 deletions(-)

test/behavior/vector.zig+8-5
...@@ -1442,7 +1442,14 @@ test "store vector with memset" {...@@ -1442,7 +1442,14 @@ test "store vector with memset" {
1442 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;1442 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
14431443
1444 if (builtin.zig_backend == .stage2_llvm) {1444 if (builtin.zig_backend == .stage2_llvm) {
1445 // LLVM 16 ERROR: "Converting bits to bytes lost precision"
1446 // https://github.com/ziglang/zig/issues/16177
1445 switch (builtin.target.cpu.arch) {1447 switch (builtin.target.cpu.arch) {
1448 .arm,
1449 .armeb,
1450 .thumb,
1451 .thumbeb,
1452 => if (builtin.target.floatAbi() == .soft) return error.SkipZigTest,
1446 .wasm32,1453 .wasm32,
1447 .mips,1454 .mips,
1448 .mipsel,1455 .mipsel,
...@@ -1451,11 +1458,7 @@ test "store vector with memset" {...@@ -1451,11 +1458,7 @@ test "store vector with memset" {
1451 .riscv64,1458 .riscv64,
1452 .powerpc,1459 .powerpc,
1453 .powerpc64,1460 .powerpc64,
1454 => {1461 => return error.SkipZigTest,
1455 // LLVM 16 ERROR: "Converting bits to bytes lost precision"
1456 // https://github.com/ziglang/zig/issues/16177
1457 return error.SkipZigTest;
1458 },
1459 else => {},1462 else => {},
1460 }1463 }
1461 }1464 }