From cc6c88723995869a54d17a12406b69d0c933bf40 Mon Sep 17 00:00:00 2001 From: TheIronBorn <> Date: Sat, 7 Jul 2018 11:29:19 -0700 Subject: [PATCH] try avx512vl --- crates/coresimd/tests/rotate_tests.rs | 2 ++ 1 file changed, 2 insertions(+) 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))