-
Notifications
You must be signed in to change notification settings - Fork 13.4k
miri: reduce code duplication in some SSE/SSE2 intrinsics #115827
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
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri The Miri subtree was changed cc @rust-lang/miri |
LGTM. :) Please squash, then we can land this (if CI is green). |
Not really a saving in terms of lines of code, but at least the logic is de-duplicated
I squashed the fixups. Would you rather have everything squashed together? |
No, seems fine, thanks! |
✌️ @eduardosm, you can now approve this pull request! If @RalfJung told you to " |
…r=RalfJung miri: reduce code duplication in some SSE/SSE2 intrinsics Reduces code duplication in the Miri implementation of some SSE and SSE2 using generics and rustc_const_eval helper functions. There are also some other minor changes. r? `@RalfJung`
💔 Test failed - checks-actions |
@bors retry failed to download from |
☀️ Test successful - checks-actions |
Finished benchmarking commit (78e74d9): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 632.622s -> 630.97s (-0.26%) |
Reduces code duplication in the Miri implementation of some SSE and SSE2 using generics and rustc_const_eval helper functions.
There are also some other minor changes.
r? @RalfJung