Uh oh!
There was an error while loading. Please reload this page.
Implement Integer funnel shifts - #145690
Conversation
rustbot
commented
Aug 20, 2025
rustbot
commented
Aug 20, 2025
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tgross35
commented
Aug 21, 2025
I see there is a tracking issue, but not an ACP for this. Could you create one? It's an issue template at https://github.com/rust-lang/libs-team/issues. |
Uh oh!
There was an error while loading. Please reload this page.
81da1f2 to
b91850bComparerustbot
commented
Aug 22, 2025
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. |
This comment has been minimized.
This comment has been minimized.
b91850b to
400a29dCompare
This comment has been minimized.
This comment has been minimized.
400a29d to
23601d2Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rustbot
commented
Aug 24, 2025
Some changes occurred in compiler/rustc_codegen_gcc Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 |
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5f4c412 to
63fde15CompareThere was a problem hiding this comment.
Just a few tiny requests from me then I think this looks good, as long as @RalfJung doesn't have anything else.
Per usual, please squash. You can also (optionally) drop the CABs from the commit messages assuming they come from the GH suggestion, as typically review feedback is given without need for authorship attribution - bit misleading that GH adds these automatically for what are usually typo fixes (unless @folkertdev authored more of this patch then I'm realizing 🙂)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
sayantn
commented
Sep 3, 2025
@folkertdev did author a significant part of the patches, including the tests and (although removed now) gcc, clif and const-eval implementations. Also, is a squash really needed, I believe the current commit structure is helpful for reviewers as it clearly separates the different objectives (libs impl, cg_llvm and tests) |
I didn't have this context, makes sense 👍 thanks for including in that case
If it's not a big number of tests then it's always good to have them in the same commit as whatever enables / fixes them, so you can look at a single point in history and see "x changed and produced y visible results" (tests are already separated enough by file/directory). So ideally I'd suggest reordering from current commits But we don't have strict history requirements, so I ofc won't insist on that. At a minimum though, please update the commit message "Add tests" to at least specify what tests; that's never the most insightful message to see in the log :) |
sayantn
commented
Sep 3, 2025
Makes sense, I'd just squash the commits (lazy lol) |
- Add a fallback implementation for the intrinsics - Add LLVM backend support for funnel shifts Co-Authored-By: folkertdev <folkert@folkertdev.nl>
c1260ef to
62b4347Comparesayantn
commented
Sep 4, 2025
@bors r=tgross35 |
bors
commented
Sep 4, 2025
…ross35 Implement Integer funnel shifts Tracking issue: rust-lang#145686 ACP: rust-lang/libs-team#642 This implements funnel shifts on primitive integer types. Implements this for cg_llvm, with a fallback impl for everything else Thanks ``@folkertdev`` for the fixes and tests cc ``@rust-lang/libs-api``
Rollup of 5 pull requests Successful merges: - #145682 (Promote aarch64-pc-windows-msvc to Tier 1) - #145690 (Implement Integer funnel shifts) - #146119 (compiletest: Implement an experimental `--new-output-capture` mode) - #146168 (Update bootstrap's dependencies to remove winapi and old windows-sys) - #146182 (Don't require next-solver `ProbeRef` to be `Copy`) r? `@ghost` `@rustbot` modify labels: rollup
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #145690 - sayantn:integer-funnel-shift, r=tgross35 Implement Integer funnel shifts Tracking issue: #145686 ACP: rust-lang/libs-team#642 This implements funnel shifts on primitive integer types. Implements this for cg_llvm, with a fallback impl for everything else Thanks `@folkertdev` for the fixes and tests cc `@rust-lang/libs-api`
bors
commented
Sep 4, 2025
tgross35
commented
Sep 4, 2025
@bors r- |
Rollup of 5 pull requests Successful merges: - rust-lang/rust#145682 (Promote aarch64-pc-windows-msvc to Tier 1) - rust-lang/rust#145690 (Implement Integer funnel shifts) - rust-lang/rust#146119 (compiletest: Implement an experimental `--new-output-capture` mode) - rust-lang/rust#146168 (Update bootstrap's dependencies to remove winapi and old windows-sys) - rust-lang/rust#146182 (Don't require next-solver `ProbeRef` to be `Copy`) r? `@ghost` `@rustbot` modify labels: rollup
Zalathar
commented
Sep 5, 2025
Bors, please, it's already merged. @bors r- retry |
…ross35 Implement Integer funnel shifts Tracking issue: rust-lang#145686 ACP: rust-lang/libs-team#642 This implements funnel shifts on primitive integer types. Implements this for cg_llvm, with a fallback impl for everything else Thanks `@folkertdev` for the fixes and tests cc `@rust-lang/libs-api`
Tracking issue: #145686
ACP: rust-lang/libs-team#642
This implements funnel shifts on primitive integer types. Implements this for cg_llvm, with a fallback impl for everything else
Thanks @folkertdev for the fixes and tests
cc @rust-lang/libs-api