qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5 19/30] tcg/loongarch64: Implement br/brcond ops


From: Richard Henderson
Subject: Re: [PATCH v5 19/30] tcg/loongarch64: Implement br/brcond ops
Date: Sat, 25 Sep 2021 10:12:55 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/25/21 6:13 AM, Philippe Mathieu-Daudé wrote:
+static const struct {
+    LoongArchInsn op;
+    bool swap;
+} tcg_brcond_to_loongarch[] = {

Richard, TCGCond is 4-bit, shouldn't we explicit this array
size to 16, and even better define TCG_COND_COUNT = 16 in
"tcg/tcg-cond.h"?

Perhaps. Not in this patch though. None of the other instances in tcg/host/ do that, so I'd want to fix them all at once.


r~



reply via email to

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