[Bug target/125752] [avr] Missing 64-bit fixed point <-> 64-bit double conversions
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 11 19:20:24 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125752
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Georg-Johann Lay
<gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:f6db0bbd1566c3e0c8d7c2c758d5221f7246708f
commit r14-12658-gf6db0bbd1566c3e0c8d7c2c758d5221f7246708f
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Thu Jun 11 19:35:09 2026 +0200
AVR: target/125752 - Add 64-bit fixed point <-> 64-bit double conversions.
PR target/125752
libgcc/config/avr/libf7/
* libf7-asm.sx (ufx64_to_d, d_to_fx64): New DEFUNs.
(__fractdadf, __fractudadf, __fracttadf, __fractutadf)
(__fractdqdf, __fractudqdf): New _DEFUNs.
* libf7-common.mk (F7_ASM_PARTS) Add: fx2D, D2fx,
dq2D, udq2D, da2D, uda2D, ta2D uta2D.
(F7F): Add d_to_fx64, ufx64_to_d, sfx64_to_d.
* libf7.c (d_to_ufx, d_to_sfx): New protos.
(__fractdfda, __fractdfuda, __fractdfta, __fractdfuta)
(__fractdfdq, __fractdfudq): New modules.
* t-libf7 (LIBF7_DF_CONV): Add fractdfda,
fractdfta, fractdfdq, fractdfuda, fractdfuta, fractdfudq.
* f7-renames.h: Rebuild.
gcc/testsuite/
* gcc.target/avr/torture/fx-to-double.c: New test.
(cherry picked from commit 2a397b762827221ea5ed99d73062ae93846fa213)
More information about the Gcc-bugs
mailing list