diff options
author | DJ Delorie <dj@redhat.com> | 2006-01-19 19:38:42 -0500 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2006-01-19 19:38:42 -0500 |
commit | e9a8eb89de4a63575154ba3fe25a2597b5552f9c (patch) | |
tree | 8878c1b41f39dd0995513677c17f1ec442c39386 /gcc/config/m32c | |
parent | f36cc6d098773b6345ef40736779bb5deb7999d7 (diff) | |
download | gcc-e9a8eb89de4a63575154ba3fe25a2597b5552f9c.zip gcc-e9a8eb89de4a63575154ba3fe25a2597b5552f9c.tar.gz gcc-e9a8eb89de4a63575154ba3fe25a2597b5552f9c.tar.bz2 |
* config/m32c/m32c.h (REG_ALLOC_ORDER): Define.
From-SVN: r110003
Diffstat (limited to 'gcc/config/m32c')
-rw-r--r-- | gcc/config/m32c/m32c.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/m32c/m32c.h b/gcc/config/m32c/m32c.h index 98400a0..b9eb223 100644 --- a/gcc/config/m32c/m32c.h +++ b/gcc/config/m32c/m32c.h @@ -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) |