Landing: da51965e1e45

Project / Subsystem

gcc / risc-v

Date

2026-08-21

Author

Bohan Lei

Commit

da51965e1e450578de5282c5c7bcd83417236909

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
—
commit_hash
da51965e1e450578de5282c5c7bcd83417236909
source_type
github
headline
RISC-V: Enable autoprefetcher modeling
tldr
Adds basic support for modeling RISC-V hardware autoprefetchers to improve code scheduling.
author
Bohan Lei
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • risc-v
  • • optimization
  • • scheduling
discussion_id_link
—
bugzilla_pr
—
date
2026-08-21T00:00:00.000Z

This commit introduces initial support for modeling hardware autoprefetchers on RISC-V processors, similar to the existing AArch64 model. It enables weak autoprefetcher modeling and sets up tuning parameters, preparing for more advanced modeling of strong autoprefetchers in future work, which is beneficial for scheduling store instructions on relevant hardware.