On 9/11/24 15:26, LIU Zhiwei wrote:
@@ -2129,6 +2389,7 @@ static void tcg_target_qemu_prologue(TCGContext *s)
static void tcg_out_tb_start(TCGContext *s)
  {
+    s->riscv_cur_type = TCG_TYPE_COUNT;
      /* nothing to do */
  }

I recently realized that the vector config is call-clobbered.
We need this reset as well in tcg_out_call_int(), and prepare_host_addr().

In prepare_host_addr, place the reset just after the two calls to 
new_ldst_label().


r~

Reply via email to