diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-06 10:03:16 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-06 10:03:16 +0000 |
commit | b7ef7bf225416c2d4b9a730feec746c5b60e9655 (patch) | |
tree | f81e2813f9673b7d787bc5e2a3f89880a5fd20d4 /target-mips/translate.c | |
parent | 5b9a1293beb0a71c8b2446ace77fea69d66cc0e1 (diff) | |
download | qemu-b7ef7bf225416c2d4b9a730feec746c5b60e9655.zip qemu-b7ef7bf225416c2d4b9a730feec746c5b60e9655.tar.gz qemu-b7ef7bf225416c2d4b9a730feec746c5b60e9655.tar.bz2 |
Fix MIPS64 branches. Funny how this survived testing.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4355 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/translate.c')
-rw-r--r-- | target-mips/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index eb8e09e..6121c28 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -1763,7 +1763,7 @@ static inline void tcg_gen_jnz_bcond(int label) int r_tmp = tcg_temp_new(TCG_TYPE_TL); tcg_gen_ld_tl(r_tmp, cpu_env, offsetof(CPUState, bcond)); - tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_i32(0), label); + tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_tl(0), label); } /* Branches (before delay slot) */ |