diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-08-15 17:36:38 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-19 09:37:50 -0700 |
| commit | 821971106383e6e64e679c4402278399798c76eb (patch) | |
| tree | 850e0955bdb170121a9c8470009c19acfa1d02e2 /test/behavior/floatop.zig | |
| parent | b1b155feacaa12a758ef4800cef021da7ae19040 (diff) | |
| download | zig-821971106383e6e64e679c4402278399798c76eb.tar.gz zig-821971106383e6e64e679c4402278399798c76eb.zip | |
disable behavior tests regressed by LLVM 17
See #16844
See #16845
See #16846
See #16848
Diffstat (limited to 'test/behavior/floatop.zig')
| -rw-r--r-- | test/behavior/floatop.zig | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig index 95560e63cf..4a6023b6cc 100644 --- a/test/behavior/floatop.zig +++ b/test/behavior/floatop.zig @@ -711,6 +711,18 @@ test "@floor f80" { return error.SkipZigTest; } + if (builtin.zig_backend == .stage2_llvm and + (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) + { + // https://github.com/ziglang/zig/issues/16844 + return error.SkipZigTest; + } + + if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { + // https://github.com/ziglang/zig/issues/16846 + return error.SkipZigTest; + } + try testFloorLegacy(f80, 12.0); try comptime testFloorLegacy(f80, 12.0); } @@ -722,6 +734,18 @@ test "@floor f128" { if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_llvm and + (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) + { + // https://github.com/ziglang/zig/issues/16844 + return error.SkipZigTest; + } + + if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isARM()) { + // https://github.com/ziglang/zig/issues/16848 + return error.SkipZigTest; + } + try testFloorLegacy(f128, 12.0); try comptime testFloorLegacy(f128, 12.0); } @@ -807,6 +831,13 @@ test "@ceil f80" { return error.SkipZigTest; } + if (builtin.zig_backend == .stage2_llvm and + (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) + { + // https://github.com/ziglang/zig/issues/16844 + return error.SkipZigTest; + } + try testCeilLegacy(f80, 12.0); try comptime testCeilLegacy(f80, 12.0); } @@ -818,6 +849,13 @@ test "@ceil f128" { if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_llvm and + (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) + { + // https://github.com/ziglang/zig/issues/16844 + return error.SkipZigTest; + } + try testCeilLegacy(f128, 12.0); try comptime testCeilLegacy(f128, 12.0); } @@ -877,6 +915,11 @@ test "another, possibly redundant, @trunc test" { if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { + // https://github.com/ziglang/zig/issues/16846 + return error.SkipZigTest; + } + try testTruncLegacy(f64, 12.0); try comptime testTruncLegacy(f64, 12.0); try testTruncLegacy(f32, 12.0); @@ -919,6 +962,13 @@ test "@trunc f128" { if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_llvm and + (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) + { + // https://github.com/ziglang/zig/issues/16844 + return error.SkipZigTest; + } + try testTruncLegacy(f128, 12.0); try comptime testTruncLegacy(f128, 12.0); } |
