|
From: | LIU Zhiwei |
Subject: | Re: [PATCH v4 03/12] tcg/riscv: Add vset{i}vli and ld/st vec ops |
Date: | Mon, 23 Sep 2024 12:46:24 +0800 |
User-agent: | Mozilla Thunderbird |
On 2024/9/22 12:46, Richard Henderson wrote:
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(),
OK.
and prepare_host_addr().In prepare_host_addr, place the reset just after the two calls to new_ldst_label().
As slow path will also cal tcg_out_call_init, can we only reset after tcg_out_call_init?
Thanks, Zhiwei
r~
[Prev in Thread] | Current Thread | [Next in Thread] |