tcg-sparc: Add %g/%o registers to alloc_order
authorRichard Henderson <rth@twiddle.net>
Sun, 25 Mar 2012 20:43:17 +0000 (22:43 +0200)
committerRichard Henderson <rth@twiddle.net>
Fri, 21 Sep 2012 20:02:20 +0000 (22:02 +0200)
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/sparc/tcg-target.c

index d401f8ef7c4df09eb3266613fb093cc810113281..03c385a997a62ee5dc27fe2481a911a44955aad9 100644 (file)
@@ -78,12 +78,25 @@ static const int tcg_target_reg_alloc_order[] = {
     TCG_REG_L5,
     TCG_REG_L6,
     TCG_REG_L7,
+
     TCG_REG_I0,
     TCG_REG_I1,
     TCG_REG_I2,
     TCG_REG_I3,
     TCG_REG_I4,
     TCG_REG_I5,
+
+    TCG_REG_G2,
+    TCG_REG_G3,
+    TCG_REG_G4,
+    TCG_REG_G5,
+
+    TCG_REG_O0,
+    TCG_REG_O1,
+    TCG_REG_O2,
+    TCG_REG_O3,
+    TCG_REG_O4,
+    TCG_REG_O5,
 };
 
 static const int tcg_target_call_iarg_regs[6] = {