Skip to content

Commit 74dac5d

Browse files
committed
Fix vfmadd
1 parent c573621 commit 74dac5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/intrinsic/llvm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,8 @@ pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function
595595
"llvm.fshr.v32i16" => "__builtin_ia32_vpshrdv_v32hi",
596596
"llvm.fshr.v16i16" => "__builtin_ia32_vpshrdv_v16hi",
597597
"llvm.fshr.v8i16" => "__builtin_ia32_vpshrdv_v8hi",
598+
"llvm.x86.fma.vfmadd.sd" => "__builtin_ia32_vfmaddsd3",
599+
"llvm.x86.fma.vfmadd.ss" => "__builtin_ia32_vfmaddss3",
598600

599601
// The above doc points to unknown builtins for the following, so override them:
600602
"llvm.x86.avx2.gather.d.d" => "__builtin_ia32_gathersiv4si",

0 commit comments

Comments
 (0)