qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 05/12] tcg/mips: Split out tcg_out_movi_one


From: Richard Henderson
Subject: Re: [PATCH 05/12] tcg/mips: Split out tcg_out_movi_one
Date: Wed, 12 Apr 2023 08:55:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/11/23 14:34, Philippe Mathieu-Daudé wrote:
+    if (tcg_out_movi_one(s, ret, arg)) {
          return;
      }
+
      if (TCG_TARGET_REG_BITS == 32 || arg == (int32_t)arg) {
          tcg_out_opc_imm(s, OPC_LUI, ret, TCG_REG_ZERO, arg >> 16);

Shouldn't this block be removed in this patch?

No, because it feeds into the lui+ori path.
It gets cleaned up in the next patch.


r~




reply via email to

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