mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-28 13:46:02 +02:00
comments can stay
This commit is contained in:
parent
4df11ecd4f
commit
663ecd9980
|
@ -9,10 +9,12 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
INLINE uint32x4_t loadu_128(const uint8_t src[16]) {
|
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));
|
return vreinterpretq_u32_u8(vld1q_u8(src));
|
||||||
}
|
}
|
||||||
|
|
||||||
INLINE void storeu_128(uint32x4_t src, uint8_t dest[16]) {
|
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));
|
vst1q_u8(dest, vreinterpretq_u8_u32(src));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue