Message ID | 1336523290-6899-4-git-send-email-afaerber@suse.de |
---|---|
State | New |
Headers | show |
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index b4e0466..20888e2 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -244,6 +244,9 @@ static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str) tcg_regset_set32(ct->u.regs, 0, 0xffffffff); tcg_regset_reset_reg(ct->u.regs, TCG_REG_R3); tcg_regset_reset_reg(ct->u.regs, TCG_REG_R4); +#if TARGET_LONG_BITS == 64 + tcg_regset_reset_reg(ct->u.regs, TCG_REG_R5); +#endif break; case 'K': /* qemu_st[8..32] constraint */ ct->ct |= TCG_CT_REG;
This accounts for the additional addr_reg2 register. Signed-off-by: Andreas Färber <afaerber@suse.de> --- tcg/ppc/tcg-target.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)