Repository navigation
Rollup of 10 pull requests - #166076
Closed
JonathanBrouwer wants to merge 80 commits into
Closed
Rollup of 10 pull requests#166076JonathanBrouwer wants to merge 80 commits into
JonathanBrouwer wants to merge 80 commits into
Conversation
…g-interpolation Add `$` to bash string interpolation
…-address amdgpu: document that ds_permute/ds_bpermute take a byte address
Also exposes the 32-bit intrinsics that are supported on RV64 in riscv_shared
Make RISC-V bit manipulation intrinsics match C API
Remove `rustc_legacy_const_generics` from unstable intrinsics
The crate is now on Rust 2024 so `rust_2018_idioms` isn't relevant.
Looking for TARGET in proc macros is a bit of a hack: we have to parse it ourselves and it's not set by Cargo (as I understand it, proc macro output is supposed to be target-agnostic). Address this by moving logic based on `TARGET` into `cfg` that gets emitted as part of quoting. Also a bit of other cleanup. This fixes `macro_test` detection for a handful of targets (e.g. armv5te- or mipsisa64r6el- prefixes), not that those were likely to get run anyway.
simd-test: Handle target-specific behavior within generated code
…eon-bf16-intrinsics Arm NEON bf16 intrinsics
assert_instr: add support for stricter tests
This matches LLVM
```
class SRLI_B_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.b", srl, vsplati8_uimm3,
MSA128BOpnd>;
class SRLI_H_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.h", srl, vsplati16_uimm4,
MSA128HOpnd>;
class SRLI_W_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.w", srl, vsplati32_uimm5,
MSA128WOpnd>;
class SRLI_D_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.d", srl, vsplati64_uimm6,
MSA128DOpnd>;
```
I suspect the old code mistakenly matched these variants
```
class SRLRI_B_DESC : MSA_BIT_X_DESC_BASE<"srlri.b", int_mips_srlri_b, uimm3,
timmZExt3, MSA128BOpnd>;
class SRLRI_H_DESC : MSA_BIT_X_DESC_BASE<"srlri.h", int_mips_srlri_h, uimm4,
timmZExt4, MSA128HOpnd>;
class SRLRI_W_DESC : MSA_BIT_X_DESC_BASE<"srlri.w", int_mips_srlri_w, uimm5,
timmZExt5, MSA128WOpnd>;
class SRLRI_D_DESC : MSA_BIT_X_DESC_BASE<"srlri.d", int_mips_srlri_d, uimm6,
timmZExt6, MSA128DOpnd>;
```
the all-bits-set input is optimized in a way that defeats the tests, so use a non-trivial input
…=RalfJung rustc_target: Require altivec feature for ELFv2 powerpc64 targets The ELFv2 ABI requires vector registers for passing certain types like vectors, the IEEE binary128 type and any future 16-byte aligned types. While all our targets that use the ELFv2 ABI have a baseline that already includes AltiVec (and therefore vector registers), we also shouldn't allow disabling the target feature. Add it to the list of ABI required features. r? RalfJung
…-diagnostic, r=JonathanBrouwer Duplicate attribute diagnostic cleanups Currently there are two different diagnostics for when you can't have a duplicate attribute on an item, `UnusedDuplicate` and `UnusedMultiple`. This PR deduplicates their behavior into `UnusedMultiple`. In a separate commit, it renames `UnusedMultiple` to `DuplicateAttribute`, a more sensible name. Separately, the third commit fixes a small issue where diagnostics about attributes would be printed with `..` as a path separator instead of `::` Thanks to Jonathan Brouwer for the suggestion to work on this! r? @JonathanBrouwer
…seZ4 Update TPDE submodule This updates the TPDE submodule to commit rust-lang/tpde@efe4cc7. It adds support for a lot more LLVM intrinsics, which combined enable 95 of the top 1000 most downloaded crates to start compiling with TPDE only and not using the LLVM fallback. r? @ZuseZ4
…ref-impls, r=Urgau rustdoc: Correctly filter deref impls on type aliases Follow-up of rust-lang#163571. The bug was actually that I used the wrong `Type` for the filtering. r? @Urgau
…my-code, r=clarfonthey Fix bad hyperlink Make it so `x doc library` doesn't fail due to a "this hyperlink is cringe" warning
Update books ## rust-lang/reference 4 commits in a2ae66d7037cbedac68746b9510b24cc34b96d69..bcd62f35e8bf480ec5b0fa569b6d12ea5924030c 2026-11-10 19:28:09 UTC to 2026-11-10 19:14:30 UTC - Explicitly mention float rounding mode and exception behavior assumption (rust-lang/reference#2387) - Update docs for inline_always + target_feature (rust-lang/reference#2391) - `asm.options.global_asm-restriction`: show error output (rust-lang/reference#2395) - Document the WebAssembly `wide-arithmetic` target feature (rust-lang/reference#2324)
Member
Author
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 16, 2026
Rollup of 10 pull requests try-job: dist-various-1 try-job: dist-various-2 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
|
PR #166054, which is a member of this rollup, was unapproved. This rollup was thus unapproved. |
Contributor
|
💔 Test for 2d0be21 failed: CI. Failed jobs:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
c_str_alloc_error#165960 (alloctests: use thread-local inc_str_alloc_error)r? @ghost
Create a similar rollup