summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/adler32_neon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/adler32_neon.c b/arch/arm/adler32_neon.c
index 169a785edc..44d274dd9f 100644
--- a/arch/arm/adler32_neon.c
+++ b/arch/arm/adler32_neon.c
@@ -169,7 +169,7 @@ Z_FORCEINLINE static void NEON_accum32(uint32_t *s, const uint8_t *buf, size_t l
int rem = len & 3;
for (size_t i = 0; i < num_iter; ++i) {
- uint8x16x4_t d0_d3 = vld1q_u8_x4_ex(buf, 128);
+ uint8x16x4_t d0_d3 = vld1q_u8_x4_ex(buf, 256);
/* Unfortunately it doesn't look like there's a direct sum 8 bit to 32
* bit instruction, we'll have to make due summing to 16 bits first */