i386.md (movqi recognizer): Don't perfom byte increment into a NON_QI_REG_P.
authorJeffrey A Law <law@cygnus.com>
Wed, 8 Apr 1998 17:24:27 +0000 (17:24 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 8 Apr 1998 17:24:27 +0000 (11:24 -0600)
        * i386.md (movqi recognizer): Don't perfom byte increment into
        a NON_QI_REG_P.

From-SVN: r19050

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

index f37218ee967f2af20dfe21f4ed8d245f05e1e5b9..6a1030314adb14f318471803525b4668b6aadce2 100644 (file)
@@ -13,9 +13,12 @@ Fri Apr  3 17:02:13 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
 Wed Apr  8 12:51:19 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * i386.md (movqi recognizer): Don't perfom byte increment into
+       a NON_QI_REG_P.
+
        * configure.in (x86-dg-dgux): Run fixinc.dgux.
 
-       * i386.h: Fix typo in GEN_INT changes.
+       * i370.h: Fix typo in GEN_INT changes.
 
        * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
        of an empty arglist in prototype.
index 78d284883441cc62f2312c5620eaba5135070735..442641301b7b26b2ce81fc6a96d52d53bbc2f1bd 100644 (file)
     return AS2 (xor%L0,%k0,%k0);
 
   if (operands[1] == const1_rtx
+      && !NON_QI_REG_P (operands[0])
       && (link = find_reg_note (insn, REG_WAS_0, 0))
       /* Make sure the insn that stored the 0 is still present.  */
       && ! INSN_DELETED_P (XEXP (link, 0))