]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P...
authorJeff Law <law@gcc.gnu.org>
Thu, 30 Jul 1998 00:01:35 +0000 (18:01 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 30 Jul 1998 00:01:35 +0000 (18:01 -0600)
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

gcc/config/i386/i386.md

index 423a249dafebd1694f408cce02d1259b7599bf1e..ca63bf49ba609cc6293832fd3d0ed57abc4ecf39 100644 (file)
       /* 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);
     }