Commit b7ef7bf225416c2d4b9a730feec746c5b60e9655

Authored by ths
1 parent 5b9a1293

Fix MIPS64 branches. Funny how this survived testing.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4355 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-mips/translate.c
... ... @@ -1763,7 +1763,7 @@ static inline void tcg_gen_jnz_bcond(int label)
1763 1763 int r_tmp = tcg_temp_new(TCG_TYPE_TL);
1764 1764  
1765 1765 tcg_gen_ld_tl(r_tmp, cpu_env, offsetof(CPUState, bcond));
1766   - tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_i32(0), label);
  1766 + tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_tl(0), label);
1767 1767 }
1768 1768  
1769 1769 /* Branches (before delay slot) */
... ...