Landing: eb738824d502

Project / Subsystem

gcc / avr

Date

2026-07-28

Author

Georg-Johann Lay

Commit

eb738824d502d5f6da77451d5105091b8a7db92d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
commit_hash
eb738824d502d5f6da77451d5105091b8a7db92d
source_type
github
headline
AVR: Add 64-bit fixed-point divisions to libgcc
tldr
AVR targets gain 64-bit saturated fixed-point division support in libgcc.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • avr
  • libgcc
  • fixed-point
  • division
  • embedded
discussion_id_link
bugzilla_pr
date
2026-07-28T00:00:00.000Z

This commit enhances the libgcc library for AVR targets by introducing 64-bit saturated fixed-point division routines. These new functions, including _udivuQ64_common and related variants, provide essential arithmetic capabilities for fixed-point computations on AVR microcontrollers. The ordinary divisions are aliased to the saturating versions, and rounding is consistently towards zero.