diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2015-09-28 14:00:44 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2015-09-28 14:00:44 +0000 |
commit | 6fb917d907f8ae1708f3aea9805957e27992624c (patch) | |
tree | 6216aae2244aba8041d0560ac893e46a4b569ff6 /gcc/omp-low.c | |
parent | b81f1ee3b33dd046db7f508ebf0e29d0e12c406d (diff) | |
download | gcc-6fb917d907f8ae1708f3aea9805957e27992624c.zip gcc-6fb917d907f8ae1708f3aea9805957e27992624c.tar.gz gcc-6fb917d907f8ae1708f3aea9805957e27992624c.tar.bz2 |
re PR target/54236 ([SH] Improve addc and subc insn utilization)
gcc/
PR target/54236
* config/sh/predicates.md (t_reg_operand, negt_reg_operand): Allow
and handle ne and eq codes.
* config/sh/sh.c (sh_rtx_costs): Adjust matching of tst #imm,r0 insn.
(sh_recog_treg_set_expr): Early accept negt_reg_operand. Eearly reject
CONST_INT_P. Use reverse_condition.
(sh_split_treg_set_expr): Likewise.
gcc/testsuite/
PR target/54236
* gcc.target/sh/pr54236-1.c (test_09, test_10, test_11): New.
* gcc.target/sh/pr59533-1.c (test_23, test_24, test_25, test_26,
test_27): New.
* gcc.target/sh/pr54236-5.c: New.
* gcc.target/sh/pr54236-6.c: New.
From-SVN: r228202
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions