commit 499ad89b41df7d48ea7975ff3014534b7865e619 (tree)
parent 620f69c3b4cbd581726d2e1b3b1af05ef9ed9e26
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sun, 24 Nov 2024 04:35:14 +0100
std: Disable some vector-related tests on armeb.
https://github.com/ziglang/zig/issues/22060
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/fmt.zig b/lib/std/fmt.zig
@@ -2596,6 +2596,7 @@ test "positional/alignment/width/precision" {
}
test "vector" {
+ if (builtin.cpu.arch == .armeb and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
if (builtin.target.cpu.arch == .riscv64) {
// https://github.com/ziglang/zig/issues/4486
return error.SkipZigTest;
diff --git a/lib/std/simd.zig b/lib/std/simd.zig
@@ -462,6 +462,7 @@ pub fn prefixScan(comptime op: std.builtin.ReduceOp, comptime hop: isize, vec: a
test "vector prefix scan" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+ if (builtin.cpu.arch == .armeb and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/22060
if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21893
if (comptime builtin.cpu.arch.isMIPS()) {