Re: [PATCH v2] target/riscv: fix TB_FLAGS bits overlapping bug for rvv/rvh

2021-02-23 Thread Frank Chang
On Wed, Feb 24, 2021 at 2:24 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 2/23/21 12:19 AM, frank.ch...@sifive.com wrote: > > From: Frank Chang > > > > TB_FLAGS mem_idx bits was extended from 2 bits to 3 bits in > > commit: c445593, but other TB_FLAGS bits for rvv and rvh

Re: [PATCH v2] target/riscv: fix TB_FLAGS bits overlapping bug for rvv/rvh

2021-02-23 Thread Richard Henderson
On 2/23/21 12:19 AM, frank.ch...@sifive.com wrote: > From: Frank Chang > > TB_FLAGS mem_idx bits was extended from 2 bits to 3 bits in > commit: c445593, but other TB_FLAGS bits for rvv and rvh were > not shift as well so these bits may overlap with each other when > rvv is enabled. > >

[PATCH v2] target/riscv: fix TB_FLAGS bits overlapping bug for rvv/rvh

2021-02-23 Thread frank . chang
From: Frank Chang TB_FLAGS mem_idx bits was extended from 2 bits to 3 bits in commit: c445593, but other TB_FLAGS bits for rvv and rvh were not shift as well so these bits may overlap with each other when rvv is enabled. Signed-off-by: Frank Chang --- target/riscv/cpu.h | 12