@@ -11741,14 +11741,7 @@ pub unsafe fn vld2q_dup_u64(a: *const u64) -> uint64x2x2_t {
1174111741#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1174211742#[cfg_attr(test, assert_instr(ld2))]
1174311743pub unsafe fn vld2q_f64(a: *const f64) -> float64x2x2_t {
11744- unsafe extern "unadjusted" {
11745- #[cfg_attr(
11746- any(target_arch = "aarch64", target_arch = "arm64ec"),
11747- link_name = "llvm.aarch64.neon.ld2.v2f64.p0"
11748- )]
11749- fn _vld2q_f64(ptr: *const float64x2_t) -> float64x2x2_t;
11750- }
11751- _vld2q_f64(a as _)
11744+ crate::core_arch::macros::deinterleaving_load!(f64, 2, 2, a)
1175211745}
1175311746#[doc = "Load multiple 2-element structures to two registers"]
1175411747#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vld2q_s64)"]
@@ -11759,14 +11752,7 @@ pub unsafe fn vld2q_f64(a: *const f64) -> float64x2x2_t {
1175911752#[stable(feature = "neon_intrinsics", since = "1.59.0")]
1176011753#[cfg_attr(test, assert_instr(ld2))]
1176111754pub unsafe fn vld2q_s64(a: *const i64) -> int64x2x2_t {
11762- unsafe extern "unadjusted" {
11763- #[cfg_attr(
11764- any(target_arch = "aarch64", target_arch = "arm64ec"),
11765- link_name = "llvm.aarch64.neon.ld2.v2i64.p0"
11766- )]
11767- fn _vld2q_s64(ptr: *const int64x2_t) -> int64x2x2_t;
11768- }
11769- _vld2q_s64(a as _)
11755+ crate::core_arch::macros::deinterleaving_load!(i64, 2, 2, a)
1177011756}
1177111757#[doc = "Load multiple 2-element structures to two registers"]
1177211758#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vld2q_lane_f64)"]
0 commit comments