projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3192f02
)
i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P...
author
Jeff Law
<law@gcc.gnu.org>
Thu, 30 Jul 1998 00:00:18 +0000
(18:00 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Thu, 30 Jul 1998 00:00:18 +0000
(18:00 -0600)
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
gcc/config/i386/i386.md
patch
|
blob
|
history
diff --git
a/gcc/config/i386/i386.md
b/gcc/config/i386/i386.md
index 423a249dafebd1694f408cce02d1259b7599bf1e..ca63bf49ba609cc6293832fd3d0ed57abc4ecf39 100644
(file)
--- 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,%
k
0);
else
return AS1 (inc%B0,%0);
}