News: 0001631752

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

NVIDIA Looking To Create New Tool For Generating AutoFDO Profiles For GCC

([NVIDIA] 91 Minutes Ago AutoFDO Profiling For GCC Toolchain)


NVIDIA compiler engineers are looking to develop a standalone tool that could be upstreamed into the GNU Compiler Collection (GCC) codebase for generating [1]AutoFDO profiles for consumption by GCC in turn for better benefiting from automatic feedback directed optimizations (FDO) in the name of better performance.

Due to the current AutoFDO tools from Google not being used by GCC but rather tailored for LLVM/Clang, NVIDIA engineers are stepping up in pursuing an AutoFDO profile creation tool for GCC. This tool would be catered to GCC, aims to be lightweight and memory efficient, and work well for creating AutoFDO profiles.

Automatic Feedback Directed Optimizations can be of significant performance benefit when engaged by the compiler, but relies on sampling profiles of the program being built in order for the compiler to make more accurate assessments for optimizations. With this proposed NVIDIA tool it would help developers in creating those AutoFDO profiles for consumption by GCC during the secondary builds for leveraging that profile data. This tool would be catered to GCC, aims to be lightweight and memory efficient, and work well for creating AutoFDO profiles in pairing with the GNU toolchain.

Google uses AutoFDO on the likes of Android and previously have [2]shown off some very strong benefits but critical is collecting the necessary sample profiles:

The request for comments on this proposed tool was sent out to the GCC mailing list by NVIDIA engineer Kugan Vivekanandarajah. See [3]this GCC mailing list thread for details on the proposal. It's great seeing NVIDIA stepping up to this open-source contribution for addressing this current optimization shortcoming relative to LLVM/Clang's AutoFDO support.



[1] https://www.phoronix.com/search/AutoFDO

[2] https://www.phoronix.com/news/Android-Using-Linux-AutoFDO

[3] https://gcc.gnu.org/pipermail/gcc/2026-April/247990.html



Brook's Law:
Adding manpower to a late software project makes it later.