On 2/11/19 10:19 AM, Sven Schnelle wrote: > case 3: /* <= / > (N | Z / !N & !Z) */ > - cond = cond_make_0(TCG_COND_LE, res); > + tmp = tcg_temp_new(); > + tcg_gen_xor_reg(tmp, res, sv); > + cond = cond_make_0(TCG_COND_LE, tmp); > + tcg_temp_free(tmp); > break;
So the test here should be (N ^ V) | Z, which is not what you're testing. I've fixed this up locally. r~