binutils Newspaper
NOVEMBER 30, 2026
x86 — Proposed — Sentiment 8 / 10

x86: Support x86 USER_DOITM/SUP_DOITM instructions

Binutils gas assembler is updated to support the new USER_DOITM and SUP_DOITM instructions.

This patch adds support for the USER_DOITM and SUP_DOITM instructions to the GNU Assembler (gas). These instructions are related to user-mode and supervisor-mode operations, respectively, and are accessed via the .doitm switch. The patch includes updates to gas’s configuration, documentation, and test suite, along with modifications to opcode definitions.

In the Thread 2 participants
  1. Haochen Jiang <haochen.jiang@intel.com> proposer

    Submits a patch to add support for USER_DOITM/SUP_DOITM instructions to gas, stating it will be committed after minor adjustments.

    “This will be the patch I am going to commit after adjusting tabs and blanks near slashes if no objection. Thx, Haochen”
  2. Jan Beulich <jbeulich@suse.com> reviewer

    Grants approval for the patch, confirming that the author should proceed with the commit after the mentioned adjustments.

    “Just to confirm - please go ahead.”

Technical Tradeoffs

  • Adding new instruction support increases assembler complexity but enables use of new hardware features.
  • Unified `.doitm` switch simplifies assembly syntax but requires clear distinction between user/supervisor modes.

In Details

This patch adds support for the USER_DOITM and SUP_DOITM instructions to the GNU Assembler (gas). These instructions appear to be new extensions, with USER_DOITM for user-mode and SUP_DOITM for supervisor-mode. The patch involves modifications to gas/ChangeLog, gas/config/tc-i386.c, gas/doc/c-i386.texi, and various test suite files, as well as updates to opcodes/ files for instruction decoding and encoding. A common .doitm switch is used to access both.

For Context
USER_DOITM
Likely a new x86 instruction extension related to operations performed in user mode.
SUP_DOITM
Likely a new x86 instruction extension related to operations performed in supervisor (kernel) mode.
.doitm
An assembler directive or switch used to invoke the USER_DOITM and SUP_DOITM instructions.
gas
The GNU Assembler, part of the GNU Binutils package, responsible for translating assembly language code into machine code.
x86
The dominant instruction set architecture for desktop and server processors.
Filed Under: binutilsgasx86instruction set