[PATCH 4/5] chacha20-armv7-neon: fix to use fast code path when memory is aligned
Jussi Kivilinna
jussi.kivilinna at iki.fi
Thu May 18 19:27:44 CEST 2017
* cipher/chacha20-armv7-neon.S (UNALIGNED_LDMIA4): Uncomment
instruction for jump to aligned code path.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
cipher/chacha20-armv7-neon.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cipher/chacha20-armv7-neon.S b/cipher/chacha20-armv7-neon.S
index 4d3340b3..c1971fc7 100644
--- a/cipher/chacha20-armv7-neon.S
+++ b/cipher/chacha20-armv7-neon.S
@@ -54,7 +54,7 @@
#define UNALIGNED_LDMIA4(ptr, l0, l1, l2, l3) \
tst ptr, #3; \
- /*beq 1f;*/ \
+ beq 1f; \
vpush {d0-d1}; \
vld1.32 {d0-d1}, [ptr]; \
add ptr, #16; \
More information about the Gcrypt-devel
mailing list