diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-08-18 02:22:40 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-19 09:37:52 -0700 |
| commit | d65318847ff4f8eb9d6655b27bf769ea94c2c3d7 (patch) | |
| tree | e048c9b992e0703ae1007a7bc634ea176da6b65b /test/behavior/math.zig | |
| parent | 821971106383e6e64e679c4402278399798c76eb (diff) | |
| download | zig-d65318847ff4f8eb9d6655b27bf769ea94c2c3d7.tar.gz zig-d65318847ff4f8eb9d6655b27bf769ea94c2c3d7.zip | |
compiler_rt: fix fp sub being optimized to call itself
Closes #16844
Reduces #16846
Diffstat (limited to 'test/behavior/math.zig')
| -rw-r--r-- | test/behavior/math.zig | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index ddc9978c45..a7aea59e9a 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -1360,13 +1360,6 @@ test "float remainder division using @rem" { if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO - 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 comptime frem(f16); try comptime frem(f32); try comptime frem(f64); @@ -1410,13 +1403,6 @@ test "float modulo division using @mod" { if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_spirv64) 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 comptime fmod(f16); try comptime fmod(f32); try comptime fmod(f64); @@ -1480,13 +1466,6 @@ test "@round f80" { 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 testRound(f80, 12.0); try comptime testRound(f80, 12.0); } @@ -1499,13 +1478,6 @@ test "@round 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 testRound(f128, 12.0); try comptime testRound(f128, 12.0); } |
