-
Notifications
You must be signed in to change notification settings - Fork 402
Remove implementation of LLVM SIMD intrinsics that are not needed anymore #4667
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
Conversation
|
Thank you for contributing to Miri! |
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.
src/shims/x86/avx2.rs
Outdated
| let [left, right] = | ||
| this.check_shim_sig_lenient(abi, CanonAbi::C, link_name, args)?; | ||
|
|
||
| let (which, saturating) = match unprefixed_name { |
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.
saturating is always true now.
src/shims/x86/ssse3.rs
Outdated
| let [left, right] = | ||
| this.check_shim_sig_lenient(abi, CanonAbi::C, link_name, args)?; | ||
|
|
||
| let (which, saturating) = match unprefixed_name { |
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.
Same here, saturating is always true now.
This comment has been minimized.
This comment has been minimized.
885a2ac to
53cd5f3
Compare
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
By looking at the diff of rust-lang/stdarch#1928 and rust-lang/stdarch#1932 @rustbot ready |
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.
to better match our usual style
src/shims/x86/ssse3.rs
Outdated
| }; | ||
|
|
||
| horizontal_bin_op(this, which, saturating, left, right, dest)?; | ||
| horizontal_bin_op(this, which, true /*saturating*/, left, right, dest)?; |
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.
| horizontal_bin_op(this, which, true /*saturating*/, left, right, dest)?; | |
| horizontal_bin_op(this, which, /*saturating*/ true, left, right, dest)?; |
src/shims/x86/avx2.rs
Outdated
| }; | ||
|
|
||
| horizontal_bin_op(this, which, saturating, left, right, dest)?; | ||
| horizontal_bin_op(this, which, true /*saturating*/, left, right, dest)?; |
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.
| horizontal_bin_op(this, which, true /*saturating*/, left, right, dest)?; | |
| horizontal_bin_op(this, which, /*saturating*/ true, left, right, dest)?; |
53cd5f3 to
57ad024
Compare
|
Thanks a lot! |
Fixes #4659