Sony Continues Tuning AMD Jaguar Support Within The LLVM Clang Compiler
Written by Michael Larabel in LLVM on 21 August 2019 at 04:02 AM EDT. 18 Comments
LLVM --
Thanks to Sony using LLVM Clang as their default compiler toolchain for their PlayStation game console, they continue making improvements to the AMD Btver2/Jaguar code for optimized performance. The Jaguar APU is what's in the current PlayStation 4 while we've already seen contributions from Sony to improve the Zen CPU support ahead of their next-generation console.

Just this week was the newest contribution to the Jaguar/Btver2 target code within the LLVM compiler stack. This most recent addition is fixing the latency and throughput of CMPXCHG instructions. These improvements should yield better generated code around those instructions.

Those LLVM improvements for Jaguar were written by Andrea Di Biagio of the PlayStation compiler toolchain team. Nice to see Sony continuing to push their compiler toolchain improvements upstream.

Last year, long before Sony or AMD confirmed their next-generation console would be based on a Ryzen third-generation processor with Navi graphics, Sony had already been working on Zen target improvements for LLVM. It will be interesting to see what optimizations Sony's compiler team will be able to make there for AMD's benefit.

This week's code improvements and any other commits in the next few months will be candidates for the LLVM Clang 10.0 release due out in early 2020.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week