zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f1c2ae271cd0e9caac332a456ff8dbd2fc4c277a (tree)
parent beb25b0430d96e2e87f6af189062bdd3a02b6e45
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Thu, 18 Sep 2025 00:11:21 +0200

test: disable some SIMD ABI tests on LoongArch

Diffstat:
Mtest/c_abi/main.zig | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/c_abi/main.zig b/test/c_abi/main.zig @@ -1135,6 +1135,7 @@ extern fn c_ret_medium_vec() MediumVec; test "medium simd vector" { if (builtin.zig_backend == .stage2_x86_64 and !comptime builtin.cpu.has(.x86, .avx)) return error.SkipZigTest; if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; + if (builtin.cpu.arch.isLoongArch()) return error.SkipZigTest; c_medium_vec(.{ 1, 2, 3, 4 }); @@ -1155,6 +1156,7 @@ test "big simd vector" { if (builtin.cpu.arch.isMIPS64() and builtin.mode != .Debug) return error.SkipZigTest; if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; + if (builtin.cpu.arch.isLoongArch()) return error.SkipZigTest; if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64 and builtin.os.tag == .macos and builtin.mode != .Debug) return error.SkipZigTest; c_big_vec(.{ 1, 2, 3, 4, 5, 6, 7, 8 });