AMD Is Ready To Land Zen Processor Support In The GCC Compiler

Written by Michael Larabel in AMD on 4 October 2015 at 09:23 AM EDT. 18 Comments
AMD
Back in March was a patch enabling next-generation AMD Zen processor support for GCC and now it looks like this patch is ready to be added to the GNU Compiler Collect's trunk code-base for GCC 6.

AMD's Venkataramanan Kumar sent out the znver1 enablement patch for Zen again this past week on the GCC mailing list. The patch adds the new "znver1" AMD Family 17h Zen processor support while for now the costs and tuning tables are copied from GCC's "bdver4" Excavator and there's still some adjustments to be done to the scheduler.

That latest patch can be found on gcc-patches and since then upstream GCC developers have responded that the patch looks okay for landing into trunk, meaning it will be in their mainline development code-base that will turn into GCC 6.1 next year.

AMD Zen CPUs are detected in the GCC patch by the presence of the CLZERO instruction, which is new to the hardware. CLZERO zeroes out the 64-byte cache line specified in the RAX. GCC's AMD Zen znver1 targeting with this patch exposes the BMI, BMI2, F16C, FMA, FSGSBASE, AVX, AVX2, ADCX, RDSEED, MWAITX, SHA, CLZERO, AES, PCL_MUL, CX16, MOVBE, MMX, SSE, SSE2, SSE3, SSE4A, SSSE3, SSE4.1, SSE4.2, ABM, XSAVEC, XSAVES, CLFLUSHOPT, and POPCNT instruction set extensions.

AMD Zen hardware is expected to be available in 2016 and will largely make or break AMD's financial outlook going forward. Zen was designed in part by legendary CPU designer Jim Keller who once again left AMD last month. Compared to Bulldozer, Zen is focused on greater per-core performance and will utilize an SMT design.
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