cbe: skip std.math.lerp test that fails when compiler_rt fma is used

This commit is contained in:
kcbanner 2023-11-05 20:34:05 -05:00
parent a4526d260b
commit 8c0e0cd353

View File

@ -1265,6 +1265,7 @@ pub fn lerp(a: anytype, b: anytype, t: anytype) @TypeOf(a, b, t) {
}
test "lerp" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/17884
if (builtin.zig_backend == .stage2_x86_64 and
!comptime std.Target.x86.featureSetHas(builtin.cpu.features, .fma)) return error.SkipZigTest;