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

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

Intel Software Network Support's picture

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


1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.