From 663ecd998015d4da700c215ca6b9deebf97eb4a8 Mon Sep 17 00:00:00 2001 From: divinity76 Date: Fri, 9 Feb 2024 23:03:29 +0100 Subject: [PATCH] comments can stay --- c/blake3_neon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c/blake3_neon.c b/c/blake3_neon.c index e91c4c6..b80f1fc 100644 --- a/c/blake3_neon.c +++ b/c/blake3_neon.c @@ -9,10 +9,12 @@ #endif INLINE uint32x4_t loadu_128(const uint8_t src[16]) { + // vld1q_u32 has alignment requirements. Don't use it. return vreinterpretq_u32_u8(vld1q_u8(src)); } INLINE void storeu_128(uint32x4_t src, uint8_t dest[16]) { + // vst1q_u32 has alignment requirements. Don't use it. vst1q_u8(dest, vreinterpretq_u8_u32(src)); }