Landing: 07e78425476e

Project / Subsystem

gcc / avr

Date

2026-07-25

Author

Georg-Johann Lay

Commit

07e78425476eb1054d7e0973d6ef39ba73b62821

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
commit_hash
07e78425476eb1054d7e0973d6ef39ba73b62821
source_type
github
headline
AVR: Add __negdi2_r10 to libgcc.
tldr
AVR target gets a new libgcc function for 64-bit negation to simplify existing operations.
author
Georg-Johann Lay
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • avr
  • libgcc
  • 64-bit arithmetic
discussion_id_link
bugzilla_pr
date
2026-07-25T00:00:00.000Z

This patch adds the __negdi2_r10 function to libgcc for the AVR target. It also tidies up some 64-bit negation operations, using the new function where applicable in __divdi3_moddi3 and __mulQ64_work. This improves the handling of 64-bit arithmetic on AVR.