summaryrefslogtreecommitdiff
path: root/mpn/powerpc32
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-05-24 10:22:26 +0200
committerTorbjorn Granlund <tege@gmplib.org>2010-05-24 10:22:26 +0200
commitc2fd56c19ed1732ab26a1f98c450690a1aebdc0b (patch)
treef762ed26099da809ddf46cc5dd6ca77fbde94039 /mpn/powerpc32
parent1f8bd61e70243f225f00129cbf0a1373cf243f22 (diff)
downloadgmp-c2fd56c19ed1732ab26a1f98c450690a1aebdc0b.tar.gz
Adjust cutoff point.
Diffstat (limited to 'mpn/powerpc32')
-rw-r--r--mpn/powerpc32/lshift.asm4
-rw-r--r--mpn/powerpc32/rshift.asm4
2 files changed, 4 insertions, 4 deletions
diff --git a/mpn/powerpc32/lshift.asm b/mpn/powerpc32/lshift.asm
index e30617314..00dcc7029 100644
--- a/mpn/powerpc32/lshift.asm
+++ b/mpn/powerpc32/lshift.asm
@@ -38,7 +38,7 @@ C cnt r6
ASM_START()
PROLOGUE(mpn_lshift)
- cmpwi cr0, r5, 12 C more than 12 limbs?
+ cmpwi cr0, r5, 30 C more than 30 limbs?
slwi r0, r5, 2
add r4, r4, r0 C make r4 point at end of s1
add r7, r3, r0 C make r7 point at end of res
@@ -153,4 +153,4 @@ L(loopU):
stw r12, -20(r7)
lmw r24, -32(r1) C restore registers
blr
-EPILOGUE(mpn_lshift)
+EPILOGUE()
diff --git a/mpn/powerpc32/rshift.asm b/mpn/powerpc32/rshift.asm
index b069a93d1..d9a74011c 100644
--- a/mpn/powerpc32/rshift.asm
+++ b/mpn/powerpc32/rshift.asm
@@ -38,7 +38,7 @@ C cnt r6
ASM_START()
PROLOGUE(mpn_rshift)
- cmpwi cr0, r5, 12 C more than 12 limbs?
+ cmpwi cr0, r5, 30 C more than 30 limbs?
addi r7, r3, -4 C dst-4
bgt L(BIG) C branch if more than 12 limbs
@@ -151,4 +151,4 @@ L(loopU):
stw r12, 20(r7)
lmw r24, -32(r1) C restore registers
blr
-EPILOGUE(mpn_rshift)
+EPILOGUE()