I would like to use the _mm_prefetch statement. MSDN indicates that it is in the mmintrin.h header, but it is not. I am using Visual Studio 2012.
Looks like an error in their documentation. I could not find him in <mmintrin.h>, but he seems to be in <xmmintrin.h>.
<mmintrin.h>
<xmmintrin.h>
This compiles in VS2010:
#include <xmmintrin.h> int main() { _mm_prefetch(0,0); return 0; }