qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 03/12] tcg/riscv: Add vset{i}vli and ld/st vec ops


From: Richard Henderson
Subject: Re: [PATCH v4 03/12] tcg/riscv: Add vset{i}vli and ld/st vec ops
Date: Sun, 22 Sep 2024 06:46:32 +0200
User-agent: Mozilla Thunderbird

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

[Prev in Thread] Current Thread [Next in Thread]