@@ -1195,8 +1195,8 @@ pub unsafe fn vget_lane_u64(v: uint64x1_t, imm5: i32) -> u64 {
1195
1195
#[ target_feature( enable = "neon" ) ]
1196
1196
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1197
1197
#[ rustc_args_required_const( 1 ) ]
1198
- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vmov.u16" ) ) ]
1199
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov) ) ]
1198
+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vmov.u16" , imm5 = 2 ) ) ]
1199
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov, imm5 = 2 ) ) ]
1200
1200
pub unsafe fn vgetq_lane_u16 ( v : uint16x8_t , imm5 : i32 ) -> u16 {
1201
1201
if ( imm5) < 0 || ( imm5) > 7 {
1202
1202
unreachable_unchecked ( )
@@ -1210,8 +1210,8 @@ pub unsafe fn vgetq_lane_u16(v: uint16x8_t, imm5: i32) -> u16 {
1210
1210
#[ target_feature( enable = "neon" ) ]
1211
1211
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1212
1212
#[ rustc_args_required_const( 1 ) ]
1213
- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vmov.u32" ) ) ]
1214
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov) ) ]
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 ) ) ]
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 ( )
@@ -1225,8 +1225,8 @@ pub unsafe fn vgetq_lane_u32(v: uint32x4_t, imm5: i32) -> u32 {
1225
1225
#[ target_feature( enable = "neon" ) ]
1226
1226
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1227
1227
#[ rustc_args_required_const( 1 ) ]
1228
- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "mov.u8" ) ) ]
1229
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov) ) ]
1228
+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "mov.u8" , imm5 = 2 ) ) ]
1229
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( umov, imm5 = 2 ) ) ]
1230
1230
pub unsafe fn vget_lane_u8 ( v : uint8x8_t , imm5 : i32 ) -> u8 {
1231
1231
if ( imm5) < 0 || ( imm5) > 7 {
1232
1232
unreachable_unchecked ( )
@@ -1330,8 +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( shr, n = 3 ) ) ]
1334
-
1333
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( shr, imm3 = 1 ) ) ]
1335
1334
#[ rustc_args_required_const( 1 ) ]
1336
1335
pub unsafe fn vshrq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
1337
1336
if imm3 < 0 || imm3 > 7 {
@@ -1363,7 +1362,7 @@ pub unsafe fn vshrq_n_u8(a: uint8x16_t, imm3: i32) -> uint8x16_t {
1363
1362
#[ target_feature( enable = "neon" ) ]
1364
1363
#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1365
1364
#[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( "vshl.s8" , imm3 = 1 ) ) ]
1366
- #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( shl, n = 3 ) ) ]
1365
+ #[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( shl, imm3 = 1 ) ) ]
1367
1366
#[ rustc_args_required_const( 1 ) ]
1368
1367
pub unsafe fn vshlq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
1369
1368
if imm3 < 0 || imm3 > 7 {
0 commit comments