Intel C++ Compiler

Intel C++ Compiler
Basisdaten

Entwickler Intel
Aktuelle Version 19.0.5 (XE 2019)
(7. März 2019[1])
Betriebssystem Linux, Windows und Mac OS X
Kategorie Compiler
Lizenz proprietäre Software
software.intel.com

Der Intel C/C++ Compiler oder kurz ICC ist ein Compiler mit Frontends für C und C++, den der Prozessorhersteller Intel zur Verfügung stellt. Erhältlich ist die aktuelle Version des Compilers für die Betriebssysteme Linux, Windows und Mac OS X und die Prozessorarchitekturen IA-32, x86-64 (Intel 64, AMD64). IA-64 (Itanium2) wird mit den Versionen 11.x des Compilers unterstützt. Die Produktpakete Composer sind sowohl sprachspezifisch als auch gemeinsam für C/C++ und Fortran erhältlich und umfassen jeweils alle Intel-Performanzbibliotheken (IPP, MKL usw.). Alle genannten Compiler unterstützen OpenMP.

Die Compiler sind kompatibel zu sowohl der GCC als auch dem Microsoft Compiler unter Windows. Sie haben zusätzliche Fähigkeiten wie automatische Vektorisierung und unterstützen die SIMD-Befehlssatzerweiterungen MMX, SSE, SSE2, SSE3, SSE4 und AVX.

Für nichtkommerzielle Projekte war die Linux-Lizenz für die Architekturen x86, x64 und IA64 bis Mitte 2014 kostenfrei. Dieses Programm wurde inzwischen eingestellt.[2]

Kritik

Eine optimale Performance wird nur für Intel-CPUs erzielt. Eine vom Compiler generierte CPU-Dispatch-Funktion liest zur Laufzeit den CPU-Vendor-String aus und führt optimierten Code nur für GenuineIntel-Prozessoren aus, unabhängig vom tatsächlich vorhandenen Befehlssatz.

“If the vendor string says ‘GenuineIntel’ then it uses the optimal code path. If the CPU is not from Intel then, in most cases, it will run the slowest possible version of the code, even if the CPU is fully compatible with a better version.”

„Lautet der vendor string ‚GenuineIntel‘, so verwendet er den optimalen Codepfad. Ist die CPU nicht von Intel, läuft in den meisten Fällen die langsamst mögliche Codeversion, auch wenn die CPU vollständig mit einer besseren Version kompatibel ist.“

Agner Fog[3]

Nachdem Intel 2009 einen Rechtsstreit gegen AMD verlor, wird auf dieses Verhalten hingewiesen:

“Intel® compilers, associated libraries and associated development tools may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include Intel® Streaming SIMD Extensions 2 (Intel® SSE2), Intel® Streaming SIMD Extensions 3 (Intel® SSE3), and Supplemental Streaming SIMD Extensions 3 (Intel® SSSE3) instruction sets and other optimizations.”

Intel[4]

Siehe auch

Einzelnachweise

  1. software.intel.com Intel C++ Compiler 19.0 Release Notes
  2. software.intel.com
  3. Agner’s CPU Blog
  4. Memento des Internet Archives vom 12. März 2016 der ursprünglichen Original-Artikels zur Verwendung von IPP auf AMD-Systemen ('Use Intel® IPP on Compatible AMD* Processors')