aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorkcbanner <kcbanner@gmail.com>2023-01-26 00:45:40 -0500
committerAndrew Kelley <andrew@ziglang.org>2023-01-29 15:04:13 -0500
commita9b68308b9eeb494524e2b7ab0d63cfa6b623cd0 (patch)
tree0c6de0921db3a4f661be1d07415cb7a264234aa1 /test/behavior/math.zig
parent9177e0da4f8e3480f5a7fade6c42f2ec81f5ffd5 (diff)
downloadzig-a9b68308b9eeb494524e2b7ab0d63cfa6b623cd0.tar.gz
zig-a9b68308b9eeb494524e2b7ab0d63cfa6b623cd0.zip
cbe: fixes for tls, support for not linking libc, and enabling tests
- cbe: Implement linksection support, to support TLS when not linking libc - cbe: Support under-aligned variables / struct fields - cbe: Support packed structs (in the C definition of packed) - windows: Fix regression with x86 _tls_array - compiler_rt: Add 128-bit atomics to compiler_rt - tests: Re-enable threadlocal tests on cbe+windows, and llvm+x86 - tests: Re-enable f80 tests that now pass - ci: change windows ci to run the CBE behaviour tests with -lc, to match how the compiler is bootstrapped - update zig1.wasm
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 2257a116b7..c5e36da383 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -1332,7 +1332,6 @@ test "float remainder division using @rem" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_llvm and builtin.os.tag == .windows) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/12602
comptime try frem(f16);
comptime try frem(f32);
@@ -1375,7 +1374,6 @@ test "float modulo division using @mod" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_llvm and builtin.os.tag == .windows) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/12602
comptime try fmod(f16);
comptime try fmod(f32);
@@ -1438,7 +1436,6 @@ test "@round f80" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_llvm and builtin.os.tag == .windows) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/12602
try testRound(f80, 12.0);
comptime try testRound(f80, 12.0);