aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-08 17:24:27 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-08 11:24:27 -0600
commitdf89b5e780040cd1335a0783a625527e0249458b (patch)
treed73eed018d4b778969b8609da815eea0934f1819
parentbf1e5319c3c6a2e26470ca5e17340fff30b9510e (diff)
downloadgcc-df89b5e780040cd1335a0783a625527e0249458b.zip
gcc-df89b5e780040cd1335a0783a625527e0249458b.tar.gz
gcc-df89b5e780040cd1335a0783a625527e0249458b.tar.bz2
i386.md (movqi recognizer): Don't perfom byte increment into a NON_QI_REG_P.
* i386.md (movqi recognizer): Don't perfom byte increment into a NON_QI_REG_P. From-SVN: r19050
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.md1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f37218e..6a10303 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 78d2848..4426413 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1105,6 +1105,7 @@
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))