Skip to content

Rollup of 4 pull requests#155170

Open
JonathanBrouwer wants to merge 29 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-9OwCjU5
Open

Rollup of 4 pull requests#155170
JonathanBrouwer wants to merge 29 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-9OwCjU5

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

Urgau and others added 29 commits January 29, 2026 18:27
Add `Select` and `ToBytes` to prelude
…r-default

docs(simd): fix `load_select_or_default` documentation
- beginners-guide.md: fix missing letter ("within you" → "within your")
- .github/PULL_REQUEST_TEMPLATE.md: remove duplicate word ("tests for test interactions" → "tests for interactions")
Adds `round_ties_even` using `simd_round_ties_even` intrinsic, matching
the scalar `f32::round_ties_even` / `f64::round_ties_even` API.

Closes rust-lang/portable-simd#390
Add exhuastive tests for `Mask::first_set` for all masks of size 8.
Apply two optimizations to `Mask::first_set`:

1) Move the call to `simd_cast` into the `const` block when initializing
   `index`. This removes runtime shuffles necessary to translate a
   `Simd<usize, N>` to a `Simd<T, N>`.

2) Replace the call to `mask.select` with `simd_or(!self, index)`. This
   is cheaper than doing a comparison and on some architectures the `or`
   can be combined with the `not` into a single instruction.

See https://godbolt.org/z/YebG6aoMY for an example of the difference in
generated assembly.
update `proptest` from `0.10` to `1.0`
bump toolchain to `nightly-2026-03-18`
* Add support for Hexagon HVX

Add vendor module and tests for Qualcomm Hexagon HVX (Hexagon Vector
eXtension) SIMD support. HVX provides wide vector operations in either
64-byte (512-bit) or 128-byte (1024-bit) mode.

Note: u8x128/i8x128 types are not included because portable-simd
currently limits lane count to 64 (bitmask operations use u64).
In 128-byte HVX mode, u8x64 maps to a half-vector (512-bit).

* fixup! Add support for Hexagon HVX

fixup! Add support for Hexagon HVX

Address reviewer feedback:
- Remove hexagon_hvx test file (existing tests suffice with -C flags)
- Move HvxVector imports into their respective cfg modules
- Change u8x128/i8x128 comment to FIXME for discoverability
* remove time assertion on SystemTime
* skip test only if when a time change occurs
* Add `f16` vector support

* run `cargo update`

* disable `f16` tests on wasm32 with simd128

llvm hangs in that case, see llvm/llvm-project#189251

* Add reference to LLVM issue causing f16 wasm ICE

---------

Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
…ark-Simulacrum

Initial functions to start on transmute v2

For context, see rust-lang/rfcs#3844 and rust-lang/libs-team#772

*Experimental* still, tracked under rust-lang#155079

This is just library functions.  A future PR will do compiler changes for things like lints.
…=Urgau

add `cfg(target_object_format = "...")`

tracking issue: rust-lang#152586

I'm implementing the predicate as `target_object_format`, because that's what is useful to me (for testing `#[link_section = "..."]` where `mach-o` has some extra restrictions) and maps cleanly to the `BinaryFormat` enum that is used internally. There is still room for a future `target_executable_format` when there is a use case.

cc @joshtriplett as the lang sponsor of this feature, @workingjubilee as the author of the proposal.

r? JonathanBrouwer a sidequest from the sidequest that is rust-lang#155065
…-2026-04-11, r=folkertdev

Portable SIMD subtree update

Let's see if this works (we might need a sync the other way first)
…-Simulacrum

fix spurious test failure in `metadata_access_times`

Fixes rust-lang#148408

The metadata_access_times test checks if the creation of a file occurs before another file, this check happens only on Linux. While on Win and Macos we check only that the created metadata is available. Given that the SystemTime is non monotonic as Instant this test could result in failures when the system clock changes.
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Apr 11, 2026
@rustbot rustbot added A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 11, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 11, 2026

📌 Commit 22eb361 has been approved by JonathanBrouwer

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 Apr 11, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 11, 2026

⌛ Trying commit 22eb361 with merge e347318

To cancel the try build, run the command @bors try cancel.

Workflow: https://github.com/rust-lang/rust/actions/runs/24290877675

rust-bors bot pushed a commit that referenced this pull request Apr 11, 2026
Rollup of 4 pull requests


try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.