diff options
| author | bors <bors@rust-lang.org> | 2024-07-26 01:13:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-26 01:13:26 +0000 |
| commit | 72d73cec61aa8f85901358cd5d386d5dd066fe52 (patch) | |
| tree | 0566d9a165c9fee8a0612a03bd3cb0783edabc6c /src | |
| parent | 2f26b2a99ab976c43d12cf57ef4a3a2c82ede286 (diff) | |
| parent | d87fa5e788362b4bdc7ded991fe3af676eef4221 (diff) | |
| download | rust-72d73cec61aa8f85901358cd5d386d5dd066fe52.tar.gz rust-72d73cec61aa8f85901358cd5d386d5dd066fe52.zip | |
Auto merge of #128213 - matthiaskrgr:rollup-v40q1j3, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #126090 (Fix supertrait associated type unsoundness) - #127220 (Graciously handle `Drop` impls introducing more generic parameters than the ADT) - #127950 (Use `#[rustfmt::skip]` on some `use` groups to prevent reordering.) - #128085 (Various notes on match lowering) - #128150 (Stop using `unsized_const_parameters` in core/std) - #128194 (LLVM: LLVM-20.0 removes MMX types) - #128211 (fix: compilation issue w/ refactored type) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/miri/tests/pass/intrinsics/portable-simd.rs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/tools/miri/tests/pass/intrinsics/portable-simd.rs b/src/tools/miri/tests/pass/intrinsics/portable-simd.rs index 03d9fc0a76f..c4ba11d0a43 100644 --- a/src/tools/miri/tests/pass/intrinsics/portable-simd.rs +++ b/src/tools/miri/tests/pass/intrinsics/portable-simd.rs @@ -1,10 +1,23 @@ //@compile-flags: -Zmiri-strict-provenance -#![feature(portable_simd, adt_const_params, core_intrinsics, repr_simd)] +#![feature( + portable_simd, + unsized_const_params, + adt_const_params, + rustc_attrs, + intrinsics, + core_intrinsics, + repr_simd +)] #![allow(incomplete_features, internal_features)] use std::intrinsics::simd as intrinsics; use std::ptr; use std::simd::{prelude::*, StdFloat}; +extern "rust-intrinsic" { + #[rustc_nounwind] + pub fn simd_shuffle_generic<T, U, const IDX: &'static [u32]>(x: T, y: T) -> U; +} + fn simd_ops_f32() { let a = f32x4::splat(10.0); let b = f32x4::from_array([1.0, 2.0, 3.0, -4.0]); |
