From 75fca0669cb31ca85c3722304273f527686cb3b0 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 29 Jul 1998 18:01:35 -0600 Subject: [PATCH] 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 --- gcc/config/i386/i386.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.2