x86: prune redundant x64 from RMPREAD
Rohan Shenoy questions the need for explicit operands in RMPREAD, suggesting an operand-less form is implied by AMD's APM.
Rohan Shenoy questions why RMPREAD, unlike other RMP instructions, requires explicit operands. He believes an operand-less form is implied by the latest AMD APM, which suggests implicit use of RAX and RCX registers for RMPREAD.
- proposer
Questions the necessity of explicit operands for RMPREAD, referencing the AMD APM which suggests implicit register usage.
“I do not see a reason why RMPREAD exclusively needs this. And I believe we do require an operand-less form of RMPREAD, as according to the latest APM it uses implicit operands (rax, rcx), and nowhere suggests explicitly spelling out its registers.”
In Details
This discussion concerns x86 assembly instructions, specifically the RMPREAD mnemonic within binutils' assembler. The debate is whether RMPREAD should require explicit register operands or if it should implicitly use RAX and RCX as suggested by the AMD Architecture Programmer's Manual (APM).
- RMPREAD
- A x86 assembly instruction, likely related to memory protection or management, whose specific function is not detailed here but is the subject of operand syntax debate.
- x86
- A family of instruction set architectures (ISAs) commonly used in desktop and server computers. Binutils provides tools to assemble and link code for this architecture.
- operands
- The data or registers that an assembly instruction acts upon. Explicit operands are listed directly in the instruction, while implicit operands are used automatically by the instruction.
- AMD APM
- AMD Architecture Programmer's Manual, a comprehensive document detailing AMD's processor features and instruction set.