@@ -2903,14 +2903,14 @@ mod sealed {
2903
2903
self ,
2904
2904
b : Self ,
2905
2905
c : vector_unsigned_char ,
2906
- d : & mut i32 ,
2906
+ d : * mut i32 ,
2907
2907
) -> vector_unsigned_char ;
2908
2908
2909
2909
unsafe fn vec_search_string_until_zero_cc (
2910
2910
self ,
2911
2911
b : Self ,
2912
2912
c : vector_unsigned_char ,
2913
- d : & mut i32 ,
2913
+ d : * mut i32 ,
2914
2914
) -> vector_unsigned_char ;
2915
2915
}
2916
2916
@@ -2921,17 +2921,17 @@ mod sealed {
2921
2921
impl VectorSearchString for $ty {
2922
2922
#[ inline]
2923
2923
#[ target_feature( enable = "vector" ) ]
2924
- unsafe fn vec_search_string_cc( self , b: Self , c: vector_unsigned_char, d: & mut i32 ) -> vector_unsigned_char {
2924
+ unsafe fn vec_search_string_cc( self , b: Self , c: vector_unsigned_char, d: * mut i32 ) -> vector_unsigned_char {
2925
2925
let PackedTuple { x, y } = $intr_s( transmute( self ) , transmute( b) , c) ;
2926
- * d = y ;
2926
+ d . write ( y ) ;
2927
2927
x
2928
2928
}
2929
2929
2930
2930
#[ inline]
2931
2931
#[ target_feature( enable = "vector" ) ]
2932
- unsafe fn vec_search_string_until_zero_cc( self , b: Self , c: vector_unsigned_char, d: & mut i32 ) -> vector_unsigned_char {
2932
+ unsafe fn vec_search_string_until_zero_cc( self , b: Self , c: vector_unsigned_char, d: * mut i32 ) -> vector_unsigned_char {
2933
2933
let PackedTuple { x, y } = $intr_sz( transmute( self ) , transmute( b) , c) ;
2934
- * d = y ;
2934
+ d . write ( y ) ;
2935
2935
x
2936
2936
}
2937
2937
}
@@ -4584,7 +4584,7 @@ pub unsafe fn vec_search_string_cc<T: sealed::VectorSearchString>(
4584
4584
a : T ,
4585
4585
b : T ,
4586
4586
c : vector_unsigned_char ,
4587
- d : & mut i32 ,
4587
+ d : * mut i32 ,
4588
4588
) -> vector_unsigned_char {
4589
4589
a. vec_search_string_cc ( b, c, d)
4590
4590
}
@@ -4597,7 +4597,7 @@ pub unsafe fn vec_search_string_until_zero_cc<T: sealed::VectorSearchString>(
4597
4597
a : T ,
4598
4598
b : T ,
4599
4599
c : vector_unsigned_char ,
4600
- d : & mut i32 ,
4600
+ d : * mut i32 ,
4601
4601
) -> vector_unsigned_char {
4602
4602
a. vec_search_string_until_zero_cc ( b, c, d)
4603
4603
}
0 commit comments