[PATCH] mpi: amd64: fix too large jump alignment in mpih-rshift

Jussi Kivilinna jussi.kivilinna at iki.fi
Wed Jan 4 23:35:58 CET 2017


* mpi/amd64/mpih-rshift.S (_gcry_mpih_rshift): Use 16-byte alignment
with 'ALIGN(4)' instead of 256-byte.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 0 files changed

diff --git a/mpi/amd64/mpih-rshift.S b/mpi/amd64/mpih-rshift.S
index 311b85b..7bd5942 100644
--- a/mpi/amd64/mpih-rshift.S
+++ b/mpi/amd64/mpih-rshift.S
@@ -57,7 +57,7 @@ C_SYMBOL_NAME(_gcry_mpih_rshift:)
 	addq	$2, %rdx
 	jg	.Lendo
 
-	ALIGN(8)			/* minimal alignment for claimed speed */
+	ALIGN(4)			/* minimal alignment for claimed speed */
 .Loop:	movq	-8(%rsi,%rdx,8), %mm6
 	movq	%mm6, %mm2
 	psllq	%mm0, %mm6




More information about the Gcrypt-devel mailing list