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

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

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


Contact us

1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.