-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Portable SIMD subtree update #151775
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
base: main
Are you sure you want to change the base?
Portable SIMD subtree update #151775
Conversation
…m-portable-simd-2025-01-18
The `#[must_use]` attribute has no effect when applied to methods in trait implementations.
…m-portable-simd-2025-03-19
…3-20 Sync upstream
Fix grammar in beginners-guide.md
Remove usize/isize impls from - `loongarch64.rs` - `wasm32.rs` - `x86.rs`
Remove usize/isize `From` impls for vendor vector types
Add const to `as_mut_array`, `copy_to_slice`
Make `Mask::splat` const
clippy fix: use div_ceil
Fix compilation for AVX512
Update examples to remove features that have been stabilized
This reverts commit 323484c.
Update nightly toolchain and `Cargo.lock`, fix examples broken by stabilized features
loongarch64: Use unified data types for SIMD intrinsics
…on integer bitmasks (rust-lang#482)
…tribute (rust-lang#485) * Remove LaneCount in favor of #[rustc_simd_monomorphize_lane_limit] attribute * Document allowed vector lengths
warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
--> crates/core_simd/src/masks/bitmask.rs:173:5
|
173 | #[must_use = "method returns a new mask and does not mutate the original value"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions
= note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
--> crates/core_simd/src/masks/bitmask.rs:190:5
|
190 | #[must_use = "method returns a new mask and does not mutate the original value"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions
warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
--> crates/core_simd/src/masks/bitmask.rs:206:5
|
206 | #[must_use = "method returns a new mask and does not mutate the original value"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions
warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
--> crates/core_simd/src/masks/bitmask.rs:222:5
|
222 | #[must_use = "method returns a new mask and does not mutate the original value"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions
use `intrinsics::simd::simd_splat`
use `cargo miri nextest` to parallelize miri tests
…01-27 Sync from rust 2026 01 27
|
Portable SIMD is developed in its own repository. If possible, consider making this change to rust-lang/portable-simd instead. |
|
rustbot has assigned @Mark-Simulacrum. Use |
|
|
Maybe we can add this check to the portable SIMD repo to avoid this in the future... I can't fix the commits now in a subtree update. |
This comment has been minimized.
This comment has been minimized.
…m-portable-simd-2026-01-28
ea63684 to
df7dede
Compare
This comment has been minimized.
This comment has been minimized.
df7dede to
db243a5
Compare
This comment has been minimized.
This comment has been minimized.
…nd rename to_int to to_simd)
db243a5 to
b71ff51
Compare
|
The Miri subtree was changed cc @rust-lang/miri |
|
@RalfJung I had to update the miri tests in the last commit to match std::simd. This is fine and will sync back to miri, right? |
cc @folkertdev @programmerjake