mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix fallouts from previous patch
These kind of arch specific code is really nasty to make it right becuase you need to verify on all the platforms. Now should compile properly also on ARM Reported by Jean-Francois. No functional change.
This commit is contained in:
@@ -175,6 +175,7 @@ endif
|
|||||||
ifeq ($(COMP),mingw)
|
ifeq ($(COMP),mingw)
|
||||||
comp=mingw
|
comp=mingw
|
||||||
CXX=g++
|
CXX=g++
|
||||||
|
prefetch = yes
|
||||||
profile_prepare = gcc-profile-prepare
|
profile_prepare = gcc-profile-prepare
|
||||||
profile_make = gcc-profile-make
|
profile_make = gcc-profile-make
|
||||||
profile_use = gcc-profile-use
|
profile_use = gcc-profile-use
|
||||||
@@ -184,6 +185,7 @@ endif
|
|||||||
ifeq ($(COMP),gcc)
|
ifeq ($(COMP),gcc)
|
||||||
comp=gcc
|
comp=gcc
|
||||||
CXX=g++
|
CXX=g++
|
||||||
|
prefetch = yes
|
||||||
profile_prepare = gcc-profile-prepare
|
profile_prepare = gcc-profile-prepare
|
||||||
profile_make = gcc-profile-make
|
profile_make = gcc-profile-make
|
||||||
profile_use = gcc-profile-use
|
profile_use = gcc-profile-use
|
||||||
@@ -202,6 +204,7 @@ endif
|
|||||||
ifeq ($(COMP),clang)
|
ifeq ($(COMP),clang)
|
||||||
comp=clang
|
comp=clang
|
||||||
CXX=clang++
|
CXX=clang++
|
||||||
|
prefetch = yes
|
||||||
profile_prepare = gcc-profile-prepare
|
profile_prepare = gcc-profile-prepare
|
||||||
profile_make = gcc-profile-make
|
profile_make = gcc-profile-make
|
||||||
profile_use = gcc-profile-use
|
profile_use = gcc-profile-use
|
||||||
|
|||||||
@@ -227,7 +227,9 @@ void prefetch(char*) {}
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
# if defined(__INTEL_COMPILER) || defined(__ICL) || defined(_MSC_VER)
|
||||||
# include <xmmintrin.h>
|
# include <xmmintrin.h>
|
||||||
|
# endif
|
||||||
|
|
||||||
void prefetch(char* addr) {
|
void prefetch(char* addr) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user