Skip to content

Commit 86b1f48

Browse files
author
TheIronBorn
committed
try instr prefix
1 parent 32021c8 commit 86b1f48

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/coresimd/tests/rotate_tests.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,35 @@ 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"), assert_instr(vprorvq))]
18+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
1919
unsafe fn rotate_right_variable(x: u64x8) -> u64x8 {
2020
x.rotate_right(u64x8::new(0, 1, 2, 3, 4, 5, 6, 7))
2121
}
2222

2323
#[inline]
2424
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))]
25-
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vprolvq))]
25+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
2626
unsafe fn rotate_left_variable(x: u64x8) -> u64x8 {
2727
x.rotate_left(u64x8::new(0, 1, 2, 3, 4, 5, 6, 7))
2828
}
2929

3030
#[inline]
3131
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))]
32-
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vprorq))]
32+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
3333
unsafe fn rotate_right(x: u64x8) -> u64x8 {
3434
x.rotate_right(u64x8::splat(12))
3535
}
3636

3737
#[inline]
3838
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))]
39-
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vprolq))]
39+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
4040
unsafe fn rotate_left(x: u64x8) -> u64x8 {
4141
x.rotate_left(u64x8::splat(12))
4242
}
4343

4444
#[inline]
4545
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), target_feature(enable = "avx512f"))]
46-
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vprolq))]
46+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), assert_instr(vpro))]
4747
unsafe fn rotate_left_x2(x: u64x2) -> u64x2 {
4848
x.rotate_left(u64x2::splat(12))
4949
}

0 commit comments

Comments
 (0)