From: Martin Schwenke Date: Thu, 1 Jul 2021 04:23:50 +0000 (+1000) Subject: bn: Use a basic branch-if-not-zero X-Git-Tag: openssl-3.0.0-beta2~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf9b78214d651f84ca328506fee1bd0bd857fed8;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15971) --- diff --git a/crypto/bn/asm/ppc64-mont-fixed.pl b/crypto/bn/asm/ppc64-mont-fixed.pl index da4967a730f..ce666117597 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"}