[PATCH v2] x86: prune redundant x64 from RMPREAD

Jan Beulich jbeulich@suse.com
Tue Sep 8 15:10:03 GMT 2026


As noticed during review of the RMPOPT/RMPDIRTY patch: CpuRMPREAD depends
on Cpu64, so the attribute is redundant to specify. This then also matches
in particular RMPQUERY.

While there also add the missing operand-less form of the insn.
---
v2: Also add operand-less form.

--- a/opcodes/i386-opc.tbl
+++ b/opcodes/i386-opc.tbl
@@ -3201,7 +3201,8 @@ rmpquery, 0xf30f01fd, RMPQUERY, AddrPref
 
 // RMPREAD instruction
 
-rmpread, 0xf20f01fd, RMPREAD&x64, IsString|NoSuf|NoRex64, { Acc|Qword, RegC|Unspecified|BaseIndex }
+rmpread, 0xf20f01fd, RMPREAD, NoSuf, { }
+rmpread, 0xf20f01fd, RMPREAD, IsString|NoSuf|NoRex64, { Acc|Qword, RegC|Unspecified|BaseIndex }
 
 // RMPREAD instruction end
 


More information about the Binutils mailing list