authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-18 00:11:21+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-18 12:42:24+02:00
logf1c2ae271cd0e9caac332a456ff8dbd2fc4c277a
treedf0f0d8547eeab0e9f942b9dc1bc98d79359e17b
parentbeb25b0430d96e2e87f6af189062bdd3a02b6e45
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: disable some SIMD ABI tests on LoongArch


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

test/c_abi/main.zig+2
...@@ -1135,6 +1135,7 @@ extern fn c_ret_medium_vec() MediumVec;...@@ -1135,6 +1135,7 @@ extern fn c_ret_medium_vec() MediumVec;
1135test "medium simd vector" {1135test "medium simd vector" {
1136 if (builtin.zig_backend == .stage2_x86_64 and !comptime builtin.cpu.has(.x86, .avx)) return error.SkipZigTest;1136 if (builtin.zig_backend == .stage2_x86_64 and !comptime builtin.cpu.has(.x86, .avx)) return error.SkipZigTest;
1137 if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest;1137 if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest;
1138 if (builtin.cpu.arch.isLoongArch()) return error.SkipZigTest;
11381139
1139 c_medium_vec(.{ 1, 2, 3, 4 });1140 c_medium_vec(.{ 1, 2, 3, 4 });
11401141
...@@ -1155,6 +1156,7 @@ test "big simd vector" {...@@ -1155,6 +1156,7 @@ test "big simd vector" {
11551156
1156 if (builtin.cpu.arch.isMIPS64() and builtin.mode != .Debug) return error.SkipZigTest;1157 if (builtin.cpu.arch.isMIPS64() and builtin.mode != .Debug) return error.SkipZigTest;
1157 if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest;1158 if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest;
1159 if (builtin.cpu.arch.isLoongArch()) return error.SkipZigTest;
1158 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64 and builtin.os.tag == .macos and builtin.mode != .Debug) return error.SkipZigTest;1160 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64 and builtin.os.tag == .macos and builtin.mode != .Debug) return error.SkipZigTest;
11591161
1160 c_big_vec(.{ 1, 2, 3, 4, 5, 6, 7, 8 });1162 c_big_vec(.{ 1, 2, 3, 4, 5, 6, 7, 8 });