File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -495,7 +495,8 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
495495 | sym:: simd_flog
496496 | sym:: simd_flog10
497497 | sym:: simd_flog2
498- | sym:: simd_round => {
498+ | sym:: simd_round
499+ | sym:: simd_round_ties_even => {
499500 intrinsic_args ! ( fx, args => ( a) ; intrinsic) ;
500501
501502 if !a. layout ( ) . ty . is_simd ( ) {
@@ -526,6 +527,8 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
526527 ( sym:: simd_flog2, types:: F64 ) => "log2" ,
527528 ( sym:: simd_round, types:: F32 ) => "roundf" ,
528529 ( sym:: simd_round, types:: F64 ) => "round" ,
530+ ( sym:: simd_round_ties_even, types:: F32 ) => "rintf" ,
531+ ( sym:: simd_round_ties_even, types:: F64 ) => "rint" ,
529532 _ => unreachable ! ( "{:?}" , intrinsic) ,
530533 } ;
531534 fx. lib_call (
You can’t perform that action at this time.
0 commit comments