diff --git a/crates/coresimd/tests/rotate_tests.rs b/crates/coresimd/tests/rotate_tests.rs index 6de6ed9cae..0aa8b34614 100644 --- a/crates/coresimd/tests/rotate_tests.rs +++ b/crates/coresimd/tests/rotate_tests.rs @@ -15,6 +15,7 @@ use stdsimd_test::assert_instr; #[inline] #[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))] +#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512vl"))] #[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))] unsafe fn rotate_right_variable(x: u64x8) -> u64x8 { x.rotate_right(u64x8::new(0, 1, 2, 3, 4, 5, 6, 7)) @@ -22,6 +23,7 @@ unsafe fn rotate_right_variable(x: u64x8) -> u64x8 { #[inline] #[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))] +#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512vl"))] #[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))] unsafe fn rotate_left_variable(x: u64x8) -> u64x8 { x.rotate_left(u64x8::new(0, 1, 2, 3, 4, 5, 6, 7))