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]

r190452 - in /trunk/gcc: ChangeLog config/i386/...


Author: uros
Date: Thu Aug 16 19:58:11 2012
New Revision: 190452

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190452
Log:
2012-08-16  Yuri Rumyantsev  <ysrumyan@gmail.com>

	* config/i386/i386-protos.h (ix86_split_lea_for_addr) : Add
	additional argument.
	* config/i386/i386.md (ix86_split_lea_for_addr) : Add
	additional argument curr_insn.
	* config/i386/i386.c (ix86_split_lea_for_addr): Load base or index
	register first, depending on their defintion distances.
	(ix86_lea_outperforms): Prefer LEA only if split cost exceeds
	AGU stall.
	(find_nearest_reg-def): New function. Find register with
	nearest definition.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/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]