File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -674,12 +674,12 @@ mod tests {
674
674
#[ simd_test( enable = "neon" ) ]
675
675
unsafe fn test_vminvq_s8 ( ) {
676
676
#[ cfg_attr( rustfmt, rustfmt_skip) ]
677
- let r = vminvq_s8 ( :: mem:: transmute ( :: mem :: transmute ( i8x16:: new (
677
+ let r = vminvq_s8 ( :: mem:: transmute ( i8x16:: new (
678
678
1 , 2 , 3 , 4 ,
679
679
-16 , 6 , 7 , 5 ,
680
680
8 , 1 , 1 , 1 ,
681
681
1 , 1 , 1 , 1 ,
682
- ) ) ) ) ;
682
+ ) ) ) ;
683
683
assert_eq ! ( r, -16_i8 ) ;
684
684
}
685
685
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ mod tests {
528
528
let a: $longtype = :: mem:: transmute( $shorttype:: new( $( $a) ,+) ) ;
529
529
let b = :: mem:: transmute( $shorttype:: new( $( $b) ,+) ) ;
530
530
let c = :: mem:: transmute( u8x16:: new( $( $c) ,+) ) ;
531
- let d: $longtype = :: mem :: transmute ( $shorttype:: new( $( $d) ,+) ) ;
531
+ let d = $shorttype:: new( $( $d) ,+) ;
532
532
533
533
assert_eq!( d, :: mem:: transmute( vec_perm( a, b, c) ) ) ;
534
534
}
You can’t perform that action at this time.
0 commit comments