fix ppc altivec check & loongarch64-lsx typo

closes https://github.com/official-stockfish/Stockfish/pull/6276

No functional change
This commit is contained in:
Akshat Sinha
2025-08-30 15:03:09 +02:00
committed by Joost VandeVondele
parent cb7232a818
commit 69de394439
+2 -2
View File
@@ -31,7 +31,7 @@ set_arch_loongarch64() {
if check_flags 'lasx'; then
true_arch='loongarch64-lasx'
elif check_flags 'lsx'; then
true_arch='lonngarch64-lsx'
true_arch='loongarch64-lsx'
else
true_arch='loongarch64'
fi
@@ -57,7 +57,7 @@ set_arch_x86_64() {
}
set_arch_ppc_64() {
if $(grep -q -w "altivec" /proc/cpuinfo); then
if grep -q -w "altivec" /proc/cpuinfo; then
power=$(grep -oP -m 1 'cpu\t+: POWER\K\d+' /proc/cpuinfo)
if [ "0$power" -gt 7 ]; then
# VSX started with POWER8