mirror of
https://github.com/openssl/openssl.git
synced 2025-01-12 13:36:28 +08:00
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)
This commit is contained in:
parent
7f98eaab8b
commit
450d980480
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user