GCC Lands Cannonlake, Skylake Costs; LLVM/Clang Gets Intel CET

Written by Michael Larabel in LLVM on 26 November 2017 at 12:20 PM EST. Add A Comment
LLVM
In addition to the GCC plugin support on Windows/MinGW, there are more compiler happenings this weekend.

Hitting mainline GCC since that earlier post about the MinGW plugin support is this commit landing the -march=cannonlake target for these next-gen Intel CPUs. It's among the many GCC 8 features and previously covered the Cannonlake enablement while now it's been merged to mainline.

Over Skylake/Kabylake, notable to Cannonlake is now AVX-512 support being widely available rather than just limited to the server/X-Series CPUs. It's great to see AVX-512 support rolling out to Intel's entire desktop line-up. Cannonlake also adds the SHA extensions, CLWB persistent memory instructions, and UMIP for user-mode instruction prevention.

This Cannonlake commit also adds Skylake cost tables for generating better tuned code for Skylake CPUs and newer.

Meanwhile, on the LLVM compiler side, Intel landed their work on CET support in LLVM. CET is the Control-flow Enforcement Technology that already landed in GCC with this security feature aimed to prevent return-oriented programming and call-jump-oriented programming attacks.

CET will be supported in future Intel CPUs and now the core LLVM bits have landed as well as the Clang work. That work will be found in LLVM/Clang 6.0 due out early next year followed by GCC 8.1 one or two months later.
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