diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2022-10-08 15:05:23 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2022-10-08 15:05:23 -0400 |
| commit | 74dac5d970fa3f5c070d7d656622068cadfb0feb (patch) | |
| tree | bdc36d3ddd02fc654b0af8388d38222005f937d9 | |
| parent | c5736218121542d6fedfe027c6438b8b80cf5a6f (diff) | |
| download | rust-74dac5d970fa3f5c070d7d656622068cadfb0feb.tar.gz rust-74dac5d970fa3f5c070d7d656622068cadfb0feb.zip | |
Fix vfmadd
| -rw-r--r-- | src/intrinsic/llvm.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intrinsic/llvm.rs b/src/intrinsic/llvm.rs index 3de018abf2e..621ef328a8c 100644 --- a/src/intrinsic/llvm.rs +++ b/src/intrinsic/llvm.rs @@ -595,6 +595,8 @@ pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function "llvm.fshr.v32i16" => "__builtin_ia32_vpshrdv_v32hi", "llvm.fshr.v16i16" => "__builtin_ia32_vpshrdv_v16hi", "llvm.fshr.v8i16" => "__builtin_ia32_vpshrdv_v8hi", + "llvm.x86.fma.vfmadd.sd" => "__builtin_ia32_vfmaddsd3", + "llvm.x86.fma.vfmadd.ss" => "__builtin_ia32_vfmaddss3", // The above doc points to unknown builtins for the following, so override them: "llvm.x86.avx2.gather.d.d" => "__builtin_ia32_gathersiv4si", |
