Re: [PATCH] x86: support further AMD Zen6 instructions

Jan Beulich <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 02.09.2026 04:36, Jiang, Haochen wrote:
>> From: Rohan Shenoy <[email protected]>
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.