On 11/5/22 06:26, Taylor Simpson wrote:
+ tcg_gen_andi_tl(lsb, pred, 1);
+ if (!sense) {
+ tcg_gen_xori_tl(lsb, lsb, 1);
+ }
+ gen_write_new_pc_pcrel(ctx, pc_off, lsb);
+ tcg_gen_brcondi_tl(TCG_COND_EQ, lsb, 0, skip);
Better to change the branch condition than invert the lsb. r~
