SUNDAY, APRIL 19, 2026 GCC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The GCC Digest
— A Daily Record of the GNU Compiler Collection —
nvptx Impact 7 / 10

nvptx: Support '-mptx=4.0'

Adds support for PTX version 4.0 to the nvptx backend.

The nvptx backend now supports the ‘-mptx=4.0’ option, allowing developers to target PTX version 4.0. This commit introduces the necessary definitions, adjustments to the compiler options, and documentation updates. A new test case is included to verify the functionality.

Filed Under: nvptxgpuptxcode generation