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>(
495
495
| sym:: simd_flog
496
496
| sym:: simd_flog10
497
497
| sym:: simd_flog2
498
- | sym:: simd_round => {
498
+ | sym:: simd_round
499
+ | sym:: simd_round_ties_even => {
499
500
intrinsic_args ! ( fx, args => ( a) ; intrinsic) ;
500
501
501
502
if !a. layout ( ) . ty . is_simd ( ) {
@@ -526,6 +527,8 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
526
527
( sym:: simd_flog2, types:: F64 ) => "log2" ,
527
528
( sym:: simd_round, types:: F32 ) => "roundf" ,
528
529
( sym:: simd_round, types:: F64 ) => "round" ,
530
+ ( sym:: simd_round_ties_even, types:: F32 ) => "rintf" ,
531
+ ( sym:: simd_round_ties_even, types:: F64 ) => "rint" ,
529
532
_ => unreachable ! ( "{:?}" , intrinsic) ,
530
533
} ;
531
534
fx. lib_call (
You can’t perform that action at this time.
0 commit comments