|
From: | Frank Chang |
Subject: | Re: [PATCH] target/riscv: fix TB_FLAGS bits overlapping bug for rvv/rvh |
Date: | Sat, 20 Feb 2021 13:14:09 +0800 |
On 2/19/21 1:59 AM, frank.chang@sifive.com wrote:
> +/* Skip mem_idx bits */
> +FIELD(TB_FLAGS, VL_EQ_VLMAX, 3, 1)
Why not just add the mem_idx field to the list?
The separation between the FIELDs and TB_FLAG_*_MASK is unfortunate, and will
be a continuing source of errors.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |