https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124053

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Torbjorn Svensson <[email protected]>:

https://gcc.gnu.org/g:0b526284fa1a059a18096f0905519710b93fb69b

commit r17-7106-g0b526284fa1a059a18096f0905519710b93fb69b
Author: Torbjörn SVENSSON <[email protected]>
Date:   Sat Nov 7 08:59:02 2026 +0100

    arm: Build half-precision complex helpers in libgcc [PR124053]

    Arm currently does not build __mulhc3 and __divhc3 because the default
    libgcc floating-mode hook does not support HFmode.

    Add an Arm hook to enable HFmode support when the IEEE fp16 format is
    selected, and compile these helpers with -mfp16-format=ieee.

            PR target/124053

    gcc/ChangeLog:

            * config/arm/arm.cc (arm_libgcc_floating_mode_supported_p): New.
            (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.

    libgcc/ChangeLog:

            * config/arm/t-softfp: Add $(softfp_cflags) to INTERNAL_CFLAGS
            for _mulhc3 and _divhc3.

    Signed-off-by: Torbjörn SVENSSON <[email protected]>

Reply via email to