Skip to content

Commit

Permalink
Add 82880
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm committed Mar 12, 2021
1 parent 3c803ff commit 1cf803b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ices/82880.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#![feature(platform_intrinsics)]
#![feature(staged_api)]
struct u16x2(u16, u16);
extern "platform-intrinsic" {
#[rustc_const_stable(feature = "foo", since = "1.3.37")]
fn simd_extract<T, U>(x: T, idx: u32) -> U;
}
fn main() {
const U: u16x2 = u16x2(13, 14);
const V: u16x2 = U;
const Y0: i8 = unsafe { simd_extract(V, 0) };
}

0 comments on commit 1cf803b

Please sign in to comment.