Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is _mm_prefetch in Visual Studio 2012?

Tags:

c++

sse

prefetch

I would like to use instruction _mm_prefetch. MSDN specifies that it is in header mmintrin.h, but there is not. I use Visual Studio 2012.

like image 665
Tomas Kubes Avatar asked Sep 14 '12 05:09

Tomas Kubes


People also ask

Why do we introduce different versions of the prefetch files?

The main objective behind to introduce different versions of the prefetch files to increase the stability of the prefetch files: These files are used to study the behavior of the Application means which application executes automatically or not etc

What is prefetch version and timestamp?

Version: Version of the prefetch means how encryption to be done while making prefetch files Timestamp: The Last time when the files were executed on the system. Volume Device Path: Volume or logical drive is a single accessible storage area where the file was executed.

Where is the prefetch file located in Windows 10?

Step 1: Press the Windows+R button and search prefetch. Step 2: C:\Windows\Prefetch – This location folder contains all the prefetch files in your local machine. Prefetch files stored all the necessary information regarding the executable application.

What is the use of prefetch file in Python?

These files can be used to extract timestamp and other resources consumed when the file executes. These files are all stored in the ROOT/Windows/Prefetch folder and most of the files have PF extension For eg: PYTHON_3.6.1-AMD64.EXE-6F01AFF6.pf. The prefetch file for PYTHON_3.6.1-AMD64.EXE would appear as PYTHON_3.6.1-AMD64.EXE-6F01AFF6.pf,


1 Answers

Looks like a bug in their documentation. I couldn't find it in <mmintrin.h> either, but it appears to be in <xmmintrin.h>.


This compiles in VS2010:

#include <xmmintrin.h>

int main()
{

    _mm_prefetch(0,0);

    return 0;
}
like image 189
Mysticial Avatar answered Sep 20 '22 12:09

Mysticial