This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/67391] [SH] Convert clrt addc to normal add insn


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

--- Comment #27 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sun Sep 27 11:55:55 2015
New Revision: 228176

URL: https://gcc.gnu.org/viewcvs?rev=228176&root=gcc&view=rev
Log:
gcc/
        PR target/67391
        * config/sh/sh-protos.h (sh_lra_p): Declare.
        * config/sh/sh.c (sh_lra_p): Make non-static.
        * config/sh/sh.md (addsi3): Use arith_reg_dest for operands[0] and
        arith_reg_operand for operands[1].  Remove TARGET_SHMEDIA case.
        Expand into addsi3_scr if operands[2] if needed.
        (*addsi3_compact): Rename to *addsi3_compact_lra.  Use
        arith_reg_operand for operands[1].  Allow it only when LRA is enabled.
        (addsi3_scr, *addsi3): New insn_and_split patterns.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh-protos.h
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]