diff options
author | Martin Schwenke <martin@meltin.net> | 2021-06-16 17:29:52 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-22 18:30:17 +1000 |
commit | 450d9804806a676485b8697cc2989777e3dc0cc8 (patch) | |
tree | cfd818aac64161451750c2206eda16aa71803469 /crypto/bn | |
parent | 7f98eaab8b5d5de22a869af1a92e29a4ea4b1776 (diff) |
bn: Update .align pseudo-ops to match convention
64-bit alignment at the beginning of functions, 32-bit alignment for
loop targets.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15798)
Diffstat (limited to 'crypto/bn')
-rwxr-xr-x | crypto/bn/asm/ppc64-mont-fixed.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/asm/ppc64-mont-fixed.pl b/crypto/bn/asm/ppc64-mont-fixed.pl index ba78c968a7..b96f60d5aa 100755 --- a/crypto/bn/asm/ppc64-mont-fixed.pl +++ b/crypto/bn/asm/ppc64-mont-fixed.pl @@ -186,6 +186,7 @@ sub mul_mont_fixed($) $self->add_code(<<___); .globl .${fname} +.align 5 .${fname}: mr $rp,r3 @@ -226,6 +227,7 @@ ___ mtctr $num b $label->{"enter"} +.align 4 $label->{"outer"}: ldx $bpi,$bp,$i @@ -247,6 +249,7 @@ ___ ___ $self->add_code(<<___); +.align 4 $label->{"enter"}: mulld $bpi,$tp[0],$n0 @@ -561,7 +564,6 @@ my $code; $code.=<<___; .machine "any" .text -.align 5 ___ my $mont; |