diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48f476b8ac1..1b43f5578ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-09-12 Alexandre Oliva + + * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to + general_movsrc_operand, and remove CONST_INT from + general_movdst_operand. + 2000-09-12 Bernd Schmidt * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index f8c729e7b67..0f00c0dee9e 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -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}},