Closed
Description
openedon Sep 26, 2021
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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment