qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] target/tricore: Fix OPC2_32_RRPW_EXTR for width=0


From: Richard Henderson
Subject: Re: [PATCH 2/2] target/tricore: Fix OPC2_32_RRPW_EXTR for width=0
Date: Sat, 6 Mar 2021 23:36:40 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/5/21 5:26 AM, Bastian Koppelmann wrote:
      case OPC2_32_RRPW_EXTR:
+        if (width == 0) {
+                tcg_gen_movi_tl(cpu_gpr_d[r3], 0);
+                break;
+        }
+
          if (pos + width <= 32) {
-            /* optimize special cases */
+                        /* optimize special cases */
              if ((pos == 0) && (width == 8)) {

Indentation is definitely off, both with the unrelated comment change Phil pointed out, and in the new code block.

Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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