[PATCH] RISC-V: Support Zabha extension.

Jan Beulich jbeulich@suse.com
Wed Feb 28 07:53:46 GMT 2024


On 28.02.2024 07:41, Jiawei wrote:
> --- a/bfd/elfxx-riscv.c
> +++ b/bfd/elfxx-riscv.c
> @@ -1274,6 +1274,7 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] =
>    {"zihintpause",	ISA_SPEC_CLASS_DRAFT,		2, 0,  0 },
>    {"zihpm",		ISA_SPEC_CLASS_DRAFT,		2, 0,  0 },
>    {"zmmul",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
> +  {"zabha",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
>    {"zawrs",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
>    {"zfa",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
>    {"zfh",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },

Yet higher up in the file there's riscv_implicit_subsets[], which I
think also needs a new line added, to make a connection to the A
extension.

Jan


More information about the Binutils mailing list