[Bug target/51244] [SH] Inefficient conditional branch and code around T bit

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 1 06:50:00 GMT 2014


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

--- Comment #80 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Mon Dec  1 06:50:06 2014
New Revision: 218200

URL: https://gcc.gnu.org/viewcvs?rev=218200&root=gcc&view=rev
Log:
gcc/
    PR target/63986
    PR target/51244
    * config/sh/sh.c (sh_unspec_insn_p,
    sh_insn_operands_modified_between_p): New functions.
    (sh_split_movrt_negc_to_movt_xor): Do not delete insn if its operands
    are modified or if it has side effects, may trap or is volatile.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c



More information about the Gcc-bugs mailing list