From: Marco Costalba Date: Wed, 12 Aug 2009 07:40:03 +0000 (+0200) Subject: Finally fix prefetch on Linux X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=fd12e8cb239180607559bb805e233f7ea704a67c;hp=fd12e8cb239180607559bb805e233f7ea704a67c;ds=inline Finally fix prefetch on Linux It was due to a missing -msse compiler option ! Without this option the CPU silently discards prefetcht2 instructions during execution. Also added a (gcc documented) hack to prevent Intel compiler to optimize away the prefetches. Special thanks to Heinz for testing and suggesting improvments. And for Jim for testing icc on Windows. Signed-off-by: Marco Costalba ---