@@ -15,35 +15,35 @@ use stdsimd_test::assert_instr;
15
15
16
16
#[ inline]
17
17
#[ 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 ) ) ]
19
19
unsafe fn rotate_right_variable ( x : u64x8 ) -> u64x8 {
20
20
x. rotate_right ( u64x8:: new ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) )
21
21
}
22
22
23
23
#[ inline]
24
24
#[ 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 ) ) ]
26
26
unsafe fn rotate_left_variable ( x : u64x8 ) -> u64x8 {
27
27
x. rotate_left ( u64x8:: new ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ) )
28
28
}
29
29
30
30
#[ inline]
31
31
#[ 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 ) ) ]
33
33
unsafe fn rotate_right ( x : u64x8 ) -> u64x8 {
34
34
x. rotate_right ( u64x8:: splat ( 12 ) )
35
35
}
36
36
37
37
#[ inline]
38
38
#[ 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 ) ) ]
40
40
unsafe fn rotate_left ( x : u64x8 ) -> u64x8 {
41
41
x. rotate_left ( u64x8:: splat ( 12 ) )
42
42
}
43
43
44
44
#[ inline]
45
45
#[ 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 ) ) ]
47
47
unsafe fn rotate_left_x2 ( x : u64x2 ) -> u64x2 {
48
48
x. rotate_left ( u64x2:: splat ( 12 ) )
49
49
}
0 commit comments