x86: Support x86 USER_DOITM/SUP_DOITM instructions
Patch adds support for new Intel USER_DOITM/SUP_DOITM instructions to GNU assembler and disassembler.
This patch introduces support for Intel’s new USER_DOITM and SUP_DOITM instructions to the GNU Assembler (gas) and disassembler. The author proposes using a .doitm switch to handle these instructions, as they share the same opcodes in both user and supervisor modes. The patch includes updates to NEWS, configuration, and testsuite files.
In Details
This patch adds support for new x86 instructions (USER_DOITM/SUP_DOITM) to binutils. These instructions are part of recent Intel ISA disclosures. The key implementation detail is the use of a .doitm assembler directive to differentiate between user-mode and supervisor-mode execution of the same opcodes, simplifying gas and objdump.
- USER_DOITM
- An Intel instruction extension operating in user mode.
- SUP_DOITM
- An Intel instruction extension operating in supervisor mode.
- ISA
- Instruction Set Architecture, defining the set of instructions a processor can execute.
- gas
- The GNU Assembler, part of the GNU Binutils package.
- disassembler
- A tool that translates machine code (binary) back into assembly language.