Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1982d87
Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-fro…
calebzulawski Jan 18, 2025
02a28b2
Remove ignored `#[must_use]` attributes from portable-simd
samueltardieu Feb 12, 2025
aaf8ff1
Merge commit 'c14f2fc3eb69c164d8bf8d36d91ebd60bd5261e6' into sync-fro…
calebzulawski Mar 19, 2025
0f6f7d1
Merge branch 'rust-upstream-2025-03-20' into sync-from-rust-2025-03-20
calebzulawski Mar 20, 2025
e8b522d
Merge pull request #457 from rust-lang/sync-from-rust-2025-03-20
calebzulawski Mar 22, 2025
cdac23c
Fix grammar in beginners-guide.md
corneliusroemer Apr 7, 2025
6894761
Merge pull request #458 from corneliusroemer/patch-1
programmerjake Apr 7, 2025
6951b68
Remove usize/isize `From` impls for vendor vector types
okaneco Jun 11, 2025
70b1c20
Merge pull request #464 from okaneco/remove_from_usize_impls
calebzulawski Jun 11, 2025
97a3a50
Add const to as_mut_array, copy_to_slice
clarfonthey Jun 12, 2025
7a0cc2f
Merge pull request #465 from clarfonthey/const-mut
calebzulawski Jun 12, 2025
a857909
Make Mask::splat const
clarfonthey Jun 13, 2025
704a1a9
Merge pull request #466 from clarfonthey/const-mask-splat
calebzulawski Jun 13, 2025
b47a091
clippy fix: use div_ceil
hkBst Jul 4, 2025
5a26848
use `div_ceil` instead of manual logic
folkertdev Jul 5, 2025
3439347
Merge pull request #468 from hkBst/div-ceil
calebzulawski Jul 5, 2025
3a0909c
Fix incorrect reference to EMPTY_BIT_MASK
burgerindividual Aug 4, 2025
f560820
Merge pull request #471 from burgerindividual/fix-avx512
calebzulawski Aug 4, 2025
3f01c75
Update nightly toolchain and fix broken examples
okaneco Aug 18, 2025
28e79b1
Update Cargo.lock
okaneco Aug 18, 2025
07e9de0
Remove `i586-pc-windows-msvc` from CI
okaneco Aug 18, 2025
323484c
Add no-extra-rounding-error flag to Miri CI config
okaneco Aug 18, 2025
c43c8d2
Check some float ops approximately
calebzulawski Aug 18, 2025
b902397
Clippy isn't aware of repr(simd, packed)
calebzulawski Aug 18, 2025
1ce33dd
Revert "Add no-extra-rounding-error flag to Miri CI config"
calebzulawski Aug 18, 2025
a645554
Merge pull request #473 from okaneco/array_fix
calebzulawski Aug 18, 2025
61c45c1
loongarch64: Use unified data types for SIMD intrinsics
heiher Aug 8, 2025
295ba3b
Merge pull request #476 from heiher/loong-simd-types
calebzulawski Aug 26, 2025
402c045
docs(std): add missing closing code block fences in doc comments
AudaciousAxiom Sep 2, 2025
1e62d4c
Rename `Mask::to_int` to `Mask::to_simd`
okaneco Sep 5, 2025
42409f0
Rename `Mask::from_int` to `Mask::from_simd`
okaneco Sep 5, 2025
3a70dd6
Rename `Mask::from_int_unchecked` to `Mask::from_simd_unchecked`
okaneco Sep 5, 2025
936d58b
Merge pull request #478 from okaneco/rename_mask_int_to_simd
calebzulawski Sep 5, 2025
32ba8ed
Remove poor-performing bitmasks, add Select trait, and enable select …
calebzulawski Sep 13, 2025
8ce88bc
Remove LaneCount in favor of #[rustc_simd_monomorphize_lane_limit] at…
calebzulawski Oct 7, 2025
061617b
Add alignment parameter to `simd_masked_{load,store}`
sayantn Oct 8, 2025
242b4b5
Remove more #[must_use] from portable-simd
dtolnay Nov 11, 2025
4215b72
removal of aarch64 special-casing (#497)
kolektiv Dec 11, 2025
7b6f82e
use `intrinsics::simd::simd_splat`
folkertdev Jan 26, 2026
e3d85fb
Merge pull request #501 from folkertdev/simd-splat-intrinsic
programmerjake Jan 26, 2026
b3e93fc
use `cargo miri nextest` to parallelize miri tests
folkertdev Jan 26, 2026
808d349
experiment with cargo nextest partitions
folkertdev Jan 26, 2026
d9a7c40
Merge pull request #502 from folkertdev/miri-nextest
programmerjake Jan 27, 2026
b32dd9b
Merge branch 'rust-upstream-2026-01-27' into sync-from-rust-2026-01-27
folkertdev Jan 27, 2026
324e366
remove usage of `stdarch_x86_avx512` which is now stable
folkertdev Jan 27, 2026
d9aae8c
Merge pull request #503 from folkertdev/sync-from-rust-2026-01-27
calebzulawski Jan 28, 2026
0eaef59
Merge commit 'd9aae8cc544c5f524a12b5f3b2f3c3745c34dd74' into sync-fro…
calebzulawski Jan 28, 2026
b71ff51
Update std and tests to match std::simd API (remove LaneCount bound a…
calebzulawski Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4443,7 +4443,6 @@ impl<T> [T] {
where
Simd<T, LANES>: AsRef<[T; LANES]>,
T: simd::SimdElement,
simd::LaneCount<LANES>: simd::SupportedLaneCount,
{
// These are expected to always match, as vector types are laid out like
// arrays per <https://llvm.org/docs/LangRef.html#vector-type>, but we
Expand Down Expand Up @@ -4479,7 +4478,6 @@ impl<T> [T] {
where
Simd<T, LANES>: AsMut<[T; LANES]>,
T: simd::SimdElement,
simd::LaneCount<LANES>: simd::SupportedLaneCount,
{
// These are expected to always match, as vector types are laid out like
// arrays per <https://llvm.org/docs/LangRef.html#vector-type>, but we
Expand Down
23 changes: 13 additions & 10 deletions library/portable-simd/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-msvc, i686-pc-windows-msvc, i586-pc-windows-msvc, x86_64-unknown-linux-gnu]
target: [x86_64-pc-windows-msvc, i686-pc-windows-msvc, x86_64-unknown-linux-gnu]
# `default` means we use the default target config for the target,
# `native` means we run with `-Ctarget-cpu=native`, and anything else is
# an arg to `-Ctarget-feature`
Expand All @@ -68,18 +68,12 @@ jobs:
exclude:
# -Ctarget-cpu=native sounds like bad-news if target != host
- { target: i686-pc-windows-msvc, target_feature: native }
- { target: i586-pc-windows-msvc, target_feature: native }

include:
# Populate the `matrix.os` field
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
- { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: i686-pc-windows-msvc, os: windows-latest }
- { target: i586-pc-windows-msvc, os: windows-latest }

# These are globally available on all the other targets.
- { target: i586-pc-windows-msvc, target_feature: +sse, os: windows-latest }
- { target: i586-pc-windows-msvc, target_feature: +sse2, os: windows-latest }

# Annoyingly, the x86_64-unknown-linux-gnu runner *almost* always has
# avx512vl, but occasionally doesn't. Maybe one day we can enable it.
Expand Down Expand Up @@ -129,7 +123,7 @@ jobs:
run: cargo doc --verbose --target=${{ matrix.target }}
env:
RUSTDOCFLAGS: -Dwarnings

macos-tests:
name: ${{ matrix.target }}
runs-on: macos-latest
Expand Down Expand Up @@ -246,9 +240,18 @@ jobs:

miri:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4]
env:
PROPTEST_CASES: 16
steps:
- uses: actions/checkout@v4
- name: Test (Miri)
run: cargo miri test

- name: Install cargo-nextest
uses: taiki-e/install-action@nextest

- name: Test (Miri) (partition ${{ matrix.shard }}/4)
run: |
cargo miri nextest run --partition count:${{ matrix.shard }}/4
Loading
Loading