File tree 1 file changed +2
-2
lines changed
crates/core_arch/src/arm_shared/neon 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ macro_rules! test_vsli {
22
22
let a = [ $( $a as $t) ,* ] ;
23
23
let b = [ $( $b as $t) ,* ] ;
24
24
let n_bit_mask: $t = ( 1 << $n) - 1 ;
25
- let e = [ $( ( $a as $t & n_bit_mask) | ( $b as $t << $n) ) ,* ] ;
25
+ let e = [ $( ( $a as $t & n_bit_mask) | ( ( $b as $t) << $n) ) ,* ] ;
26
26
let r = $fn_id:: <$n>( transmute( a) , transmute( b) ) ;
27
27
let mut d = e;
28
28
d = transmute( r) ;
@@ -60,7 +60,7 @@ macro_rules! test_vsri {
60
60
unsafe fn $test_id( ) {
61
61
let a = [ $( $a as $t) ,* ] ;
62
62
let b = [ $( $b as $t) ,* ] ;
63
- let n_bit_mask = ( ( 1 as $t << $n) - 1 ) . rotate_right( $n) ;
63
+ let n_bit_mask = ( ( ( 1 as $t) << $n) - 1 ) . rotate_right( $n) ;
64
64
let e = [ $( ( $a as $t & n_bit_mask) | ( ( $b as $t >> $n) & !n_bit_mask) ) ,* ] ;
65
65
let r = $fn_id:: <$n>( transmute( a) , transmute( b) ) ;
66
66
let mut d = e;
You can’t perform that action at this time.
0 commit comments