[RFC PATCH 1/8] RISC-V: Minimal support of bitmanip extension

2021-09-23 Thread Kito Cheng
2021-09-23 Kito Cheng gcc/ChangeLog: * common/config/riscv/riscv-common.c (riscv_ext_version_table): Add zba, zbb, zbc and zbs. (riscv_ext_flag_table): Ditto. * config/riscv/riscv-opts.h (MASK_ZBA): New. (MASK_ZBB): Ditto. (MASK_ZBC): Ditto.

Re: [RFC PATCH 1/8] RISC-V: Minimal support of bitmanip extension

2021-09-27 Thread Christoph Muellner
Hi Kito, On Thu, Sep 23, 2021 at 9:57 AM Kito Cheng wrote: > > 2021-09-23 Kito Cheng > > gcc/ChangeLog: > > * common/config/riscv/riscv-common.c (riscv_ext_version_table): > Add zba, zbb, zbc and zbs. > (riscv_ext_flag_table): Ditto. > * config/riscv/riscv-opts.

Re: [RFC PATCH 1/8] RISC-V: Minimal support of bitmanip extension

2021-10-18 Thread Kito Cheng
Hi Christoph: > I think this needs another specification class (there is a > specification for the instructions and it is in public review). > Proposal: ISA_SPEC_CLASS_FROZEN_2021 That's a good point, but ISA_SPEC_CLASS_FROZEN_2021 is hard to reference to which spec, so I would prefer to add a -m

Re: [RFC PATCH 1/8] RISC-V: Minimal support of bitmanip extension

2021-10-18 Thread Christoph Muellner
On Mon, Oct 18, 2021 at 10:48 AM Kito Cheng wrote: > > Hi Christoph: > > > I think this needs another specification class (there is a > > specification for the instructions and it is in public review). > > Proposal: ISA_SPEC_CLASS_FROZEN_2021 > > That's a good point, but ISA_SPEC_CLASS_FROZEN_2021

Re: [RFC PATCH 1/8] RISC-V: Minimal support of bitmanip extension

2021-10-18 Thread Kito Cheng
> > That's a good point, but ISA_SPEC_CLASS_FROZEN_2021 is hard to > > reference to which spec, so I would prefer to add a -misa-spec=2021 to > > align platform/profile spec, and then ISA_SPEC_CLASS_2021, and before > > RISC-V platform/profile spec has released, let keep > > ISA_SPEC_CLASS_NONE :p