[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 1/4] target/riscv: add vector extension field in CPURISCVS
From: |
Richard Henderson |
Subject: |
Re: [PATCH v4 1/4] target/riscv: add vector extension field in CPURISCVState |
Date: |
Tue, 11 Feb 2020 07:53:27 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 2/10/20 8:12 AM, LIU Zhiwei wrote:
> The 32 vector registers will be viewed as a continuous memory block.
> It avoids the convension between element index and (regno,offset).
> Thus elements can be directly accessed by offset from the first vector
> base address.
>
> Signed-off-by: LIU Zhiwei <address@hidden>
> ---
> target/riscv/cpu.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
Reviewed-by: Richard Henderson <address@hidden>
I still don't think you need to put stuff into a sub-structure. These register
names are unique in the manual, and not subdivided there.
r~