aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-07-29 18:00:18 -0600
committerJeff Law <law@gcc.gnu.org>1998-07-29 18:00:18 -0600
commitfe9f823f2078db0966111a22e600e25461f2cbac (patch)
treed3a7e92252c66ba00b0ffc9b44a172ca8e19b9cf
parent3192f02483494e2a9affd505e72f9e17636b5fef (diff)
downloadgcc-fe9f823f2078db0966111a22e600e25461f2cbac.zip
gcc-fe9f823f2078db0966111a22e600e25461f2cbac.tar.gz
gcc-fe9f823f2078db0966111a22e600e25461f2cbac.tar.bz2
i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P...
p * i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P, pretend the register is SImode. Fixes minor egcs-1.1 regression. From-SVN: r21490
-rw-r--r--gcc/config/i386/i386.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 423a249..ca63bf4 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1109,7 +1109,7 @@
/* Fastest way to change a 0 to a 1.
If inc%B0 isn't allowed, use inc%L0. */
if (NON_QI_REG_P (operands[0]))
- return AS1 (inc%L0,%0);
+ return AS1 (inc%L0,%k0);
else
return AS1 (inc%B0,%0);
}