Commit graph

826 commits

Author SHA1 Message Date
Caleb Zulawski
d9aae8cc54
Merge pull request #503 from folkertdev/sync-from-rust-2026-01-27
Sync from rust 2026 01 27
2026-01-27 23:34:46 -05:00
Folkert de Vries
324e366b68
remove usage of stdarch_x86_avx512 which is now stable 2026-01-28 00:58:05 +01:00
Folkert de Vries
b32dd9bcec
Merge branch 'rust-upstream-2026-01-27' into sync-from-rust-2026-01-27 2026-01-28 00:52:47 +01:00
Jacob Lifshay
d9a7c40fa0
Merge pull request #502 from folkertdev/miri-nextest
use `cargo miri nextest` to parallelize miri tests
2026-01-26 19:13:43 -08:00
Folkert de Vries
808d349fff
experiment with cargo nextest partitions 2026-01-27 00:18:16 +01:00
Folkert de Vries
b3e93fc242
use cargo miri nextest to parallelize miri tests 2026-01-27 00:16:01 +01:00
Jacob Lifshay
e3d85fb0ad
Merge pull request #501 from folkertdev/simd-splat-intrinsic
use `intrinsics::simd::simd_splat`
2026-01-26 13:22:58 -08:00
Folkert de Vries
7b6f82eea6
use intrinsics::simd::simd_splat 2026-01-26 20:46:40 +01:00
Andrew Cherry
4215b7228d
removal of aarch64 special-casing (#497) 2025-12-11 08:58:40 -05:00
David Tolnay
242b4b5dc9 Remove more #[must_use] from portable-simd
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
2025-11-11 13:27:04 -08:00
sayantn
061617bdbc Add alignment parameter to simd_masked_{load,store} 2025-11-04 02:30:59 +05:30
Caleb Zulawski
8ce88bcb50
Remove LaneCount in favor of #[rustc_simd_monomorphize_lane_limit] attribute (#485)
* Remove LaneCount in favor of #[rustc_simd_monomorphize_lane_limit] attribute

* Document allowed vector lengths
2025-10-07 10:16:49 -04:00
Caleb Zulawski
32ba8edf03
Remove poor-performing bitmasks, add Select trait, and enable select on integer bitmasks (#482) 2025-09-12 22:03:51 -04:00
Caleb Zulawski
936d58b521
Merge pull request #478 from okaneco/rename_mask_int_to_simd
Rename `int` to `simd` in `Mask` functions
2025-09-05 17:53:19 -04:00
okaneco
3a70dd6a69 Rename Mask::from_int_unchecked to Mask::from_simd_unchecked 2025-09-05 14:32:40 -04:00
okaneco
42409f05bf Rename Mask::from_int to Mask::from_simd 2025-09-05 14:30:44 -04:00
okaneco
1e62d4c87c Rename Mask::to_int to Mask::to_simd 2025-09-05 14:29:26 -04:00
AudaciousAxiom
402c045f7a docs(std): add missing closing code block fences in doc comments 2025-09-02 22:11:29 +02:00
Caleb Zulawski
295ba3b45c
Merge pull request #476 from heiher/loong-simd-types
loongarch64: Use unified data types for SIMD intrinsics
2025-08-26 17:07:13 -04:00
WANG Rui
61c45c164a loongarch64: Use unified data types for SIMD intrinsics 2025-08-26 22:27:18 +08:00
Caleb Zulawski
a645554d19
Merge pull request #473 from okaneco/array_fix
Update nightly toolchain and `Cargo.lock`, fix examples broken by stabilized features
2025-08-18 09:51:34 -04:00
Caleb Zulawski
1ce33dd37d Revert "Add no-extra-rounding-error flag to Miri CI config"
This reverts commit 323484c827.
2025-08-18 01:37:12 -04:00
Caleb Zulawski
b902397bc2 Clippy isn't aware of repr(simd, packed) 2025-08-18 01:37:12 -04:00
Caleb Zulawski
c43c8d25a8 Check some float ops approximately 2025-08-18 01:37:12 -04:00
okaneco
323484c827 Add no-extra-rounding-error flag to Miri CI config 2025-08-18 01:18:46 -04:00
okaneco
07e9de0f6d Remove i586-pc-windows-msvc from CI 2025-08-17 21:46:26 -04:00
okaneco
28e79b1433 Update Cargo.lock 2025-08-17 21:42:22 -04:00
okaneco
3f01c753fd Update nightly toolchain and fix broken examples
Update examples to remove features that have been stabilized
2025-08-17 20:54:14 -04:00
Caleb Zulawski
f560820760
Merge pull request #471 from burgerindividual/fix-avx512
Fix compilation for AVX512
2025-08-04 11:50:21 -04:00
burgerindividual
3a0909c767 Fix incorrect reference to EMPTY_BIT_MASK 2025-08-04 11:29:22 -04:00
Caleb Zulawski
3439347533
Merge pull request #468 from hkBst/div-ceil
clippy fix: use div_ceil
2025-07-05 07:23:41 -04:00
Folkert de Vries
5a26848a5a use div_ceil instead of manual logic 2025-07-05 10:55:42 +02:00
Marijn Schouten
b47a091b7d clippy fix: use div_ceil 2025-07-05 06:26:45 +00:00
Caleb Zulawski
704a1a9064
Merge pull request #466 from clarfonthey/const-mask-splat
Make `Mask::splat` const
2025-06-13 13:44:43 -04:00
ltdk
a857909616 Make Mask::splat const 2025-06-13 01:42:13 -04:00
Caleb Zulawski
7a0cc2f20e
Merge pull request #465 from clarfonthey/const-mut
Add const to `as_mut_array`, `copy_to_slice`
2025-06-12 15:07:36 -04:00
ltdk
97a3a50084 Add const to as_mut_array, copy_to_slice 2025-06-12 12:03:40 -04:00
Caleb Zulawski
70b1c2088d
Merge pull request #464 from okaneco/remove_from_usize_impls
Remove usize/isize `From` impls for vendor vector types
2025-06-11 18:26:08 -04:00
okaneco
6951b685b8 Remove usize/isize From impls for vendor vector types
Remove usize/isize impls from
- `loongarch64.rs`
- `wasm32.rs`
- `x86.rs`
2025-06-11 17:45:38 -04:00
Jacob Lifshay
68947612ba
Merge pull request #458 from corneliusroemer/patch-1
Fix grammar in beginners-guide.md
2025-04-07 12:04:40 -07:00
Cornelius Roemer
cdac23c86a
Fix grammar in beginners-guide.md 2025-04-07 18:13:32 +02:00
Caleb Zulawski
e8b522d82a
Merge pull request #457 from rust-lang/sync-from-rust-2025-03-20
Sync upstream
2025-03-22 12:40:02 -04:00
Caleb Zulawski
0f6f7d18ba Merge branch 'rust-upstream-2025-03-20' into sync-from-rust-2025-03-20 2025-03-20 00:40:50 -04:00
Caleb Zulawski
aaf8ff1f9e Merge commit 'c14f2fc3eb' into sync-from-portable-simd-2025-03-19 2025-03-19 00:58:47 -04:00
Caleb Zulawski
c14f2fc3eb
Merge pull request #452 from folkertdev/element-rotate-example
add examples for `shift_elements_{left, right}` and `rotate_elements_{left, right}`
2025-03-18 10:08:53 -04:00
Folkert de Vries
85a494bd91
add examples for shift_elements_{left, right} and rotate_elements_{left, right} 2025-03-18 10:34:02 +01:00
Caleb Zulawski
abd5d05ec4
Merge pull request #450 from programmerjake/update-llvm-workaround-comment
update llvm workaround comment to link to rust tracking issue too
2025-03-17 23:33:54 -04:00
Caleb Zulawski
c6596476bb
Merge pull request #455 from Urgau/deny-unreachable_pub
Deny `unreachable_pub` lint
2025-03-17 23:32:23 -04:00
Urgau
85d15a475b Deny unreachable_pub lint
As is done in `core` since https://github.com/rust-lang/rust/pull/134286

cc https://github.com/rust-lang/rust/issues/138054
2025-03-17 20:20:02 +01:00
Caleb Zulawski
74cddcaf4d
Merge pull request #454 from thaliaarchi/use-prelude-size-of
Use `size_of` from the prelude instead of imported
2025-03-07 01:50:09 -05:00