You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other operations work fine: I tested Add, BitAnd, BitOr, BitXor, Div, Mul, Rem, Sub. Shl/Shr were the only ones to cause a crash. They worked on SIMD types as of about 3 months ago and the latest documentation claims they're supported.
When overflow checking on `<<` and `>>` was added for integers, the `<<` and `>>` operations broke for SIMD types (`u32x4`, `i16x8`, etc.). This PR implements checked shifts on SIMD types.
Fixes#24258.
Minimal test case:
rustc output:
Other operations work fine: I tested
Add
,BitAnd
,BitOr
,BitXor
,Div
,Mul
,Rem
,Sub
.Shl
/Shr
were the only ones to cause a crash. They worked on SIMD types as of about 3 months ago and the latest documentation claims they're supported.rustc version:
The text was updated successfully, but these errors were encountered: