From: Martin Schwenke Date: Wed, 16 Jun 2021 04:58:08 +0000 (+1000) Subject: bn: Drop unnecessary use of r9 X-Git-Tag: openssl-3.0.0-beta2~250 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77bd294bd0249eae040438a785fe17fb631eaa97;p=thirdparty%2Fopenssl.git bn: Drop unnecessary use of r9 This is done in other versions due to the possibility of an early return. However, there is no early return here. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15798) --- diff --git a/crypto/bn/asm/ppc64-mont-fixed.pl b/crypto/bn/asm/ppc64-mont-fixed.pl index b96f60d5aa0..941882ec82f 100755 --- a/crypto/bn/asm/ppc64-mont-fixed.pl +++ b/crypto/bn/asm/ppc64-mont-fixed.pl @@ -72,8 +72,6 @@ my $np = "r6"; my $n0 = "r7"; my $num = "r8"; -$rp = "r9"; # $rp is reassigned - my $c0 = "r10"; my $bp0 = "r11"; my $bpi = "r11"; @@ -188,7 +186,6 @@ sub mul_mont_fixed($) .globl .${fname} .align 5 .${fname}: - mr $rp,r3 ___