Modify source to follow new Makefile

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski
2010-05-19 22:44:26 +03:00
committed by Marco Costalba
parent 32590884df
commit 09884756d8
3 changed files with 24 additions and 17 deletions

View File

@@ -25,7 +25,7 @@
#include <cassert>
#include <cmath>
#include <cstring>
#if !(defined(__hpux) || defined(__ppc__) || defined(__ppc64__) || defined(__arm__))
#if defined(USE_PREFETCH)
# include <xmmintrin.h>
#endif
@@ -166,8 +166,8 @@ TTEntry* TranspositionTable::retrieve(const Key posKey) const {
/// to be loaded from RAM, that can be very slow. When we will
/// subsequently call retrieve() the TT data will be already
/// quickly accessible in L1/L2 CPU cache.
#if defined(__hpux) || defined(__ppc__) || defined(__ppc64__) || defined(__arm__)
void TranspositionTable::prefetch(const Key) const {} // Not supported on HP UX
#if !defined(USE_PREFETCH)
void TranspositionTable::prefetch(const Key) const {}
#else
void TranspositionTable::prefetch(const Key posKey) const {