[Gmp-commit] /var/hg/gmp: Adhere to DOS64 register partitioning rules.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Apr 17 22:39:14 CEST 2012
details: /var/hg/gmp/rev/05ac9337a803
changeset: 14846:05ac9337a803
user: Torbjorn Granlund <tege at gmplib.org>
date: Tue Apr 17 22:39:03 2012 +0200
description:
Adhere to DOS64 register partitioning rules.
diffstat:
ChangeLog | 3 +++
mpn/x86_64/fastsse/lshiftc-movdqu2.asm | 20 ++++++++++----------
2 files changed, 13 insertions(+), 10 deletions(-)
diffs (102 lines):
diff -r ed9a4b434f69 -r 05ac9337a803 ChangeLog
--- a/ChangeLog Tue Apr 17 22:35:26 2012 +0200
+++ b/ChangeLog Tue Apr 17 22:39:03 2012 +0200
@@ -1,5 +1,8 @@
2012-04-17 Torbjorn Granlund <tege at gmplib.org>
+ * mpn/x86_64/fastsse/lshiftc-movdqu2.asm: Adhere to DOS64 register
+ partitioning rules.
+
* mpn/x86_64/fastsse/copyi-palignr.asm: Implement temporary workaround
to overlap issue.
diff -r ed9a4b434f69 -r 05ac9337a803 mpn/x86_64/fastsse/lshiftc-movdqu2.asm
--- a/mpn/x86_64/fastsse/lshiftc-movdqu2.asm Tue Apr 17 22:35:26 2012 +0200
+++ b/mpn/x86_64/fastsse/lshiftc-movdqu2.asm Tue Apr 17 22:39:03 2012 +0200
@@ -66,7 +66,7 @@
mov -8(ap,n,8), %rax
shr R8(%rcx), %rax
- pcmpeqb %xmm7, %xmm7 C set to 111...111
+ pcmpeqb %xmm3, %xmm3 C set to 111...111
cmp $3, n
jle L(bc)
@@ -81,7 +81,7 @@
psllq %xmm4, %xmm0
psrlq %xmm5, %xmm1
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movq %xmm0, -8(rp,n,8)
dec n
@@ -108,7 +108,7 @@
psllq %xmm4, %xmm0
psrlq %xmm5, %xmm1
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movdqa %xmm0, 48(rp,n,8)
L(i70):
movdqu 24(ap,n,8), %xmm1
@@ -116,7 +116,7 @@
psllq %xmm4, %xmm0
psrlq %xmm5, %xmm1
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movdqa %xmm0, 32(rp,n,8)
L(i56):
movdqu 8(ap,n,8), %xmm1
@@ -124,7 +124,7 @@
psllq %xmm4, %xmm0
psrlq %xmm5, %xmm1
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movdqa %xmm0, 16(rp,n,8)
L(i34):
movdqu -8(ap,n,8), %xmm1
@@ -132,7 +132,7 @@
psllq %xmm4, %xmm0
psrlq %xmm5, %xmm1
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movdqa %xmm0, (rp,n,8)
sub $8, n
jg L(top)
@@ -146,7 +146,7 @@
psllq %xmm4, %xmm1
psrlq %xmm5, %xmm0
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movdqa %xmm0, (rp)
DOS64_EXIT()
ret
@@ -161,7 +161,7 @@
psllq %xmm4, %xmm1
psrlq %xmm5, %xmm0
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movq %xmm0, (rp,n,8)
sub $2, R32(n)
jl L(end8)
@@ -170,12 +170,12 @@
psllq %xmm4, %xmm1
psrlq %xmm5, %xmm0
por %xmm1, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movq %xmm0, 8(rp)
L(end8):movq (ap), %xmm0
psllq %xmm4, %xmm0
- pxor %xmm7, %xmm0
+ pxor %xmm3, %xmm0
movq %xmm0, (rp)
DOS64_EXIT()
ret
More information about the gmp-commit
mailing list