@@ -251,7 +251,7 @@ pub(crate) fn handle_compare(
251251 32 => quote ! { 0x80000000u32 } ,
252252 _ => unimplemented ! ( ) ,
253253 } ;
254- let xor_op = intrinsic_ident ( "xor" , coarse_type ( * vec_ty) , vec_ty. n_bits ( ) ) ;
254+ let xor_op = intrinsic_ident ( "xor" , coarse_type ( vec_ty) , vec_ty. n_bits ( ) ) ;
255255 let args = if method == "simd_lt" {
256256 quote ! { b_signed, a_signed }
257257 } else {
@@ -401,8 +401,8 @@ pub(crate) fn handle_binary(
401401 // https://stackoverflow.com/questions/8193601/sse-multiplication-16-x-uint8-t
402402 let mullo = intrinsic_ident ( "mullo" , "epi16" , vec_ty. n_bits ( ) ) ;
403403 let set1 = intrinsic_ident ( "set1" , "epi16" , vec_ty. n_bits ( ) ) ;
404- let and = intrinsic_ident ( "and" , coarse_type ( * vec_ty) , vec_ty. n_bits ( ) ) ;
405- let or = intrinsic_ident ( "or" , coarse_type ( * vec_ty) , vec_ty. n_bits ( ) ) ;
404+ let and = intrinsic_ident ( "and" , coarse_type ( vec_ty) , vec_ty. n_bits ( ) ) ;
405+ let or = intrinsic_ident ( "or" , coarse_type ( vec_ty) , vec_ty. n_bits ( ) ) ;
406406 let slli = intrinsic_ident ( "slli" , "epi16" , vec_ty. n_bits ( ) ) ;
407407 let srli = intrinsic_ident ( "srli" , "epi16" , vec_ty. n_bits ( ) ) ;
408408 quote ! {
@@ -444,7 +444,7 @@ pub(crate) fn handle_shift(method_sig: TokenStream, method: &str, vec_ty: &VecTy
444444 let unpack_hi = unpack_intrinsic ( ScalarType :: Int , 8 , false , ty_bits) ;
445445 let unpack_lo = unpack_intrinsic ( ScalarType :: Int , 8 , true , ty_bits) ;
446446
447- let set0 = intrinsic_ident ( "setzero" , coarse_type ( * vec_ty) , ty_bits) ;
447+ let set0 = intrinsic_ident ( "setzero" , coarse_type ( vec_ty) , ty_bits) ;
448448 let extend_expr = |expr| match vec_ty. scalar {
449449 ScalarType :: Unsigned => quote ! {
450450 #expr( val, #set0( ) )
@@ -578,7 +578,7 @@ pub(crate) fn handle_zip(method_sig: TokenStream, vec_ty: &VecType, zip1: bool)
578578 ScalarType :: Float => "permute2f128" ,
579579 _ => "permute2x128" ,
580580 } ,
581- coarse_type ( * vec_ty) ,
581+ coarse_type ( vec_ty) ,
582582 256 ,
583583 ) ;
584584
@@ -695,7 +695,7 @@ pub(crate) fn handle_unzip(
695695 ScalarType :: Float => "permute2f128" ,
696696 _ => "permute2x128" ,
697697 } ,
698- coarse_type ( * vec_ty) ,
698+ coarse_type ( vec_ty) ,
699699 256 ,
700700 ) ;
701701 let high_shuffle_immediate = if select_even {
@@ -767,8 +767,8 @@ pub(crate) fn handle_cvt(
767767 // IMPORTANT TODO: for f32 to u32, we are currently converting it to i32 instead
768768 // of u32. We need to properly polyfill this.
769769 let cvt_intrinsic = cvt_intrinsic (
770- * vec_ty,
771- VecType :: new ( target_scalar, target_scalar_bits, vec_ty. len ) ,
770+ vec_ty,
771+ & VecType :: new ( target_scalar, target_scalar_bits, vec_ty. len ) ,
772772 ) ;
773773
774774 let expr = if vec_ty. scalar == ScalarType :: Float {
0 commit comments