PR optimization/13260
commit0c3578e65fbce4c43142577301fb809106be1877
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Dec 2003 20:10:29 +0000 (4 20:10 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Dec 2003 20:10:29 +0000 (4 20:10 +0000)
tree35d881277dbd8c7c9a0b309b60cc803e360617e6
parent776e3912b948998bde37c36091437b248a8b955e
PR optimization/13260
* sh-protos.h (sh_expand_t_scc): Declare.
* sh.h (PREDICATE_CODES): Add cmpsi_operand.
* sh.c (cmpsi_operand, sh_expand_t_scc): New functions.
* sh.md (cmpsi): Use cmpsi_operand.  If T_REG is compared to
something that is not a CONST_INT, copy it into a pseudo register.
(subc): Fix description of new T value.
(slt, sgt, sge, sgtu): Don't clobber T after rtl generation is over.
(sltu, sleu, sgeu): Likewise.
(seq, sne): Likewise. Use sh_expand_t_scc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74294 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md