diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-12 22:55:35 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-12 22:55:35 +0000 |
commit | 3bd8c5e4f1fdb61a3eb8a4a8b6e5b4cf1156ba76 (patch) | |
tree | 93d3abf31fa97f8512feec9bd9730373b73738d7 /target-i386 | |
parent | 5d97559d892d75344c527ef279010fba59f60b9c (diff) |
compilation fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4449 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/translate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index 5c96f89939..97c60513b3 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -6860,6 +6860,8 @@ void optimize_flags_init(void) cpu_T[0] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG1, "T0"); cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1"); cpu_A0 = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG3, "A0"); +#endif +#if defined(__i386__) cpu_tmp1 = tcg_global_reg2_new_hack(TCG_TYPE_I64, TCG_AREG1, TCG_AREG2, "tmp1"); #endif } @@ -6955,7 +6957,7 @@ static inline int gen_intermediate_code_internal(CPUState *env, #endif cpu_tmp0 = tcg_temp_new(TCG_TYPE_TL); -#if TARGET_LONG_BITS > HOST_LONG_BITS +#if !defined(__i386__) cpu_tmp1 = tcg_temp_new(TCG_TYPE_I64); #endif cpu_tmp2 = tcg_temp_new(TCG_TYPE_I32); |