Landing: 7584007b7976

Project / Subsystem

gcc / nvptx

Date

2026-04-16

Author

Thomas Schwinge

Commit

7584007b797620c22da6da9783b04eda873e5e7f

Source

github

Impact

7/10

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
nvptx
patch_id
commit_hash
7584007b797620c22da6da9783b04eda873e5e7f
source_type
github
headline
nvptx: Support '-march=sm_50'
tldr
Adds support for the sm_50 architecture to the nvptx backend.
why_it_matters
Allows developers to target the sm_50 architecture, potentially unlocking new features and optimizations for NVIDIA GPUs.
author
Thomas Schwinge
impact_score
7
impact_rationale
Adds support for a specific GPU architecture, user-visible feature.
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • nvptx
  • gpu
  • sm_50
  • code generation
discussion_id_link
bugzilla_pr
date
2026-04-16T00:00:00.000Z

The nvptx backend now supports the ‘-march=sm_50’ option. This commit adds the necessary definitions and adjustments to the compiler, including updating the documentation, options, and test suite. A new test case is also added to verify the functionality.