1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Fix dotprod detection

This fixes the detection of dotprod capable CPUs. Previously it looked
for the `dotprod` flag, but this does not exist
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/kernel/cpuinfo.c#n50).
The correct flag that specifies the dotprod capability is the `asimddp`
flag.

fixes #4931

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

No functional change
This commit is contained in:
Torsten Hellwig 2024-01-15 13:13:53 +01:00 committed by Disservin
parent 0c7f56dea6
commit 6c02329860

View file

@ -79,7 +79,7 @@ case $uname_s in
'aarch64')
file_os='android'
true_arch='armv8'
if check_flags 'dotprod'; then
if check_flags 'asimddp'; then
true_arch="$true_arch-dotprod"
fi
;;