GCC 9 Lands Support For Intel PTWRITE
Written by Michael Larabel in Intel on 9 November 2018 at 06:11 AM EST. Add A Comment
INTEL --
There has been a flurry of activity recently for the GCC 9 compiler due to feature development ending soon. The latest work hitting their mainline tree this morning is support for the Intel PTWRITE instruction.

PTWRITE is a new instruction for Intel CPUs that allows writing values into the processor trace (PT) log. The intention of this is for allowing lightweight instrumentation/tracing of programs. The PTWRITE instruction is initially supported by Intel Geminilake / Goldmont Plus hardware.

The work is now merged and ready for the GCC 9.1 stable release due out in early 2019.

Intel's ICC compiler has already supported PTWRITE and LLVM/Clang has also supported it since earlier this year. There are also various Linux kernel patches making use of PTWRITE.
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 10,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.

Related Intel News
Popular News This Week