This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Tweaking SH predicates
- To: gcc-patches at gcc dot gnu dot org
- Subject: Tweaking SH predicates
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Sep 2000 09:27:08 -0300
- Organization: GCC Team, Red Hat
I'm checking this in, approved by Joern Rennecke.
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
general_movsrc_operand, and remove CONST_INT from
general_movdst_operand.
Index: gcc/config/sh/sh.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/sh/sh.h,v
retrieving revision 1.73
diff -u -p -r1.73 sh.h
--- gcc/config/sh/sh.h 2000/09/11 19:10:35 1.73
+++ gcc/config/sh/sh.h 2000/09/12 12:25:28
@@ -2231,8 +2231,8 @@ extern struct rtx_def *fpscr_rtx;
{"fp_arith_reg_operand", {SUBREG, REG}}, \
{"fp_extended_operand", {SUBREG, REG, FLOAT_EXTEND}}, \
{"fpscr_operand", {REG}}, \
- {"general_movsrc_operand", {SUBREG, REG, CONST_INT, MEM}}, \
- {"general_movdst_operand", {SUBREG, REG, CONST_INT, MEM}}, \
+ {"general_movsrc_operand", {SUBREG, REG, CONST_INT, CONST_DOUBLE, MEM}}, \
+ {"general_movdst_operand", {SUBREG, REG, MEM}}, \
{"logical_operand", {SUBREG, REG, CONST_INT}}, \
{"noncommutative_float_operator", {MINUS, DIV}}, \
{"register_operand", {SUBREG, REG}},
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me