Re: RISC-V: Parsing custom extension that is version 0

2021-06-23 Thread Robert Balas via Gcc-bugs
; > And I am not familiar with PULP stuff, does it mean PULP really uses > version 0.0, > and intend to implement multiple-version of that on GCC? > > On Mon, Jun 21, 2021 at 10:07 AM Robert Balas via Gcc-bugs > wrote: >> >> When giving gcc a -march string with a c

RISC-V: Parsing custom extension that is version 0

2021-06-20 Thread Robert Balas via Gcc-bugs
When giving gcc a -march string with a custom extension of version 0 (for example pulpv0) then gcc will think assign in the default version of 2p0. In gcc/common/config/riscv/riscv-common.c the function riscv_subset_list::parsing_subset_version falls back to the default version (2p0) when parsing