Landing: 2a397b762827

Project / Subsystem

gcc / avr

Date

2026-06-11

Author

Georg-Johann Lay

Commit

2a397b762827221ea5ed99d73062ae93846fa213

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
avr
patch_id
commit_hash
2a397b762827221ea5ed99d73062ae93846fa213
source_type
github
headline
AVR GCC adds 64-bit fixed point to double-precision conversions.
tldr
GCC for AVR now includes new functions to convert between 64-bit fixed-point numbers and 64-bit double-precision floating-point numbers.
author
Georg-Johann Lay
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • avr
  • fixed-point
  • floating-point
  • libgcc
  • new-feature
discussion_id_link
bugzilla_pr
date
2026-06-11T00:00:00.000Z

This commit significantly enhances the AVR backend of GCC by introducing comprehensive support for conversions between 64-bit fixed-point numbers and 64-bit double-precision floating-point numbers. New _DEFUNs like ufx64_to_d and d_to_fx64 are added to the libf7-asm.sx and libf7.c files, alongside updates to the build system and header files. This expansion in data type conversion capabilities allows AVR developers to perform more complex and precise numeric computations involving these large-precision formats, which is crucial for applications requiring high accuracy, potentially impacting embedded signal processing or control systems.