LLVM/Clang Finally Lands Mainline Support For AMD's Zen/Ryzen Processors

Written by Michael Larabel in LLVM on 10 January 2017 at 07:29 AM EST. 17 Comments
LLVM
The latest LLVM and Clang compiler code as of this morning now has support for Zen (AMD Ryzen) processors.

Back in 2015 there was the AMD Zen "znver1" patches for GCC along with Zen for Binutils while with the latest Git/SVN development code for LLVM/Clang today is similar "znver1" support.

The patches to LLVM and Clang add the "znver1" flag for tuning to the AMD Family 17h architecture, ISA coverage of the Zen version 1 architecture, -march=native support when running on Zen, dropping of FMA4/XOP support for znver1, and more. But for the time being it's making use of the older btver2 scheduler model.

This initial support for AMD's Zen CPUs will be present in next month's LLVM/Clang 4.0 release.
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