~/talk

GCC Compiler Code Size Density

Talkat RISC-V Summit 2019 · 2019-12-09..12-12· [compilers-and-language-design]
links:none on file
slides:none on file

Western Digital engineers port a real embedded product to RISC‑V and compare GCC 8.2 output against a legacy vendor controller, find two hot problems: unnecessary save/restore around calls (missing tail‑call elimination) and failure to rebase addresses so loads/stores use 32‑bit rather than compressed-friendly offsets. Patches remove redundant prolog/epilog, add address rebasing for memory streams and yield about 5% overall code‑size improvement, with up to 10% savings in a tested stream and theoretical up to 50% in repetitive load/store sequences. Plans include applying similar work to LLVM and adding outlining and new embench testcases.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54Code Size
  3. 2:13Benchmarks
  4. 5:25Optimizations
  5. 10:39Going forward
  6. 13:54Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.