@@ -1162,7 +1162,7 @@ pub unsafe fn vtbx4_p8(a: poly8x8_t, b: poly8x8x4_t, c: uint8x8_t) -> poly8x8_t
1162
1162
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1163
1163
#[ rustc_args_required_const( 1 ) ]
1164
1164
#[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vmov.32" , imm5 = 1 ) ) ]
1165
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov , imm5 = 1 ) ) ]
1165
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( mov , imm5 = 1 ) ) ]
1166
1166
// Based on the discussion in https://github.com/rust-lang/stdarch/pull/792
1167
1167
// `mov` seems to be an acceptable intrinsic to compile to
1168
1168
// #[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(vmov, imm5 = 1))]
@@ -1211,7 +1211,7 @@ pub unsafe fn vgetq_lane_u16(v: uint16x8_t, imm5: i32) -> u16 {
1211
1211
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1212
1212
#[ rustc_args_required_const( 1 ) ]
1213
1213
#[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vmov.u32" , imm5 = 2 ) ) ]
1214
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov , imm5 = 2 ) ) ]
1214
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( mov , imm5 = 2 ) ) ]
1215
1215
pub unsafe fn vgetq_lane_u32 ( v : uint32x4_t , imm5 : i32 ) -> u32 {
1216
1216
if ( imm5) < 0 || ( imm5) > 3 {
1217
1217
unreachable_unchecked ( )
@@ -1330,7 +1330,7 @@ pub unsafe fn vreinterpretq_u8_s8(a: int8x16_t) -> uint8x16_t {
1330
1330
#[ target_feature( enable = "neon" ) ]
1331
1331
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1332
1332
#[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vshr.s8" , imm3 = 1 ) ) ]
1333
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( "vshr " , imm3 = 1 ) ) ]
1333
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( "ushr " , imm3 = 1 ) ) ]
1334
1334
#[ rustc_args_required_const( 1 ) ]
1335
1335
pub unsafe fn vshrq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
1336
1336
if imm3 < 0 || imm3 > 7 {
0 commit comments