-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix _mm_castsi128_pd and _mm_castpd_si128 impls #581
Conversation
The _mm_castX_Y SSE intrinsics are "reinterpreting" casts; LLVM's simd_cast is a "converting" cast. Replace simd_cast with mem::transmute. Fixes #55249
Thanks for this! This looks correct to me, and I'm trying to dig into why CI is failing now. |
Ok the segfault here is not the fault of this PR. I'm looking into pinning CI temoprarily to an older nightly to fix CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Output of `wasm2wat` has changed!
@kazcw if you're extra enterprising, the next step here is to update the |
Likely due to rust-lang/rust#54592 switching the default. If you use lld, it didn't support |
The _mm_castX_Y SSE intrinsics are "reinterpreting" casts; LLVM's
simd_cast is a "converting" cast. Replace simd_casts with mem::transmute.
Fixes rust-lang/rust#55249