From: Jeff Law Date: Thu, 30 Jul 1998 00:01:35 +0000 (-0600) Subject: i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P... X-Git-Tag: prereleases/egcs-1.1-prerelease~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75fca0669cb31ca85c3722304273f527686cb3b0;p=thirdparty%2Fgcc.git i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P... 8 * i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P, pretend the register is SImode. From-SVN: r21492 --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 423a249dafeb..ca63bf49ba60 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); }