Skip to content

Commit dbe1df7

Browse files
committed
fixup! Move vector combine intrisics to arm/neon.rs
1 parent 20c64c9 commit dbe1df7

File tree

1 file changed

+12
-24
lines changed
  • crates/core_arch/src/arm_shared/neon

1 file changed

+12
-24
lines changed

crates/core_arch/src/arm_shared/neon/mod.rs

+12-24
Original file line numberDiff line numberDiff line change
@@ -6920,8 +6920,7 @@ pub unsafe fn vusmmlaq_s32(a: int32x4_t, b: uint8x16_t, c: int8x16_t) -> int32x4
69206920
#[inline]
69216921
#[target_feature(enable = "neon")]
69226922
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
6923-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
6924-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6923+
#[cfg_attr(test, assert_instr(nop))]
69256924
pub unsafe fn vcombine_f16 ( low: float16x4_t, high: float16x4_t) -> float16x8_t {
69266925
simd_shuffle8!(low, high, [0, 1, 2, 3, 4, 5, 6, 7])
69276926
}
@@ -6931,8 +6930,7 @@ pub unsafe fn vcombine_f16 ( low: float16x4_t, high: float16x4_t) -> float16x8_
69316930
#[inline]
69326931
#[target_feature(enable = "neon")]
69336932
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
6934-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
6935-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6933+
#[cfg_attr(test, assert_instr(nop))]
69366934
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
69376935
pub unsafe fn vcombine_f32(low: float32x2_t, high: float32x2_t) -> float32x4_t {
69386936
simd_shuffle4!(low, high, [0, 1, 2, 3])
@@ -6942,8 +6940,7 @@ pub unsafe fn vcombine_f32(low: float32x2_t, high: float32x2_t) -> float32x4_t {
69426940
#[inline]
69436941
#[target_feature(enable = "neon")]
69446942
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
6945-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
6946-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6943+
#[cfg_attr(test, assert_instr(nop))]
69476944
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
69486945
pub unsafe fn vcombine_p8(low: poly8x8_t, high: poly8x8_t) -> poly8x16_t {
69496946
simd_shuffle16!(
@@ -6957,8 +6954,7 @@ pub unsafe fn vcombine_p8(low: poly8x8_t, high: poly8x8_t) -> poly8x16_t {
69576954
#[inline]
69586955
#[target_feature(enable = "neon")]
69596956
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
6960-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
6961-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6957+
#[cfg_attr(test, assert_instr(nop))]
69626958
#[stable(feature = "neon_intrinsics", since = "1.59.0")]
69636959
pub unsafe fn vcombine_p16(low: poly16x4_t, high: poly16x4_t) -> poly16x8_t {
69646960
simd_shuffle8!(low, high, [0, 1, 2, 3, 4, 5, 6, 7])
@@ -6968,8 +6964,7 @@ pub unsafe fn vcombine_p16(low: poly16x4_t, high: poly16x4_t) -> poly16x8_t {
69686964
#[inline]
69696965
#[target_feature(enable = "neon")]
69706966
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
6971-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
6972-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6967+
#[cfg_attr(test, assert_instr(nop))]
69736968
#[cfg_attr(
69746969
target_arch = "aarch64",
69756970
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -6986,8 +6981,7 @@ pub unsafe fn vcombine_s8(low: int8x8_t, high: int8x8_t) -> int8x16_t {
69866981
#[inline]
69876982
#[target_feature(enable = "neon")]
69886983
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
6989-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
6990-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6984+
#[cfg_attr(test, assert_instr(nop))]
69916985
#[cfg_attr(
69926986
target_arch = "aarch64",
69936987
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -7000,8 +6994,7 @@ pub unsafe fn vcombine_s16(low: int16x4_t, high: int16x4_t) -> int16x8_t {
70006994
#[inline]
70016995
#[target_feature(enable = "neon")]
70026996
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
7003-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
7004-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
6997+
#[cfg_attr(test, assert_instr(nop))]
70056998
#[cfg_attr(
70066999
target_arch = "aarch64",
70077000
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -7014,8 +7007,7 @@ pub unsafe fn vcombine_s32(low: int32x2_t, high: int32x2_t) -> int32x4_t {
70147007
#[inline]
70157008
#[target_feature(enable = "neon")]
70167009
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
7017-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
7018-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
7010+
#[cfg_attr(test, assert_instr(nop))]
70197011
#[cfg_attr(
70207012
target_arch = "aarch64",
70217013
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -7028,8 +7020,7 @@ pub unsafe fn vcombine_s64(low: int64x1_t, high: int64x1_t) -> int64x2_t {
70287020
#[inline]
70297021
#[target_feature(enable = "neon")]
70307022
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
7031-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
7032-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
7023+
#[cfg_attr(test, assert_instr(nop))]
70337024
#[cfg_attr(
70347025
target_arch = "aarch64",
70357026
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -7046,8 +7037,7 @@ pub unsafe fn vcombine_u8(low: uint8x8_t, high: uint8x8_t) -> uint8x16_t {
70467037
#[inline]
70477038
#[target_feature(enable = "neon")]
70487039
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
7049-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
7050-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
7040+
#[cfg_attr(test, assert_instr(nop))]
70517041
#[cfg_attr(
70527042
target_arch = "aarch64",
70537043
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -7074,8 +7064,7 @@ pub unsafe fn vcombine_u32(low: uint32x2_t, high: uint32x2_t) -> uint32x4_t {
70747064
#[inline]
70757065
#[target_feature(enable = "neon")]
70767066
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
7077-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
7078-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
7067+
#[cfg_attr(test, assert_instr(nop))]
70797068
#[cfg_attr(
70807069
target_arch = "aarch64",
70817070
stable(feature = "neon_intrinsics", since = "1.59.0")
@@ -7088,8 +7077,7 @@ pub unsafe fn vcombine_u64(low: uint64x1_t, high: uint64x1_t) -> uint64x2_t {
70887077
#[inline]
70897078
#[target_feature(enable = "neon")]
70907079
#[cfg_attr(target_arch = "arm", target_feature(enable = "v7"))]
7091-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(nop))]
7092-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(mov))]
7080+
#[cfg_attr(test, assert_instr(nop))]
70937081
#[cfg_attr(
70947082
target_arch = "aarch64",
70957083
stable(feature = "neon_intrinsics", since = "1.59.0")

0 commit comments

Comments
 (0)