diff options
author | Andy Polyakov <appro@openssl.org> | 2010-01-07 15:36:59 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-01-07 15:36:59 +0000 |
commit | 74f22606942d1740ca1d9c20d8f69098725f3a9f (patch) | |
tree | dc004291783e4baec91dcfcc2d2e2c9a5db306fd | |
parent | 25d1d62275316c9b13163bd910c831c850467f81 (diff) |
ia64-mont.pl: addp4 is not needed when referring to stack (this is 32-bit
HP-UX thing).
-rw-r--r-- | crypto/bn/asm/ia64-mont.pl | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/crypto/bn/asm/ia64-mont.pl b/crypto/bn/asm/ia64-mont.pl index 0084213fb5..fc539d5264 100644 --- a/crypto/bn/asm/ia64-mont.pl +++ b/crypto/bn/asm/ia64-mont.pl @@ -134,7 +134,7 @@ bn_mul_mont: };; { .mfi; nop.m 0 xma.hu ahi[1]=alo[3],bi,ahi[2] // ap[1]*bp[0] - $ADDP tp_1=8,sp } + add tp_1=8,sp } { .mfi; nop.m 0 xma.lu alo[3]=alo[3],bi,ahi[2] mov pr.rot=0x20001f<<16 @@ -184,11 +184,10 @@ bn_mul_mont: (p41) add topbit=r0,r0,1 nop.i 0 } { .mmi; st8 [tp_1]=n[0] - $ADDP tptr=16,sp - $ADDP tp_1=8,sp };; -___ - -$code.=<<___; + add tptr=16,sp + add tp_1=8,sp };; + + .Louter: { .mmi; ldf8 bi=[bptr],8 // (*bp++) ldf8 ahi[3]=[tptr] // tp[0] @@ -282,8 +281,8 @@ $code.=<<___; sub aptr=aptr,len };; // rewind { .mmi; sub nptr=nptr,len (p41) add topbit=r0,r0,1 - $ADDP tptr=16,sp } -{ .mmb; $ADDP tp_1=8,sp + add tptr=16,sp } +{ .mmb; add tp_1=8,sp add num=-1,num // num-- (p6) br.cond.sptk.many .Louter };; |