From fbe5bf469e17ffd57b34762fd0206587f5758a52 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sat, 30 Sep 2023 22:11:51 -0400 Subject: x86_64: implement float arithmetic builtins --- test/behavior/math.zig | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/behavior/math.zig') 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); -- cgit v1.2.3