[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/4] RISC-V: configure and turn on vector extension from c
Re: [PATCH v3 2/4] RISC-V: configure and turn on vector extension from command line
Tue, 7 Jan 2020 09:42:03 +0800
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
On 2020/1/7 5:48, Jim Wilson wrote:
1/2/20 7:33 PM, LIU Zhiwei wrote:
Thanks. It's good to reduce ambiguous.
+ if (cpu->cfg.vlen >
+ "Vector extension VLEN must <= %d",
There is no architectural maximum for VLEN. This is simply an
implementation choice so you can use static arrays instead of
malloc. I think this error should be reworded to something like
"Vector extension implementation only supports VLEN <= %d."
other errors here are for architecture requirements and are OK.