[Gmp-commit] /var/hg/gmp: Really add DOS entry/exit sequences.

mercurial at gmplib.org mercurial at gmplib.org
Mon Apr 16 21:53:00 CEST 2012


details:   /var/hg/gmp/rev/dc13f686713f
changeset: 14840:dc13f686713f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Apr 16 21:52:55 2012 +0200
description:
Really add DOS entry/exit sequences.

diffstat:

 mpn/x86_64/fastsse/lshiftc-movdqu2.asm |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r a77538915df3 -r dc13f686713f mpn/x86_64/fastsse/lshiftc-movdqu2.asm
--- a/mpn/x86_64/fastsse/lshiftc-movdqu2.asm	Mon Apr 16 20:21:58 2012 +0200
+++ b/mpn/x86_64/fastsse/lshiftc-movdqu2.asm	Mon Apr 16 21:52:55 2012 +0200
@@ -56,6 +56,7 @@
 	TEXT
 	ALIGN(64)
 PROLOGUE(mpn_lshiftc)
+	DOS64_ENTRY(4)
 	movd	R32(%rcx), %xmm4
 	mov	$64, R32(%rax)
 	sub	R32(%rcx), R32(%rax)
@@ -147,6 +148,7 @@
 	por	%xmm1, %xmm0
 	pxor	%xmm7, %xmm0
 	movdqa	%xmm0, (rp)
+	DOS64_EXIT()
 	ret
 
 C Basecase
@@ -175,5 +177,6 @@
 	psllq	%xmm4, %xmm0
 	pxor	%xmm7, %xmm0
 	movq	%xmm0, (rp)
+	DOS64_EXIT()
 	ret
 EPILOGUE()


More information about the gmp-commit mailing list