mirror of https://github.com/xqemu/xqemu.git
Allocate a register pair instead of a single register.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4688 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ec9d6075b4
commit
c588979bfc
|
@ -353,7 +353,7 @@ TCGv tcg_global_mem_new(TCGType type, int reg, tcg_target_long offset,
|
||||||
#if TCG_TARGET_REG_BITS == 32
|
#if TCG_TARGET_REG_BITS == 32
|
||||||
if (type == TCG_TYPE_I64) {
|
if (type == TCG_TYPE_I64) {
|
||||||
char buf[64];
|
char buf[64];
|
||||||
tcg_temp_alloc(s, s->nb_globals + 1);
|
tcg_temp_alloc(s, s->nb_globals + 2);
|
||||||
ts = &s->temps[s->nb_globals];
|
ts = &s->temps[s->nb_globals];
|
||||||
ts->base_type = type;
|
ts->base_type = type;
|
||||||
ts->type = TCG_TYPE_I32;
|
ts->type = TCG_TYPE_I32;
|
||||||
|
|
Loading…
Reference in New Issue