Landing: fa37f57173e2

Project / Subsystem

gcc / rs6000

Date

2026-08-26

Author

Vijay Shankar

Commit

fa37f57173e247d274139a69a2ceb37a26041f9c

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
rs6000
patch_id
—
commit_hash
fa37f57173e247d274139a69a2ceb37a26041f9c
source_type
github
headline
rs6000: Optimize TLS access with combine patterns
tldr
Reduces Thread Local Storage access instructions from three to two on rs6000.
author
Vijay Shankar
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • rs6000
  • • optimization
  • • tls
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-08-26T00:00:00.000Z

This commit optimizes Thread Local Storage (TLS) variable access on the rs6000 architecture by introducing new ‘combine’ patterns in the instruction scheduler. These patterns merge the address calculation and the load operation into a single instruction sequence, reducing the overhead from three instructions down to two and improving performance.