]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/m32c/m32c.h (REG_ALLOC_ORDER): Define.
authorDJ Delorie <dj@redhat.com>
Fri, 20 Jan 2006 00:38:42 +0000 (19:38 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 20 Jan 2006 00:38:42 +0000 (19:38 -0500)
From-SVN: r110003

gcc/ChangeLog
gcc/config/m32c/m32c.h

index ff5462f26a7f9053fc7356cc3e0373f4254172c2..b434a9cd568116a72be69ac833407247306ffcb9 100644 (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
index 98400a0096b07d1c9ce518d838c34fd289da869e..b9eb223092e3f67fa352ca2a2d81ae63dc77637a 100644 (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)