[PATCH] Add znver4 processor support

Jan Beulich jbeulich@suse.com
Tue Nov 8 10:18:46 GMT 2022


On 31.10.2022 05:37, Joshi, Tejas Sanjay wrote:
> --- a/gas/config/tc-i386.c
> +++ b/gas/config/tc-i386.c
> @@ -974,6 +974,7 @@ static const arch_entry cpu_arch[] =
>    ARCH (znver1, ZNVER, ZNVER1, false),
>    ARCH (znver2, ZNVER, ZNVER2, false),
>    ARCH (znver3, ZNVER, ZNVER3, false),
> +  ARCH (znver4, ZNVER, ZNVER4, false),
>    ARCH (btver1, BT, BTVER1, false),
>    ARCH (btver2, BT, BTVER2, false),
>  

Additionally you'll want to extend the comment ahead of the call to
swap_operands() in md_assemble(). The conditional itself already
covers the new insn.

Jan


More information about the Binutils mailing list