diff options
Diffstat (limited to 'lib/std/simd.zig')
| -rw-r--r-- | lib/std/simd.zig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/std/simd.zig b/lib/std/simd.zig index a30622aef6..1a71bd7069 100644 --- a/lib/std/simd.zig +++ b/lib/std/simd.zig @@ -160,6 +160,12 @@ pub fn extract( } test "vector patterns" { + if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and + builtin.cpu.arch == .aarch64) + { + // https://github.com/ziglang/zig/issues/12012 + return error.SkipZigTest; + } const base = @Vector(4, u32){ 10, 20, 30, 40 }; const other_base = @Vector(4, u32){ 55, 66, 77, 88 }; @@ -382,6 +388,12 @@ test "vector prefix scan" { return error.SkipZigTest; } + if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) { + // Regressed in LLVM 14: + // https://github.com/llvm/llvm-project/issues/55522 + return error.SkipZigTest; + } + const int_base = @Vector(4, i32){ 11, 23, 9, -21 }; const float_base = @Vector(4, f32){ 2, 0.5, -10, 6.54321 }; const bool_base = @Vector(4, bool){ true, false, true, false }; |
