20 lines
261 B
Rust
20 lines
261 B
Rust
// build-pass
|
|
// needs-asm-support
|
|
// only-x86_64
|
|
|
|
#![feature(target_feature_11)]
|
|
|
|
use std::arch::asm;
|
|
|
|
#[target_feature(enable = "avx")]
|
|
fn foo() {
|
|
unsafe {
|
|
asm!(
|
|
"/* {} */",
|
|
out(ymm_reg) _,
|
|
);
|
|
}
|
|
}
|
|
|
|
fn main() {}
|