This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r163374 - in /branches/ix86/gcc-4_5-branch/gcc:...


Author: hjl
Date: Thu Aug 19 14:35:13 2010
New Revision: 163374

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163374
Log:
Always avoid lea if possible.

2010-08-19  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline
	2010-08-17  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_lea_for_add_ok): For !TARGET_OPT_AGU
	or optimizing for size, always avoid lea if possible.

	* config/i386/i386.md (*add<mode>_1): Always avoid lea if
	possible.

Modified:
    branches/ix86/gcc-4_5-branch/gcc/ChangeLog.ix86
    branches/ix86/gcc-4_5-branch/gcc/config/i386/i386.c
    branches/ix86/gcc-4_5-branch/gcc/config/i386/i386.md


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]