On 11/5/22 06:26, Taylor Simpson wrote:
+static void gen_write_new_pc_addr(DisasContext *ctx, TCGv addr, TCGv pred)
+{
+ TCGLabel *pred_false = NULL;
+ if (pred != NULL) {
+ pred_false = gen_new_label();
+ tcg_gen_brcondi_tl(TCG_COND_EQ, pred, 0, pred_false);
+ }
It would be nice to pass down the entire branch condition. Trivial for usage within this patch, but more complex for others.
r~
