Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7953 Discussions

Q&A: Compiling void_mm_clflush() on Linux using icpc

Intel_Software_Netw1
301 Views

This is a question received by Intel Software Network Support, followed bya response provided by an Intel expert on the Intel C++ Compiler for Linux*:

Q. Do you know how to compile void_mm_clflush() on a Linux box using icpc?

A. _mm_clflush() is defined in "emmintrin.h" as SSE intrinsics.

So -xW, -xP, -xN, -xT all work.
In general, to use icpc, you just need to run the script "iccvars.sh" or "iccvars.csh" first, then you'll be able to use icpc.
$ icpc --help
For more information about void_mm_clflush(), see Vol. 2A of the Intel 64 and IA-32 Architectures Optimization Reference Manual, CLFLUSH -- Cache Line Flush.


==

Lexi S.

IntelSoftware NetworkSupport

http://www.intel.com/software

Contact us

0 Kudos
0 Replies
Reply