diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2011-11-17 09:02:17 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2011-11-17 09:02:17 +0100 |
commit | 4aa30987572b144b7606af6394aadf1efdc7a65c (patch) | |
tree | 41a47dfdcc4b200e55369700f69400ae24438188 /mpn | |
parent | 27057444042708cc07e7f2959af63076c042065b (diff) | |
download | gmp-4aa30987572b144b7606af6394aadf1efdc7a65c.tar.gz |
Use 32-bit insn forms.
Diffstat (limited to 'mpn')
-rw-r--r-- | mpn/powerpc32/tabselect.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mpn/powerpc32/tabselect.asm b/mpn/powerpc32/tabselect.asm index b12fecd12..155a7b495 100644 --- a/mpn/powerpc32/tabselect.asm +++ b/mpn/powerpc32/tabselect.asm @@ -47,10 +47,10 @@ ASM_START() ALIGN(16) PROLOGUE(mpn_tabselect) addi r0, n, 1 - srdi r0, r0, 1 C inner loop count + srwi r0, r0, 1 C inner loop count andi. r9, n, 1 C set cr0 for use in inner loop subf which, nents, which - sldi n, n, 2 + slwi n, n, 2 L(outer): mtctr r0 C put inner loop count in ctr @@ -90,7 +90,7 @@ L(top): lwz r9, 0(tp) bdnz L(top) L(end): subf rp, n, rp C move rp back to beginning - cmpdi cr6, nents, 1 + cmpwi cr6, nents, 1 addi nents, nents, -1 bne cr6, L(outer) |