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

--- Comment #15 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Thu Oct 10 15:24:05 2019
New Revision: 276825

URL: https://gcc.gnu.org/viewcvs?rev=276825&root=gcc&view=rev
Log:
gcc/
        Backport from mainline
        2019-10-10  Oleg Endo  <olege...@gcc.gnu.org>

        PR target/88630
        * config/sh/sh.h (TARGET_FPU_SH4_300): New macro.
        * config/sh/sh.c (sh_option_override): Enable fsca and fsrra insns
        also for TARGET_FPU_SH4_300.
        (sh_emit_mode_set): Check for TARGET_FPU_SH4_300 instead of
        TARGET_SH4_300.
        * config/sh/sh.md (toggle_pr): Add TARGET_FPU_SH4_300 condition.
        (negsf2): Expand to either negsf2_fpscr or negsf2_no_fpscr.
        (*negsf2_i): Split into ...
        (negsf2_fpscr, negsf2_no_fpscr): ... these new patterns.
        (abssf2): Expand to either abssf2_fpsc or abssf2_no_fpsc.
        (**abssf2_i): Split into ...
        (abssf2_fpscr, abssf2_no_fpscr): ... these new patterns.
        (negdf2): Expand to either negdf2_fpscr or negdf2_no_fpscr.
        (*negdf2_i): Split into ...
        (negdf2_fpscr, negdf2_no_fpscr): ... these new patterns.
        (absdf2): Expand to either absdf2_fpscr or absdf2_no_fpsc.
        (**abssf2_i): Split into ...
        (absdf2_fpscr, absdf2_no_fpscr): ... these new patterns.


Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/config/sh/sh.c
    branches/gcc-9-branch/gcc/config/sh/sh.h
    branches/gcc-9-branch/gcc/config/sh/sh.md

Reply via email to