AMD adds support for Zen 5 to Linux GCC compiler

AMD Radeon 780M iGPU
(Image credit: AMD)

AMD has added support for its upcoming processors based on the next-generation Zen 5 microarchitecture into the GCC compiler. The 'znver5' is now a target in the GCC Git repository in time for the GCC 14.1 stable release, reports Phoronix. This move ensures that developers will have the necessary compiler support for Zen 5-based Ryzen and EPYC CPUs ahead of their launch later this year. 

In February, AMD announced the addition of the Zen 5 target to the GCC compiler, introducing new instructions such as AVXVNNI, MOVDIRI, MOVDIR64B, AVX512VP2INTERSECT, and PREFETCHI. These enhancements build on the capabilities of the previous Zen 4-powered processors, offering improved performance and efficiency for AMD's upcoming processors for client and datacenter PCs. 

Currently, the Zen 5 support in GCC uses the Zen 4 cost table, but AMD is expected to provide additional optimizations and enhancements in future patches. This ongoing development will further refine the compiler's ability to take full advantage of Zen 5's capabilities.

TOPICS
Anton Shilov
Contributing Writer

Anton Shilov is a contributing writer at Tom’s Hardware. Over the past couple of decades, he has covered everything from CPUs and GPUs to supercomputers and from modern process technologies and latest fab tools to high-tech industry trends.

  • linuxdude
    "... to Linux GCC compiler"

    There is no Linux GCC compiler.
    Reply
  • Sleepy_Hollowed
    linuxdude said:
    "... to Linux GCC compiler"

    There is no Linux GCC compiler.
    Is that you, disgraced Richard Stallman?
    Reply
  • Ogotai
    linuxdude said:
    There is no Linux GCC compiler.
    actually, it seems there is one, maybe not installed by default, but it does have one
    Reply