@@ -1161,7 +1161,7 @@ pub unsafe fn vtbx4_p8(a: poly8x8_t, b: poly8x8x4_t, c: uint8x8_t) -> poly8x8_t
11611161#[ target_feature( enable = "neon" ) ]
11621162#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
11631163#[ rustc_args_required_const( 1 ) ]
1164- #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( vmov. 32 , imm5 = 1 ) ) ]
1164+ #[ cfg_attr( all( test, target_arch = "arm" ) , assert_instr( " vmov.32" , imm5 = 1 ) ) ]
11651165#[ cfg_attr( all( test, target_arch = "aarch64" ) , assert_instr( mov, imm5 = 1 ) ) ]
11661166// Based on the discussioj in https://github.com/rust-lang/stdarch/pull/792
11671167// `mov` seems to be an acceptable intrinsic to compile to
@@ -1179,7 +1179,7 @@ pub unsafe fn vgetq_lane_u64(v: uint64x2_t, imm5: i32) -> u64 {
11791179#[ target_feature( enable = "neon" ) ]
11801180#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
11811181#[ rustc_args_required_const( 1 ) ]
1182- #[ cfg_attr( test, assert_instr( vmov. 32 , imm5 = 0 ) ) ]
1182+ #[ cfg_attr( test, assert_instr( " vmov.32" , imm5 = 0 ) ) ]
11831183// FIXME: no 32bit this seems to be turned into two vmov.32 instructions
11841184// validate correctness
11851185pub unsafe fn vget_lane_u64 ( v : uint64x1_t , imm5 : i32 ) -> u64 {
@@ -1194,7 +1194,7 @@ pub unsafe fn vget_lane_u64(v: uint64x1_t, imm5: i32) -> u64 {
11941194#[ target_feature( enable = "neon" ) ]
11951195#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
11961196#[ rustc_args_required_const( 1 ) ]
1197- #[ cfg_attr( test, assert_instr( vmov. u16 , imm5 = 0 ) ) ]
1197+ #[ cfg_attr( test, assert_instr( " vmov.u16" , imm5 = 0 ) ) ]
11981198pub unsafe fn vgetq_lane_u16 ( v : uint16x8_t , imm5 : i32 ) -> u16 {
11991199 if ( imm5) < 0 || ( imm5) > 7 {
12001200 unreachable_unchecked ( )
@@ -1208,7 +1208,7 @@ pub unsafe fn vgetq_lane_u16(v: uint16x8_t, imm5: i32) -> u16 {
12081208#[ target_feature( enable = "neon" ) ]
12091209#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
12101210#[ rustc_args_required_const( 1 ) ]
1211- #[ cfg_attr( test, assert_instr( vmov. 32 , imm5 = 0 ) ) ]
1211+ #[ cfg_attr( test, assert_instr( " vmov.32" , imm5 = 0 ) ) ]
12121212pub unsafe fn vgetq_lane_u32 ( v : uint32x4_t , imm5 : i32 ) -> u32 {
12131213 if ( imm5) < 0 || ( imm5) > 3 {
12141214 unreachable_unchecked ( )
@@ -1222,7 +1222,7 @@ pub unsafe fn vgetq_lane_u32(v: uint32x4_t, imm5: i32) -> u32 {
12221222#[ target_feature( enable = "neon" ) ]
12231223#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
12241224#[ rustc_args_required_const( 1 ) ]
1225- #[ cfg_attr( test, assert_instr( vmov. u8 , imm5 = 0 ) ) ]
1225+ #[ cfg_attr( test, assert_instr( " vmov.u8" , imm5 = 0 ) ) ]
12261226pub unsafe fn vget_lane_u8 ( v : uint8x8_t , imm5 : i32 ) -> u8 {
12271227 if ( imm5) < 0 || ( imm5) > 7 {
12281228 unreachable_unchecked ( )
@@ -1325,7 +1325,7 @@ pub unsafe fn vreinterpretq_u8_s8(a: int8x16_t) -> uint8x16_t {
13251325#[ inline]
13261326#[ target_feature( enable = "neon" ) ]
13271327#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1328- #[ cfg_attr( test, assert_instr( vshr. u8 , imm3 = 1 ) ) ]
1328+ #[ cfg_attr( test, assert_instr( " vshr.u8" , imm3 = 1 ) ) ]
13291329#[ rustc_args_required_const( 1 ) ]
13301330pub unsafe fn vshrq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
13311331 if imm3 < 0 || imm3 > 7 {
@@ -1356,7 +1356,7 @@ pub unsafe fn vshrq_n_u8(a: uint8x16_t, imm3: i32) -> uint8x16_t {
13561356#[ inline]
13571357#[ target_feature( enable = "neon" ) ]
13581358#[ cfg_attr( target_arch = "arm" , target_feature( enable = "v7" ) ) ]
1359- #[ cfg_attr( test, assert_instr( vshl. s8, imm3 = 1 ) ) ]
1359+ #[ cfg_attr( test, assert_instr( " vshl.s8" , imm3 = 1 ) ) ]
13601360#[ rustc_args_required_const( 1 ) ]
13611361pub unsafe fn vshlq_n_u8 ( a : uint8x16_t , imm3 : i32 ) -> uint8x16_t {
13621362 if imm3 < 0 || imm3 > 7 {
0 commit comments