Skip to content

Commit

Permalink
tcg-sparc: Add %g/%o registers to alloc_order
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
rth7680 committed Sep 21, 2012
1 parent 375816f commit 26adfb7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tcg/sparc/tcg-target.c
Expand Up @@ -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] = {
Expand Down

0 comments on commit 26adfb7

Please sign in to comment.