Committed, thanks for the fix!
On Mon, Oct 24, 2022 at 9:39 AM wrote:
>
> From: Ju-Zhe Zhong
>
> gcc/ChangeLog:
>
> * config/riscv/riscv.h (enum reg_class): Fix ALL_REGS.
>
> ---
> gcc/config/riscv/riscv.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/riscv/riscv.h b/gcc/config/riscv/riscv.h
> index acae68ebb2d..37363e975e1 100644
> --- a/gcc/config/riscv/riscv.h
> +++ b/gcc/config/riscv/riscv.h
> @@ -516,7 +516,7 @@ enum reg_class
>{ 0x, 0x, 0x, 0x0001 }, /* V0_REGS */
> \
>{ 0x, 0x, 0x, 0xfffe }, /* VNoV0_REGS */
> \
>{ 0x, 0x, 0x, 0x }, /* V_REGS */
> \
> - { 0x, 0x, 0x0003, 0x } /* ALL_REGS */
> \
> + { 0x, 0x, 0x000f, 0x } /* ALL_REGS */
> \
> }
>
> /* A C expression whose value is a register class containing hard
> --
> 2.36.1
>