summaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2021-07-01 14:23:50 +1000
committerPauli <pauli@openssl.org>2021-07-06 10:49:01 +1000
commitbf9b78214d651f84ca328506fee1bd0bd857fed8 (patch)
tree8be98a69fa6142e9d0d48c31232b036d981213f7 /crypto/bn/asm
parent643ce3108f88751c44348335bed91e475d50677d (diff)
bn: Use a basic branch-if-not-zero
Ancient toolchains fail the build because they don't like the hints, newer ISAs recommend not using the hints and relying on dynamic branch prediction. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15971)
Diffstat (limited to 'crypto/bn/asm')
-rwxr-xr-xcrypto/bn/asm/ppc64-mont-fixed.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/asm/ppc64-mont-fixed.pl b/crypto/bn/asm/ppc64-mont-fixed.pl
index da4967a730..ce66611759 100755
--- a/crypto/bn/asm/ppc64-mont-fixed.pl
+++ b/crypto/bn/asm/ppc64-mont-fixed.pl
@@ -267,7 +267,7 @@ ___
addze $tp[$n],$tp[$n+1]
addi $i,$i,$SIZE_T
- bc 25,0,$label->{"outer"}
+ bdnz $label->{"outer"}
and. $tp[$n],$tp[$n],$tp[$n]
bne $label->{"sub"}