]> git.ipfire.org Git - thirdparty/gcc.git/commit
LibF7: Implement fma / fmal.
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 17 Oct 2023 09:36:52 +0000 (11:36 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Tue, 17 Oct 2023 09:54:31 +0000 (11:54 +0200)
commite889ba1c5edba0fdff2ab9ad9176485ca1ff0bc1
tree61d49cccd5db4a8d3d481c373a820cb48ec151a3
parent27165633859bdf92589428213edfeccdb49b7d83
LibF7: Implement fma / fmal.

libgcc/config/avr/libf7/
* libf7.h (F7_SIZEOF): New macro.
* libf7-asm.sx: Use F7_SIZEOF instead of magic number "10".
(F7MOD_D_fma_, __fma): New module and function.
(fma) [-mdouble=64]: Define as alias for __fma.
(fmal) [-mlong-double=64]: Define as alias for __fma.
* libf7-common.mk (F7_ASM_PARTS): Add D_fma.
libgcc/config/avr/libf7/libf7-asm.sx
libgcc/config/avr/libf7/libf7-common.mk
libgcc/config/avr/libf7/libf7.h