rust/tests/ui/simd
Guillaume Gomez 66ad1f2abf
Rollup merge of #142078 - sayantn:more-intrinsics, r=workingjubilee
Add SIMD funnel shift and round-to-even intrinsics

This PR adds 3 new SIMD intrinsics

 - `simd_funnel_shl` - funnel shift left
 - `simd_funnel_shr` - funnel shift right
 - `simd_round_ties_even` (vector version of `round_ties_even_fN`)

TODO (future PR): implement `simd_fsh{l,r}` in miri, cg_gcc and cg_clif (it is surprisingly hard to implement without branches, the common tricks that rotate uses doesn't work because we have 2 elements now. e.g, the `-n&31` trick used by cg_gcc to implement rotate doesn't work with this because then `fshl(a, b, 0)` will be `a | b`)

[#t-compiler > More SIMD intrinsics](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/More.20SIMD.20intrinsics/with/522130286)

`@rustbot` label T-compiler T-libs A-intrinsics F-core_intrinsics
r? `@workingjubilee`
2025-06-29 12:29:53 +02:00
..
intrinsic Add simd_funnel_sh{l,r} and simd_round_ties_even 2025-06-15 04:33:41 +05:30
array-trait.rs
array-trait.stderr
array-type.rs
const-err-trumps-simd-err.rs stabilize gai 2025-06-11 15:30:15 +01:00
const-err-trumps-simd-err.stderr stabilize gai 2025-06-11 15:30:15 +01:00
dont-invalid-bitcast-masks.rs
dont-invalid-bitcast-x86_64.rs
empty-simd-vector-in-operand.rs
empty-simd-vector-in-operand.stderr
generics.rs
issue-17170.rs
issue-32947.rs
issue-39720.rs
issue-85915-simd-ptrs.rs
issue-89193.rs
issue-105439.rs
libm_no_std_cant_float.rs
libm_no_std_cant_float.stderr
libm_std_can_float.rs
masked-load-store-build-fail.rs
masked-load-store-build-fail.stderr
masked-load-store-check-fail.rs
masked-load-store-check-fail.stderr
masked-load-store.rs
monomorphize-heterogeneous.rs
monomorphize-heterogeneous.stderr
monomorphize-shuffle-index.generic.stderr
monomorphize-shuffle-index.rs
monomorphize-too-long.rs
monomorphize-too-long.stderr
monomorphize-zero-length.rs
monomorphize-zero-length.stderr
not-out-of-bounds.rs
not-out-of-bounds.stderr
portable-intrinsics-arent-exposed.rs
portable-intrinsics-arent-exposed.stderr
repr_packed.rs
shuffle.rs
simd-bitmask-notpow2.rs
simd-bitmask.rs
size-align.rs intrinsics: rename min_align_of to align_of 2025-06-12 17:50:25 +02:00
target-feature-mixup.rs Remove uses of #[feature(avx512_target_feature)] 2025-05-18 11:12:25 +05:30
type-generic-monomorphisation-empty.rs
type-generic-monomorphisation-empty.stderr
type-generic-monomorphisation-extern-nonnull-ptr.rs
type-generic-monomorphisation-non-primitive.rs
type-generic-monomorphisation-non-primitive.stderr
type-generic-monomorphisation-oversized.rs
type-generic-monomorphisation-oversized.stderr
type-generic-monomorphisation-power-of-two.rs
type-generic-monomorphisation-wide-ptr.rs
type-generic-monomorphisation-wide-ptr.stderr
type-generic-monomorphisation.rs
type-generic-monomorphisation.stderr
type-len.rs
type-len.stderr
type-wide-ptr.rs
type-wide-ptr.stderr
wasm-simd-indirect.rs