This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r190183 - in /branches/gcc-4_7-branch/gcc: Chan...
- From: uros at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 06 Aug 2012 16:28:43 -0000
- Subject: r190183 - in /branches/gcc-4_7-branch/gcc: Chan...
Author: uros
Date: Mon Aug 6 16:28:42 2012
New Revision: 190183
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190183
Log:
Backport from mainline
2012-07-23 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386-protos.h (ix86_lea_outperforms): Remove prototype.
* config/i386/i386.c (ix86_lea_outperforms): Make static. Make
split_cost argument signed.
(ix86_use_lea_for_mov): Use INVALID_REGNUM instead of -1.
(ix86_avoid_lea_for_addr): Ditto.
2012-07-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_avoid_lea_for_addr): Return false if
the address has less than two components.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/i386/i386-protos.h
branches/gcc-4_7-branch/gcc/config/i386/i386.c