-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
allow array-style simd in inline asm #110672
allow array-style simd in inline asm #110672
Conversation
Good find! And a great example of why there should be only one way to do things, so we can't miss places like this 🙂 |
9f5d89c
to
9dbc5db
Compare
I am aware that some of my review, if followed-through on, may wind up with code that "ends up in the same place". My reasoning is that neither you nor me are the people doing the most twiddling with our inline assembly implementation, so I think it is best if this code remains as similar to how it was as possible, even if I think the factored-out function is otherwise a good improvement and essential for this change. |
709793c
to
61ffb1d
Compare
Fair enough, I've updated the PR to align with that. Also I've moved the test to the |
This comment has been minimized.
This comment has been minimized.
61ffb1d
to
8534183
Compare
This is a backwards-compatible change that purely adds new permitted behavior for unstable types and features. I have run the test suite and it Works On My Machine™. @bors r+ rollup |
…e-asm, r=workingjubilee allow array-style simd in inline asm Required for [MCP#621](rust-lang/compiler-team#621) to be implemented. r? `@workingjubilee`
@bors r- rollup=iffy |
I've added the |
8534183
to
bce9b39
Compare
I think we have shorter ways of making a test x86-only, don't we? |
bce9b39
to
d31e8a4
Compare
@scottmcm I've changed the UI test headers, CI passing.
|
I'd say "I should probably have caught that" except... yes, compiletest headers are many and confounding, sometimes. |
@bors r+ |
Opened an issue for handling this better in the test suite or tidy checks: #110751 |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b72460f): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
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.
CyclesResultsThis 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.
|
Cranelift-codegen and keccak are known to exhibit bimodality. |
Required for MCP#621 to be implemented.
r? @workingjubilee