Revision 0c0ed03b

b/target-mips/translate.c
1847 1847
        {
1848 1848
            int l1 = gen_new_label();
1849 1849

  
1850
            tcg_gen_ext32u_tl(t0, t0);
1851
            tcg_gen_ext32u_tl(t1, t1);
1850 1852
            tcg_gen_brcondi_tl(TCG_COND_EQ, t1, 0, l1);
1851 1853
            tcg_gen_divu_tl(cpu_LO[0], t0, t1);
1852 1854
            tcg_gen_remu_tl(cpu_HI[0], t0, t1);

Also available in: Unified diff