summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-11-07 22:42:23 +0100
committerKevin Ryde <user42@zip.com.au>2001-11-07 22:42:23 +0100
commitee03e1899ff0af936d5b6db67e9b3725aad73c19 (patch)
tree72a4e59ca189d6f9d4ec630f7183092df65056db /mpn
parent2a5062024cefc9373008fcf86ffadbc1bba2652a (diff)
downloadgmp-ee03e1899ff0af936d5b6db67e9b3725aad73c19.tar.gz
* mpn/x86/k6/mod_34lsub1.asm, mpn/x86/k6/k62mmx/copyd.asm: Use Zdisp
to force good code alignment.
Diffstat (limited to 'mpn')
-rw-r--r--mpn/x86/k6/k62mmx/copyd.asm4
-rw-r--r--mpn/x86/k6/mod_34lsub1.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/mpn/x86/k6/k62mmx/copyd.asm b/mpn/x86/k6/k62mmx/copyd.asm
index e60d1407d..1f9dba538 100644
--- a/mpn/x86/k6/k62mmx/copyd.asm
+++ b/mpn/x86/k6/k62mmx/copyd.asm
@@ -71,8 +71,8 @@ deflit(`FRAME',0)
jz L(one_more)
leal 4(%edx,%ecx,4), %ebx
- movd 0(%eax,%ecx,4), %mm0 C high limb
- movd %mm0, 0(%edx,%ecx,4)
+Zdisp( movd, 0,(%eax,%ecx,4), %mm0) C high limb
+Zdisp( movd, %mm0, 0,(%edx,%ecx,4)) C Zdisp for good code alignment
cmpl $1, %ecx
je L(one_more)
diff --git a/mpn/x86/k6/mod_34lsub1.asm b/mpn/x86/k6/mod_34lsub1.asm
index 4056f5427..29f9daa4f 100644
--- a/mpn/x86/k6/mod_34lsub1.asm
+++ b/mpn/x86/k6/mod_34lsub1.asm
@@ -128,7 +128,7 @@ L(top):
js L(combine) C 0 more
- adcl 0(%edx), %ebx
+Zdisp( adcl, 0,(%edx), %ebx) C avoid code cache line crossings
movb $8, %cl
decl %eax