Landing: 9a741ea0efe6

Project / Subsystem

gcc / avr

Date

2026-06-13

Author

Georg-Johann Lay

Commit

9a741ea0efe694a9b63a4323261c6ff4517a3a55

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
commit_hash
9a741ea0efe694a9b63a4323261c6ff4517a3a55
source_type
github
headline
Overhaul libf7/asm-defs.h for AVR
tldr
This commit refactors the AVR assembly definitions for `libf7/asm-defs.h`, introducing a new `REGNO` macro and updating existing macros to use it.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • avr
  • refactor
  • assembly
discussion_id_link
bugzilla_pr
date
2026-06-13T00:00:00.000Z

The libf7/asm-defs.h file for AVR, which contains assembly definitions, has been refactored. A new convenience macro, REGNO, simplifies register number notation. The wmov macro now uses REGNO, improving consistency and maintainability. Additionally, do_epilogue_restores has been updated to correctly parenthesize its frame-related operations.