[Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 8 21:33:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49263
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #27 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #26)
> Author: olegendo
> Date: Mon Jan 26 23:56:05 2015
> New Revision: 220144
>
> URL: https://gcc.gnu.org/viewcvs?rev=220144&root=gcc&view=rev
> Log:
> gcc/
> PR target/49263
> * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
> remove_insn.
> * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
> shifts if it already fits into K08.
>
> gcc/testsuite/
> PR target/49263
> * gcc.target/sh/pr49263-4.c: New.
>
>
> Added:
> trunk/gcc/testsuite/gcc.target/sh/pr49263-4.c
> Modified:
> trunk/gcc/ChangeLog
> trunk/gcc/config/sh/sh.c
> trunk/gcc/config/sh/sh.md
> trunk/gcc/testsuite/ChangeLog
Did this fix it?
More information about the Gcc-bugs
mailing list