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

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

https://gcc.gnu.org/g:899588f3cc1afe045904a238cb060d4254497c2f

commit r17-2144-g899588f3cc1afe045904a238cb060d4254497c2f
Author: Oleg Endo <[email protected]>
Date:   Sat Jul 4 15:07:48 2026 +0900

    SH: Avoid FPUL for fp-constant loads

    For an fp-constant loaded from the constant pool, there is only one
    movsf_ie alternative with the multi-class constraint "fy".
    Change the FPUL alternative to '*y' so that IRA costs it as FP_REGS.
    LRA still accepts the FPUL variant when it is really needed but treats
    it as more expensive, which discourages FPUL usage for regular fp-regs.

    gcc/ChangeLog:

            PR target/116709
            * config/sh/sh.md (movsf_ie): Mark constant-pool load FPUL
            alternative with '*'.
  • [Bug target/116709] [SH] fp val... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to