Landing: ca94c21cf8fa
Project / Subsystem
gcc / avr
Date
2026-05-31
Author
Georg-Johann Lay
Commit
ca94c21cf8faa4a7364654a4377d31b01ba27efa
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- avr
- patch_id
- —
- commit_hash
- ca94c21cf8faa4a7364654a4377d31b01ba27efa
- source_type
- github
- headline
- AVR: Support [[len=nl]] in asm templates
- tldr
- Inline assembly templates for AVR now support [[len=nl]] to conveniently specify instruction size as half the default.
- author
- Georg-Johann Lay
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • avr
- • inline assembly
- • code generation
- • embedded systems
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-31T00:00:00.000Z
Inline assembly templates for the AVR architecture now support the [[len=nl]] specifier. This allows developers to specify that the length of an assembly instruction is half the default size, which is useful for the common case of 1-word instructions. This reduces boilerplate and improves readability when writing inline assembly for AVR.