authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-12-11 19:47:32+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-12-16 06:23:01+01:00
logc3ee8078b475e74772ad8a05f13869ce1a2c1128
treed43d026565ca5fcffa82fe039e95e43d67463f17
parenteaae3f936bf047186453fa2ec1d99ba684edede8
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: skip some C ABI vector tests on powerpc

These fail on a pwr10 machine.

1 files changed, 2 insertions(+), 1 deletions(-)

test/c_abi/main.zig+2-1
...@@ -1267,7 +1267,7 @@ extern fn c_ret_vector_256_bool() Vector256Bool;...@@ -1267,7 +1267,7 @@ extern fn c_ret_vector_256_bool() Vector256Bool;
1267extern fn c_ret_vector_512_bool() Vector512Bool;1267extern fn c_ret_vector_512_bool() Vector512Bool;
12681268
1269test "bool simd vector" {1269test "bool simd vector" {
1270 if (builtin.zig_backend == .stage2_llvm and (builtin.cpu.arch != .powerpc and builtin.cpu.arch != .wasm32)) return error.SkipZigTest;1270 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch != .wasm32) return error.SkipZigTest;
12711271
1272 {1272 {
1273 c_vector_2_bool(.{1273 c_vector_2_bool(.{
...@@ -3373,6 +3373,7 @@ test "bool simd vector" {...@@ -3373,6 +3373,7 @@ test "bool simd vector" {
3373comptime {3373comptime {
3374 skip: {3374 skip: {
3375 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64) break :skip;3375 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64) break :skip;
3376 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isPowerPC()) break :skip;
33763377
3377 _ = struct {3378 _ = struct {
3378 export fn zig_vector_2_bool(vec: Vector2Bool) void {3379 export fn zig_vector_2_bool(vec: Vector2Bool) void {