]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Revert "Relax alignment requirement in NEON_accum32."
authorNathan Moinvaziri <nathan@nathanm.com>
Fri, 6 Mar 2026 20:09:20 +0000 (12:09 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 8 Mar 2026 22:37:37 +0000 (23:37 +0100)
This reverts commit ced54ac89cb79d8df912d741c25ea7bce9061761.

arch/arm/adler32_neon.c

index 169a785edc34c863a17bb00e6357ed74c591a984..44d274dd9f7011974a90d3ebc72c28c1ea5d2cbd 100644 (file)
@@ -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 */