mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08: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:
committed by
Disservin
parent
0c7f56dea6
commit
6c02329860
@@ -79,7 +79,7 @@ case $uname_s in
|
|||||||
'aarch64')
|
'aarch64')
|
||||||
file_os='android'
|
file_os='android'
|
||||||
true_arch='armv8'
|
true_arch='armv8'
|
||||||
if check_flags 'dotprod'; then
|
if check_flags 'asimddp'; then
|
||||||
true_arch="$true_arch-dotprod"
|
true_arch="$true_arch-dotprod"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user