about SIMD code

about SIMD code

Bild des Benutzers llodds

Just write some SIMD code instead of making the compiler generate the SIMD code automatically, but how do I enable the icc compiler to compile with the code?

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers iliyapolak

Write inline SSE assembly and compile it with Intel compiler.

Bild des Benutzers Thomas Willhalm (Intel)

If you don't want to go down the path of writing in assembly language, there is also same kind of wrapper called "intrinsics" that looks and feels like a function call but are translated directly to assembly. A description is given in this article. For a recent example with AVX2, you might be interested in my blog.

Melden Sie sich an, um einen Kommentar zu hinterlassen.