Landing: 03750b3b6c39

Project / Subsystem

gcc / avr

Date

2026-07-21

Author

Georg-Johann Lay

Commit

03750b3b6c39cf918e549d6c24840205550dd028

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
commit_hash
03750b3b6c39cf918e549d6c24840205550dd028
source_type
github
headline
AVR: Optimize __muldi3_6 for faster execution.
tldr
AVR libgcc function __muldi3_6 optimized for a one-cycle speedup in common cases.
author
Georg-Johann Lay
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • avr
  • optimization
  • libgcc
  • performance
discussion_id_link
bugzilla_pr
date
2026-07-21T00:00:00.000Z

The AVR libgcc function __muldi3_6 has been optimized to save one CPU cycle. This is achieved by altering the sequence of operations, specifically in cases where a conditional branch is not taken, resulting in a net performance improvement for 64-bit multiplication operations on AVR microcontrollers.