Landing: 898cd9381986

Project / Subsystem

gcc / avr

Date

2026-08-05

Author

Georg-Johann Lay

Commit

898cd93819867f14fe26d708288434a0c033721a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
—
commit_hash
898cd93819867f14fe26d708288434a0c033721a
source_type
github
headline
AVR: Add [un]signed saturated accumulator divisions.
tldr
AVR libgcc now supports signed and unsigned saturated accumulator divisions for USAmode.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • avr
  • • fixed-point
  • • libgcc
  • • saturation
discussion_id_link
—
bugzilla_pr
—
date
2026-08-05T00:00:00.000Z

This commit adds support for signed and unsigned saturated accumulator divisions in the USAmode for the AVR target. The existing non-saturating division functions have been reworked to become aliases of the new saturating versions, resulting in a slight code size change for some functions. New test cases are included.