Skip to content

Commit cc6c887

Browse files
author
TheIronBorn
committed
try avx512vl
1 parent 31823d7 commit cc6c887

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/coresimd/tests/rotate_tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ use stdsimd_test::assert_instr;
1515

1616
#[inline]
1717
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))]
18+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512vl"))]
1819
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
1920
unsafe fn rotate_right_variable(x: u64x8) -> u64x8 {
2021
x.rotate_right(u64x8::new(0, 1, 2, 3, 4, 5, 6, 7))
2122
}
2223

2324
#[inline]
2425
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))]
26+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512vl"))]
2527
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
2628
unsafe fn rotate_left_variable(x: u64x8) -> u64x8 {
2729
x.rotate_left(u64x8::new(0, 1, 2, 3, 4, 5, 6, 7))

0 commit comments

Comments
 (0)