This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Tweaking SH predicates

I'm checking this in, approved by Joern Rennecke.

Index: gcc/ChangeLog
from  Alexandre Oliva  <>

	* config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
	general_movsrc_operand, and remove CONST_INT from

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
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist    *Please* write to mailing lists, not to me

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]