From 77bd294bd0249eae040438a785fe17fb631eaa97 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 16 Jun 2021 14:58:08 +1000 Subject: [PATCH] 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) --- crypto/bn/asm/ppc64-mont-fixed.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/crypto/bn/asm/ppc64-mont-fixed.pl b/crypto/bn/asm/ppc64-mont-fixed.pl index b96f60d5aa..941882ec82 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 ___