]> gcc.gnu.org Git - gcc.git/commitdiff
* i386.md (addsi3): Allow lea for any constant_p.
authorRichard Henderson <rth@cygnus.com>
Mon, 15 Feb 1999 16:58:14 +0000 (08:58 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 15 Feb 1999 16:58:14 +0000 (08:58 -0800)
From-SVN: r25220

gcc/ChangeLog
gcc/config/i386/i386.md

index 76d941a6989792d1431f2dbfd490b35e08ce3f28..168c40722ff5c85f13d07be51fffe8317a79777f 100644 (file)
@@ -1,3 +1,7 @@
+Mon Feb 15 16:57:38 1999  Richard Henderson  <rth@cygnus.com>
+
+       * i386.md (addsi3): Allow lea for any constant_p.
+
 1999-02-15 17:11 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
 
        * toplev.c (documented_lang_options): Remove -fident and
index 48833170834c9dbd6c33587f08851217b7993874..5ba6dca6ceee9ae0ed46b94429398b528ded1627 100644 (file)
   "*
 {
   if (REG_P (operands[0]) && REG_P (operands[1])
-      && (REG_P (operands[2]) || GET_CODE (operands[2]) == CONST_INT)
+      && (REG_P (operands[2]) || CONSTANT_P (operands[2]))
       && REGNO (operands[0]) != REGNO (operands[1]))
     {
       if (REG_P (operands[2]) && REGNO (operands[0]) == REGNO (operands[2]))
This page took 0.077408 seconds and 5 git commands to generate.