* config/m32c/m32c.h (REG_ALLOC_ORDER): Define.

From-SVN: r110003
This commit is contained in:
DJ Delorie 2006-01-19 19:38:42 -05:00 committed by DJ Delorie
parent f36cc6d098
commit e9a8eb89de
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-01-19 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.h (REG_ALLOC_ORDER): Define.
2006-01-19 Paul Brook <paul@codesourcery.com>
* gcc/config/arm/arm.c (arm_compute_func_type): Treat all functions

View File

@ -218,6 +218,13 @@ machine_function;
#endif
#define PC_REGNUM PC_REGNO
/* Order of Allocation of Registers */
#define REG_ALLOC_ORDER { \
0, 1, 2, 3, 4, 5, /* r0..r3, a0, a1 */ \
12, 13, 14, 15, 16, 17, 18, /* mem0..mem7 */ \
6, 7, 8, 9, 10, 11 /* sb, fb, sp, pc, flg, ap */ }
/* How Values Fit in Registers */
#define HARD_REGNO_NREGS(R,M) m32c_hard_regno_nregs (R, M)