A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
x64: Fix `has_native_fma` (#11794)
Alex Crichton0ac154bdd065
diff --git a/cranelift/codegen/src/isa/x64/mod.rs b/cranelift/codegen/src/isa/x64/mod.rsindex 2bdb367d77..f40fef58c0 100644--- a/cranelift/codegen/src/isa/x64/mod.rs+++ b/cranelift/codegen/src/isa/x64/mod.rs@@ -177,7 +177,7 @@ impl TargetIsa for X64Backend {}fn has_native_fma(&self) -> bool {- self.x64_flags.has_fma()+ self.x64_flags.has_avx() && self.x64_flags.has_fma()}fn has_round(&self) -> bool {