Skip to content

Commit 2c93ffb

Browse files
committed
Add SIMD intrinsic
1 parent 42d03f6 commit 2c93ffb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/intrinsic/llvm.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ pub fn adjust_intrinsic_arguments<'a, 'b, 'gcc, 'tcx>(
294294
}
295295
"__builtin_ia32_vfmaddsubps512_mask"
296296
| "__builtin_ia32_vfmaddsubpd512_mask"
297-
| "__builtin_ia32_cmpsh_mask_round" => {
297+
| "__builtin_ia32_cmpsh_mask_round"
298+
| "__builtin_ia32_vfmaddph512_mask" => {
298299
let mut new_args = args.to_vec();
299300
let last_arg = new_args.pop().expect("last arg");
300301
let arg4_type = gcc_func.get_param_type(3);
@@ -1131,6 +1132,7 @@ pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function
11311132
"llvm.x86.avx512fp16.maskz.vfcmadd.cph.512" => "__builtin_ia32_vfcmaddcph512_maskz_round",
11321133
"llvm.x86.avx512fp16.mask.vfcmadd.csh" => "__builtin_ia32_vfcmaddcsh_mask_round",
11331134
"llvm.x86.avx512fp16.maskz.vfcmadd.csh" => "__builtin_ia32_vfcmaddcsh_maskz_round",
1135+
"llvm.x86.avx512fp16.vfmadd.ph.512" => "__builtin_ia32_vfmaddph512_mask",
11341136

11351137
// TODO: support the tile builtins:
11361138
"llvm.x86.ldtilecfg" => "__builtin_trap",

0 commit comments

Comments
 (0)