r198617 - in /trunk/gcc: ChangeLog config/sh/it...
olegendo@gcc.gnu.org
olegendo@gcc.gnu.org
Mon May 6 00:16:00 GMT 2013
Author: olegendo
Date: Mon May 6 00:16:55 2013
New Revision: 198617
URL: http://gcc.gnu.org/viewcvs?rev=198617&root=gcc&view=rev
Log:
PR target/55303
* config/sh/sh.c (sh_rtx_costs): Handle SMIN and SMAX cases.
* config/sh/sh.md (*clips, uminsi3, *clipu, clipu_one): New insns and
related expanders.
* config/sh/iterators.md (SMIN_SMAX): New code iterator.
* config/sh/predicates.md (arith_reg_or_0_or_1_operand,
clips_min_const_int, clips_max_const_int, clipu_max_const_int):
New predicates.
PR target/55303
* gcc.target/sh/pr55303-1.c: New.
* gcc.target/sh/pr55303-2.c: New.
* gcc.target/sh/pr55303-3.c: New.
Added:
trunk/gcc/testsuite/gcc.target/sh/pr55303-1.c
trunk/gcc/testsuite/gcc.target/sh/pr55303-2.c
trunk/gcc/testsuite/gcc.target/sh/pr55303-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/iterators.md
trunk/gcc/config/sh/predicates.md
trunk/gcc/config/sh/sh.c
trunk/gcc/config/sh/sh.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list