On x86 the following does not compile:
#![feature(asm)]
#[target_feature(enable="avx")]
pub unsafe fn foo() {
let mut x = 0;
asm!("vmovaps {}, {}", lateout(ymm_reg) x, in(ymm_reg) x);
}
ubt it does compile with -Ctarget-feature=+avx specified. Both should work?