mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
18 lines
248 B
Rust
18 lines
248 B
Rust
// build-pass
|
|
// needs-asm-support
|
|
// only-x86_64
|
|
|
|
#![feature(target_feature_11)]
|
|
|
|
use std::arch::asm;
|
|
|
|
#[target_feature(enable = "avx")]
|
|
fn main() {
|
|
unsafe {
|
|
asm!(
|
|
"/* {} */",
|
|
out(ymm_reg) _,
|
|
);
|
|
}
|
|
}
|