Written by Michael Larabel in Intel on 21 October 2022 at 05:15 AM EDT. Add A Comment
As part of Intel's work starting to enable the compiler support for their Sierra Forest CPUs, AVX-VNNI-INT8 and AVX-IFMA support has been merged into the GCC 13 compiler for supporting these instructions being first introduced with Intel's Sierra Forest and Grand Ridge.

AVX-VNNI-INT8 are akin to the existing AVX-VNNI found with Alder lake and Sapphire Rapids but for an INT8 type. In turn AVX-VNNI is the VEX variant of AVX512-VNNI. The Vector Neural Network Instructions (VNNI) with native INT8 should further help with the deep learning performance for Intel's new processors in 2024.

This patch now in GCC 13 provides all the plumbing for AVX-VNNI-INT8 and the new "-mavxvnniint8". The AVX-VNNI-INT8 support will be flipped on automatically once the -march=sierraforest target is added.

A follow-up patch merged at the same time will auto-vectorize sdot product and udot product with VNNI INT8 instructions.

Another patch merged overnight adds the AVX-IFMA infrastructure for the GNU Compiler Collection. AVX-IFMA is for non-AVX-512 Integer Fused Multiply Add.

It's good as always seeing Intel engineers being punctual with their compiler enablement support for new instructions and processor support. GCC 13 with these additions and much more will debut as stable around April.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week