OSDN Git Service

Use ADD if result isn't used in memory address.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Sep 2010 18:12:04 +0000 (18:12 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Sep 2010 18:12:04 +0000 (18:12 +0000)
commitb08704de7bccf83956cf112f88a9014f4280d5ef
treedaf8aa6a8275b6fc85fdc5760232f25527e2cf5f
parent2101edf25a1a9267864cbba246b5aa5a99f7f2a2
Use ADD if result isn't used in memory address.

2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_lea_for_add_ok): Return false if
result isn't used in memory address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164287 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c