@@ -1195,8 +1195,8 @@ pub unsafe fn vget_lane_u64(v: uint64x1_t, imm5: i32) -> u64 {
11951195#[ target_feature( enable = "neon" ) ]
11961196#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
11971197#[ 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 ) ) ]
12001200pub unsafe fn vgetq_lane_u16 ( v : uint16x8_t , imm5 : i32 ) -> u16 {
12011201 if ( imm5) < 0 || ( imm5) > 7 {
12021202 unreachable_unchecked ( )
@@ -1210,8 +1210,8 @@ pub unsafe fn vgetq_lane_u16(v: uint16x8_t, imm5: i32) -> u16 {
12101210#[ target_feature( enable = "neon" ) ]
12111211#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
12121212#[ 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 ) ) ]
12151215pub unsafe fn vgetq_lane_u32 ( v : uint32x4_t , imm5 : i32 ) -> u32 {
12161216 if ( imm5) < 0 || ( imm5) > 3 {
12171217 unreachable_unchecked ( )
@@ -1225,8 +1225,8 @@ pub unsafe fn vgetq_lane_u32(v: uint32x4_t, imm5: i32) -> u32 {
12251225#[ target_feature( enable = "neon" ) ]
12261226#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
12271227#[ 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 ) ) ]
12301230pub unsafe fn vget_lane_u8 ( v : uint8x8_t , imm5 : i32 ) -> u8 {
12311231 if ( imm5) < 0 || ( imm5) > 7 {
12321232 unreachable_unchecked ( )
@@ -1330,8 +1330,7 @@ pub unsafe fn vreinterpretq_u8_s8(a: int8x16_t) -> uint8x16_t {
13301330#[ target_feature( enable = "neon" ) ]
13311331#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
13321332#[ 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 ) ) ]
13351334#[ rustc_args_required_const( 1 ) ]
13361335pub unsafe fn vshrq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
13371336 if imm3 < 0 || imm3 > 7 {
@@ -1363,7 +1362,7 @@ pub unsafe fn vshrq_n_u8(a: uint8x16_t, imm3: i32) -> uint8x16_t {
13631362#[ target_feature( enable = "neon" ) ]
13641363#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
13651364#[ 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 ) ) ]
13671366#[ rustc_args_required_const( 1 ) ]
13681367pub unsafe fn vshlq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
13691368 if imm3 < 0 || imm3 > 7 {
0 commit comments