@@ -174,9 +174,9 @@ unsafe extern "unadjusted" {
174
174
#[ link_name = "llvm.s390.vpklsfs" ] fn vpklsfs ( a : vector_unsigned_int , b : vector_unsigned_int ) -> PackedTuple < vector_unsigned_short , i32 > ;
175
175
#[ link_name = "llvm.s390.vpklsgs" ] fn vpklsgs ( a : vector_unsigned_long_long , b : vector_unsigned_long_long ) -> PackedTuple < vector_unsigned_int , i32 > ;
176
176
177
- #[ link_name = "llvm.s390.vuplbw " ] fn vuplbw ( a : vector_signed_char ) -> vector_signed_short ;
177
+ #[ link_name = "llvm.s390.vuplb " ] fn vuplb ( a : vector_signed_char ) -> vector_signed_short ;
178
178
#[ link_name = "llvm.s390.vuplhw" ] fn vuplhw ( a : vector_signed_short ) -> vector_signed_int ;
179
- #[ link_name = "llvm.s390.vuplfw " ] fn vuplfw ( a : vector_signed_int ) -> vector_signed_long_long ;
179
+ #[ link_name = "llvm.s390.vuplf " ] fn vuplf ( a : vector_signed_int ) -> vector_signed_long_long ;
180
180
#[ link_name = "llvm.s390.vupllb" ] fn vupllb ( a : vector_unsigned_char ) -> vector_unsigned_short ;
181
181
#[ link_name = "llvm.s390.vupllh" ] fn vupllh ( a : vector_unsigned_short ) -> vector_unsigned_int ;
182
182
#[ link_name = "llvm.s390.vupllf" ] fn vupllf ( a : vector_unsigned_int ) -> vector_unsigned_long_long ;
@@ -2581,9 +2581,9 @@ mod sealed {
2581
2581
// FIXME(llvm): a shuffle + simd_as does not currently optimize into a single instruction like
2582
2582
// unpachk above. Tracked in https://github.com/llvm/llvm-project/issues/129576.
2583
2583
2584
- impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vuplbw ( vector_signed_char) -> vector_signed_short}
2584
+ impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vuplb ( vector_signed_char) -> vector_signed_short}
2585
2585
impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vuplhw ( vector_signed_short) -> vector_signed_int}
2586
- impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vuplfw ( vector_signed_int) -> vector_signed_long_long}
2586
+ impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vuplf ( vector_signed_int) -> vector_signed_long_long}
2587
2587
2588
2588
impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vupllb ( vector_unsigned_char) -> vector_unsigned_short}
2589
2589
impl_vec_trait ! { [ VectorUnpackl vec_unpackl] vupllh ( vector_unsigned_short) -> vector_unsigned_int}
@@ -3011,9 +3011,9 @@ mod sealed {
3011
3011
#[ inline]
3012
3012
#[ target_feature( enable = "vector" ) ]
3013
3013
unsafe fn vec_sel( self , b: Self , c: t_u!( $ty) ) -> Self {
3014
- let b = simd_and( b , transmute ( c ) ) ;
3015
- let a = simd_and( self , simd_xor( transmute ( c ) , transmute( vector_signed_char( [ !0 ; 16 ] ) ) ) ) ;
3016
- simd_or( a, b)
3014
+ let b = simd_and( transmute ( b ) , c ) ;
3015
+ let a = simd_and( transmute ( self ) , simd_xor( c , transmute( vector_signed_char( [ !0 ; 16 ] ) ) ) ) ;
3016
+ transmute ( simd_or( a, b) )
3017
3017
}
3018
3018
}
3019
3019
@@ -3198,14 +3198,14 @@ mod sealed {
3198
3198
#[ unstable( feature = "stdarch_s390x" , issue = "135681" ) ]
3199
3199
impl VectorSearchString for $ty {
3200
3200
#[ inline]
3201
- #[ target_feature( enable = "vector" ) ]
3201
+ #[ target_feature( enable = "vector-enhancements-2 " ) ]
3202
3202
unsafe fn vec_search_string_cc( self , b: Self , c: vector_unsigned_char) -> ( vector_unsigned_char, i32 ) {
3203
3203
let PackedTuple { x, y } = $intr_s( transmute( self ) , transmute( b) , c) ;
3204
3204
( x, y)
3205
3205
}
3206
3206
3207
3207
#[ inline]
3208
- #[ target_feature( enable = "vector" ) ]
3208
+ #[ target_feature( enable = "vector-enhancements-2 " ) ]
3209
3209
unsafe fn vec_search_string_until_zero_cc( self , b: Self , c: vector_unsigned_char) -> ( vector_unsigned_char, i32 ) {
3210
3210
let PackedTuple { x, y } = $intr_sz( transmute( self ) , transmute( b) , c) ;
3211
3211
( x, y)
0 commit comments