[PATCH] x86: support further AMD Zen6 instructions
Jan Beulich
jbeulich@suse.com
Wed Sep 2 06:56:21 GMT 2026
On 02.09.2026 04:36, Jiang, Haochen wrote:
>> From: Rohan Shenoy <RohanRadhesh.Shenoy@amd.com>
>> Sent: Tuesday, September 1, 2026 5:16 PM
>>
>> --- a/opcodes/i386-gen.c
>> +++ b/opcodes/i386-gen.c
>> @@ -261,6 +261,10 @@ static const dependency isa_dependencies[] =
>> "SNP|64" },
>> { "RMPREAD",
>> "SNP|64" },
>> + { "RMPDIRTY",
>> + "SNP|64" },
>> + { "RMPOPT",
>> + "SNP|64" },
>
> Since you have implied x64 here ...
>
>> --- a/opcodes/i386-opc.tbl
>> +++ b/opcodes/i386-opc.tbl
>> @@ -3205,6 +3205,18 @@ rmpread, 0xf20f01fd, RMPREAD&x64,
>> IsString|NoSuf|NoRex64, { Acc|Qword, RegC|Unsp
>>
>> // RMPREAD instruction end
>>
>> +// RMPCHKD instruction
>> +
>> +rmpchkd, 0xf30f01fc, RMPDIRTY&x64, NoSuf, {}
>> +
>> +// RMPCHKD instruction end
>> +
>> +// RMPOPT instruction
>> +
>> +rmpopt, 0xf20f01fc, RMPOPT&x64, NoSuf, {}
>> +
>
> ... I believe we do not need the x64 here. They are redundant.
Indeed. The same applies to RMPREAD - I'll make a patch to remove the excess
attribute there.
Jan
More information about the Binutils
mailing list