From: Alexandre Oliva Date: Tue, 12 Sep 2000 12:38:51 +0000 (+0000) Subject: sh.h (PREDICATE_CODES): Add CONST_DOUBLE to general_movsrc_operand... X-Git-Tag: prereleases/libstdc++-2.92~4074 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae0a1c23b769ac9d8fa1b572b5effcb7a275a494;p=thirdparty%2Fgcc.git sh.h (PREDICATE_CODES): Add CONST_DOUBLE to general_movsrc_operand... * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to general_movsrc_operand, and remove CONST_INT from general_movdst_operand. From-SVN: r36357 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48f476b8ac1b..1b43f5578bab 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 f8c729e7b670..0f00c0dee9ee 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}},