@@ -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 ) ) ]
1919unsafe 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 ) ) ]
2626unsafe 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 ) ) ]
3333unsafe 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 ) ) ]
4040unsafe 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 ) ) ]
4747unsafe fn rotate_left_x2 ( x : u64x2 ) -> u64x2 {
4848 x. rotate_left ( u64x2:: splat ( 12 ) )
4949}
0 commit comments