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]

r193495 - in /branches/ARM/embedded-4_7-branch/...


Author: amker
Date: Wed Nov 14 08:14:08 2012
New Revision: 193495

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193495
Log:
	Backport from mainline r193425
	2012-11-12  Bin Cheng  <bin.cheng@arm.com>

	* gcse.c (struct bb_data): Add new fields, old_pressure, live_in
	and backup.
	(get_regno_pressure_class): Add prototype.
	(update_bb_reg_pressure): New.
	(should_hoist_expr_to_dom): Add new parameter from.
	Monitor the change of reg pressure and use it to drive hoisting.
	(hoist_code): Update LIVE and reg pressure information.
	(calculate_bb_reg_pressure): Initialize live_in and backup.

	Backport from mainline r193425
	2012-11-12  Bin Cheng  <bin.cheng@arm.com>

	* gcc.dg/hoist-register-pressure-3.c: New test.


Added:
    branches/ARM/embedded-4_7-branch/gcc/testsuite/gcc.dg/hoist-register-pressure-3.c
Modified:
    branches/ARM/embedded-4_7-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-4_7-branch/gcc/gcse.c
    branches/ARM/embedded-4_7-branch/gcc/testsuite/ChangeLog.arm


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