Skip to content

Commit 9cebe1f

Browse files
committed
Auto merge of #3765 - rust-lang:rustup-2024-07-26, r=RalfJung
Automatic Rustup
2 parents dee7e9d + f7b4a3a commit 9cebe1f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e7d66eac5e8e8f60370c98d186aee9fa0ebd7845
1+
72d73cec61aa8f85901358cd5d386d5dd066fe52

tests/pass/intrinsics/portable-simd.rs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
//@compile-flags: -Zmiri-strict-provenance
2-
#![feature(portable_simd, adt_const_params, core_intrinsics, repr_simd)]
2+
#![feature(
3+
portable_simd,
4+
unsized_const_params,
5+
adt_const_params,
6+
rustc_attrs,
7+
intrinsics,
8+
core_intrinsics,
9+
repr_simd
10+
)]
311
#![allow(incomplete_features, internal_features)]
412
use std::intrinsics::simd as intrinsics;
513
use std::ptr;
614
use std::simd::{prelude::*, StdFloat};
715

16+
extern "rust-intrinsic" {
17+
#[rustc_nounwind]
18+
pub fn simd_shuffle_generic<T, U, const IDX: &'static [u32]>(x: T, y: T) -> U;
19+
}
20+
821
fn simd_ops_f32() {
922
let a = f32x4::splat(10.0);
1023
let b = f32x4::from_array([1.0, 2.0, 3.0, -4.0]);

0 commit comments

Comments
 (0)