We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4ca211 commit 3e0efe2Copy full SHA for 3e0efe2
crates/core_arch/src/aarch64/neon/mod.rs
@@ -624,15 +624,15 @@ pub unsafe fn vld1q_p16(ptr: *const p16) -> poly16x8_t {
624
#[target_feature(enable = "neon,aes")]
625
#[cfg_attr(test, assert_instr(ldr))]
626
pub unsafe fn vld1_p64(ptr: *const p64) -> poly64x1_t {
627
- transmute(u64x1::new(*ptr))
+ read_unaligned(ptr.cast())
628
}
629
630
/// Load multiple single-element structures to one, two, three, or four registers.
631
#[inline]
632
633
634
pub unsafe fn vld1q_p64(ptr: *const p64) -> poly64x2_t {
635
- transmute(u64x2::new(*ptr, *ptr.offset(1)))
636
637
638
0 commit comments