2021-10-19 14:50:34 -05:00
|
|
|
// build-pass
|
2022-03-19 10:50:24 -05:00
|
|
|
// needs-asm-support
|
2021-10-19 14:50:34 -05:00
|
|
|
// only-x86_64
|
|
|
|
|
2021-12-09 18:15:33 -06:00
|
|
|
#![feature(target_feature_11)]
|
|
|
|
|
|
|
|
use std::arch::asm;
|
2021-10-19 14:50:34 -05:00
|
|
|
|
|
|
|
#[target_feature(enable = "avx")]
|
|
|
|
fn main() {
|
|
|
|
unsafe {
|
|
|
|
asm!(
|
|
|
|
"/* {} */",
|
|
|
|
out(ymm_reg) _,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|