alpha-mont.pl: comply with stack alignment requirement [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Sat, 10 Apr 2010 13:33:46 +0000 (13:33 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 10 Apr 2010 13:33:46 +0000 (13:33 +0000)
crypto/bn/asm/alpha-mont.pl

index 7a2cc3173b0ec49b29771bec2c24f94ada1ffd0a..f7e0ca1646cd3caad91ec442aee62fc3031bd039 100644 (file)
@@ -53,15 +53,15 @@ $code=<<___;
 .align 5
 .ent   bn_mul_mont
 bn_mul_mont:
-       lda     sp,-40(sp)
+       lda     sp,-48(sp)
        stq     ra,0(sp)
        stq     s3,8(sp)
        stq     s4,16(sp)
        stq     s5,24(sp)
        stq     fp,32(sp)
        mov     sp,fp
-       .mask   0x0400f000,-40
-       .frame  fp,40,ra
+       .mask   0x0400f000,-48
+       .frame  fp,48,ra
        .prologue 0
 
        .align  4
@@ -306,7 +306,7 @@ bn_mul_mont:
        ldq     s4,16(sp)
        ldq     s5,24(sp)
        ldq     fp,32(sp)
-       lda     sp,40(sp)
+       lda     sp,48(sp)
        ret     (ra)
 .end   bn_mul_mont
 .rdata