LGTM, did you have commit access for GCC repo? you should obtain it if
you don't have it yet, I think you are already an important member of
the RISC-V GNU toolchain community :)

https://gcc.gnu.org/gitwrite.html#authenticated , and you can add me
to the cc list as your sponsor.



On Tue, Aug 29, 2023 at 11:42 AM Tsukasa OI via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> From: Tsukasa OI <research_tra...@irq.a4lg.com>
>
> As the specification states, the 'Zcmt' extension depends on the 'Zca' and
> 'Zicsr' extensions.  This commit reflects this implication.
>
> gcc/ChangeLog:
>
>         * common/config/riscv/riscv-common.cc
>         (riscv_implied_info): Add implication from 'Zcmt' to 'Zicsr'.
> ---
>  gcc/common/config/riscv/riscv-common.cc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gcc/common/config/riscv/riscv-common.cc 
> b/gcc/common/config/riscv/riscv-common.cc
> index a5b62cda3a09..1315c8a745ec 100644
> --- a/gcc/common/config/riscv/riscv-common.cc
> +++ b/gcc/common/config/riscv/riscv-common.cc
> @@ -142,6 +142,7 @@ static const riscv_implied_info_t riscv_implied_info[] =
>    {"zcb",  "zca"},
>    {"zcmp", "zca"},
>    {"zcmt", "zca"},
> +  {"zcmt", "zicsr"},
>
>    {NULL, NULL}
>  };
> --
> 2.42.0
>

Reply via email to