r269755 - in /trunk/gcc: ChangeLog config/arc/a...

claziss@gcc.gnu.org claziss@gcc.gnu.org
Mon Mar 18 09:28:00 GMT 2019


Author: claziss
Date: Mon Mar 18 09:28:11 2019
New Revision: 269755

URL: https://gcc.gnu.org/viewcvs?rev=269755&root=gcc&view=rev
Log:
[ARC] Introduce ADJUST_REG_ALLOC_ORDER.

The ARC port is changing the allocation order in the
arc_conditional_register_usage function, but this is not the proper
way. Thus, we employ ADJUST_REG_ALLOC_ORDER hook for this task.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc-protos.h (arc_adjust_reg_alloc_order): Declare.
	* config/arc/arc.c (arc_conditional_register_usage): Remove all
	reg_alloc_order references.
	(size_alloc_order): Define.
	(arc_adjust_reg_alloc_order): New function.
	* config/arc/arc.h (REG_ALLOC_ORDER): Proper define the register
	order.
	(ADJUST_REG_ALLOC_ORDER): Define.
	(HONOR_REG_ALLOC_ORDER): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/arc-protos.h
    trunk/gcc/config/arc/arc.c
    trunk/gcc/config/arc/arc.h



More information about the Gcc-cvs mailing list