mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
11 lines
205 B
Rust
11 lines
205 B
Rust
//@ only-x86_64
|
|
//@ build-pass
|
|
#![allow(dead_code)]
|
|
|
|
#[target_feature(enable = "avx2")]
|
|
unsafe fn demo(v: std::arch::x86_64::__m256i) {
|
|
std::arch::asm!("/* {v} */", v = in(ymm_reg) v);
|
|
}
|
|
|
|
fn main() {}
|