diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-09-30 22:11:51 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-01 15:09:52 -0400 |
| commit | fbe5bf469e17ffd57b34762fd0206587f5758a52 (patch) | |
| tree | e657e3c79c1e9ea76daa7d388bdd55340ebc6d7d /test/behavior/math.zig | |
| parent | 1eb023908d50e601f68f2200c3cf126ca3035167 (diff) | |
| download | zig-fbe5bf469e17ffd57b34762fd0206587f5758a52.tar.gz zig-fbe5bf469e17ffd57b34762fd0206587f5758a52.zip | |
x86_64: implement float arithmetic builtins
Diffstat (limited to 'test/behavior/math.zig')
| -rw-r--r-- | test/behavior/math.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index 801aa2aeaa..91ba47e329 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -7,8 +7,6 @@ const maxInt = std.math.maxInt; const minInt = std.math.minInt; const mem = std.mem; const math = std.math; -const no_x86_64_hardware_f16_support = builtin.zig_backend == .stage2_x86_64 and - !std.Target.x86.featureSetHas(builtin.cpu.features, .f16c); test "assignment operators" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO @@ -1444,7 +1442,6 @@ test "@round f16" { if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf) return error.SkipZigTest; - if (no_x86_64_hardware_f16_support) return error.SkipZigTest; // TODO try testRound(f16, 12.0); try comptime testRound(f16, 12.0); |
