diff options
author | Oleg Endo <oleg.endo@t-online.de> | 2011-10-15 02:32:53 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2011-10-15 02:32:53 +0000 |
commit | 6ff9d29412643e24f930933526a837238227c68d (patch) | |
tree | ac691d12707f29a7d4e513210d069f96be3bfa3a /gcc/function.c | |
parent | 94a39b90ce90b6da1069fe3d7c0360571e73ffdc (diff) | |
download | gcc-6ff9d29412643e24f930933526a837238227c68d.zip gcc-6ff9d29412643e24f930933526a837238227c68d.tar.gz gcc-6ff9d29412643e24f930933526a837238227c68d.tar.bz2 |
re PR target/49263 (SH Target: underutilized "TST #imm, R0" instruction)
PR target/49263
* config/sh/sh.h (ZERO_EXTRACT_ANDMASK): New macro.
* config/sh/sh.c (sh_rtx_costs): Add test instruction case.
* config/sh/sh.md (tstsi_t): Name existing insn. Make inner
and instruction commutative.
(tsthi_t, tstqi_t, tstqi_t_zero, tstsi_t_and_not,
tstsi_t_zero_extract_eq, tstsi_t_zero_extract_xor,
tstsi_t_zero_extract_subreg_xor_little,
tstsi_t_zero_extract_subreg_xor_big): New insns.
(*movsicc_t_false, *movsicc_t_true): Replace space with tab in
asm output.
(*andsi_compact): Reorder alternatives so that K08 is considered
first.
* gcc.target/sh/pr49263.c: New.
From-SVN: r180020
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions