qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v9 02/14] target/riscv: Reassign instructions to the Zba-exte


From: Richard Henderson
Subject: Re: [PATCH v9 02/14] target/riscv: Reassign instructions to the Zba-extension
Date: Fri, 3 Sep 2021 20:44:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/3/21 7:00 PM, Philipp Tomsich wrote:
@@ -624,14 +630,16 @@ GEN_TRANS_SHADD_UW(3)
static void gen_add_uw(TCGv ret, TCGv arg1, TCGv arg2)
  {
-    tcg_gen_ext32u_tl(arg1, arg1);
-    tcg_gen_add_tl(ret, arg1, arg2);
+    TCGv t = tcg_temp_new();
+    tcg_gen_ext32u_tl(t, arg1);
+    tcg_gen_add_tl(ret, t, arg2);
+    tcg_temp_free(t);
  }

Good fix, but unrelated to $SUBJECT.  Split it out.


r~



reply via email to

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