File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/core_arch/src/aarch64/neon Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -624,15 +624,15 @@ pub unsafe fn vld1q_p16(ptr: *const p16) -> poly16x8_t {
624
624
#[ target_feature( enable = "neon,aes" ) ]
625
625
#[ cfg_attr( test, assert_instr( ldr) ) ]
626
626
pub unsafe fn vld1_p64 ( ptr : * const p64 ) -> poly64x1_t {
627
- transmute ( u64x1 :: new ( * ptr) )
627
+ read_unaligned ( ptr. cast ( ) )
628
628
}
629
629
630
630
/// Load multiple single-element structures to one, two, three, or four registers.
631
631
#[ inline]
632
632
#[ target_feature( enable = "neon,aes" ) ]
633
633
#[ cfg_attr( test, assert_instr( ldr) ) ]
634
634
pub unsafe fn vld1q_p64 ( ptr : * const p64 ) -> poly64x2_t {
635
- transmute ( u64x2 :: new ( * ptr, * ptr . offset ( 1 ) ) )
635
+ read_unaligned ( ptr. cast ( ) )
636
636
}
637
637
638
638
/// Load multiple single-element structures to one, two, three, or four registers.
You can’t perform that action at this time.
0 commit comments