Skip to content

stdarch subtree update#159517

Merged
rust-bors[bot] merged 26 commits into
rust-lang:mainfrom
folkertdev:stdarch-sync-2026-07-18
Jul 19, 2026
Merged

stdarch subtree update#159517
rust-bors[bot] merged 26 commits into
rust-lang:mainfrom
folkertdev:stdarch-sync-2026-07-18

Conversation

@folkertdev

Copy link
Copy Markdown
Contributor

Subtree update of stdarch to rust-lang/stdarch@50afa9f.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost

RalfJung and others added 26 commits June 27, 2026 19:09
The `is::`, `cs::`, and `ls::` prefixes were originally used to clearly
distinguish helper intrinsics from different namespaces at call sites.

However, due to limitations in Rust macro expansion, `prefix::simd_xxx`
cannot always be used. Some macro expansions only accept an identifier,
causing errors such as:

```
  ($ft:literal, $name:ident, $op:path, $oty:ty, $ity:ident) => {
      let r: $ity = $op::<IMM, _>(a);
                       ^^ expected one of `.`, `;`, `?`, `else`, or an operator
```

Instead of relying on namespace prefixes, rename the LoongArch-specific
`simd_xxx` helpers to `simd_ext_xxx` and remove the `is::`, `cs::`, and
`ls::` prefixes from macro invocations. This preserves the distinction
between helper intrinsics while avoiding the macro expansion limitation.
loongarch: Rename SIMD helper intrinsics to avoid macro path issues
Port stdarch-gen-loongarch to stdarch-gen-common harness
document differences from pure hardware behavior
loongarch: Use `intrinsics::simd` for vldi
This updates the rust-version file to fcbe791.
loongarch: Use `intrinsics::simd` for vbs{l,r}l
…-quad

for sse4a functions compare only the lower quadword
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jul 18, 2026
@folkertdev
folkertdev marked this pull request as ready for review July 18, 2026 15:28
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 18, 2026
@rustbot

rustbot commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

stdarch is developed in its own repository. If possible, consider making this change to rust-lang/stdarch instead.

cc @Amanieu, @sayantn

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jul 18, 2026
@folkertdev

Copy link
Copy Markdown
Contributor Author

@bors r+ p=1

@rust-bors

rust-bors Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 313254e has been approved by folkertdev

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 18, 2026
rust-bors Bot pushed a commit that referenced this pull request Jul 18, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #159517 (stdarch subtree update)
 - #159010 (Simplify the unwind crate)
 - #156650 (Stop using prefix_tys)
 - #159152 (triagebot: cc miri on any special-casing of miri in the standard library)
 - #159522 (Apply `#[diagnostic::opaque]` to macros expanding to built-in syntax)
 - #159528 (implement `const_binary_search`)
@rust-bors
rust-bors Bot merged commit d4e67d1 into rust-lang:main Jul 19, 2026
13 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Jul 19, 2026
rust-timer added a commit that referenced this pull request Jul 19, 2026
Rollup merge of #159517 - folkertdev:stdarch-sync-2026-07-18, r=folkertdev

stdarch subtree update

Subtree update of `stdarch` to rust-lang/stdarch@50afa9f.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost
pull Bot pushed a commit to LeeeeeeM/miri that referenced this pull request Jul 19, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#159517 (stdarch subtree update)
 - rust-lang/rust#159010 (Simplify the unwind crate)
 - rust-lang/rust#156650 (Stop using prefix_tys)
 - rust-lang/rust#159152 (triagebot: cc miri on any special-casing of miri in the standard library)
 - rust-lang/rust#159522 (Apply `#[diagnostic::opaque]` to macros expanding to built-in syntax)
 - rust-lang/rust#159528 (implement `const_binary_search`)
@folkertdev folkertdev mentioned this pull request Jul 19, 2026
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants