Skip to content

Commit 093b99f

Browse files
committed
Auto merge of #143183 - GuillaumeGomez:rollup-g60lr91, r=GuillaumeGomez
Rollup of 4 pull requests Successful merges: - rust-lang/rust#142078 (Add SIMD funnel shift and round-to-even intrinsics) - rust-lang/rust#142214 (`tests/ui`: A New Order [9/N]) - rust-lang/rust#142417 (`tests/ui`: A New Order [12/N]) - rust-lang/rust#143030 (Fix suggestion spans inside macros for the `unused_must_use` lint) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 074b883 + 98ac452 commit 093b99f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/intrinsic/simd.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(
780780
sym::simd_fsin => "sin",
781781
sym::simd_fsqrt => "sqrt",
782782
sym::simd_round => "round",
783+
sym::simd_round_ties_even => "rint",
783784
sym::simd_trunc => "trunc",
784785
_ => return_error!(InvalidMonomorphization::UnrecognizedIntrinsic { span, name }),
785786
};
@@ -827,6 +828,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(
827828
| sym::simd_fsin
828829
| sym::simd_fsqrt
829830
| sym::simd_round
831+
| sym::simd_round_ties_even
830832
| sym::simd_trunc
831833
) {
832834
return simd_simple_float_intrinsic(name, in_elem, in_ty, in_len, bx, span, args);

0 commit comments

Comments
 (0)