Re: [PATCH] RISC-V: Check if zcd conflicts with zcmt and zcmp

2023-12-05 Thread Kito Cheng
committed to trunk, thanks :) On Mon, Dec 4, 2023 at 5:21 PM Christoph Müllner wrote: > > On Mon, Dec 4, 2023 at 8:48 AM Kito Cheng wrote: > > LGTM > > I've double-checked this in the Zc-1.0.4-3.pdf: > * Zcmp is incompatible with Zcd > * Zcmp depends on Zca > * Zcmt is incompatible with Zcd > *

Re: [PATCH] RISC-V: Check if zcd conflicts with zcmt and zcmp

2023-12-04 Thread Christoph Müllner
On Mon, Dec 4, 2023 at 8:48 AM Kito Cheng wrote: LGTM I've double-checked this in the Zc-1.0.4-3.pdf: * Zcmp is incompatible with Zcd * Zcmp depends on Zca * Zcmt is incompatible with Zcd * Zcmt depends on Zca and Zicsr The implies-relations are already implemented. This patch enforces the inco

[PATCH] RISC-V: Check if zcd conflicts with zcmt and zcmp

2023-12-03 Thread Kito Cheng
gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_subset_list::check_conflict_ext): Check zcd conflicts with zcmt and zcmp. gcc/testsuite/ChangeLog: * gcc.target/riscv/arch-29.c: New test. * gcc.target/riscv/arch-30.c: New test. --- gcc/common/c