[PATCH] x86: Support x86 USER_DOITM/SUP_DOITM instructions

Jan Beulich jbeulich@suse.com
Mon Nov 16 12:38:54 GMT 2026


On 16.11.2026 09:00, Haochen Jiang wrote:
> There are several new ISAs disclosed last week. USER_DOITM and SUP_DOITM
> info is in a separate documenation. Its documentation is here:
> 
> https://www.intel.com/content/www/us/en/content-details/932747/user-doitm-and-sup-doitm-extensions-architecture-specification.html
> 
> Ok for trunk?

Okay with ...

> @@ -3006,9 +3008,20 @@ static const struct dis386 reg_table[][8] = {
>      { "nopQ",		{ Ev }, PREFIX_IGNORED },
>      { "nopQ",		{ Ev }, PREFIX_IGNORED },
>      { "nopQ",		{ Ev }, PREFIX_IGNORED },
> -    { "nopQ",		{ Ev }, PREFIX_IGNORED },
> +    { "rddoitm",	{ Ev }, 0 },
>      { RM_TABLE (RM_0F1E_P_1_MOD_3_REG_7) },
>    },
> +  /* REG_0F1E_P_3_MOD_3 */
> +  {
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +    { "wrdoitm",	{ Ev }, 0 },
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },
> +  },

... tab padding used here and ...

> @@ -8700,6 +8713,11 @@ static const struct dis386 mod_table[][2] = {
>      { "nopQ",		{ Ev }, PREFIX_IGNORED },
>      { REG_TABLE (REG_0F1E_P_1_MOD_3) },
>    },
> +  {
> +    /* MOD_0F1E_PREFIX_3 */
> +    { "nopQ",           { Ev }, PREFIX_IGNORED },

... here, and with ...

> --- a/opcodes/i386-opc.tbl
> +++ b/opcodes/i386-opc.tbl
> @@ -3724,3 +3724,11 @@ vmovrs<dq>, 0xf36f, AVX10_2&MOVRS&x64, Modrm|Masking|Map5|<dq:vexw>|Disp8ShiftVL
>  vpmldsabflydq, 0x66dc, AVX10_VPMLDSABFLYDQ, Modrm|Space0F3A|Src1VVVV|VexW1|Disp8ShiftVL|CheckOperandSize|NoSuf, { Imm8, RegXMM|RegYMM|RegZMM|Unspecified|BaseIndex, RegXMM|RegYMM|RegZMM, RegXMM|RegYMM|RegZMM }
>  
>  // AVX10_VPMLDSABFLYDQ instructions end.
> +
> +// USER_DOITM/SUP_DOITM instructions.

... blanks around the slash here as well as ...

> +rddoitm, 0xf30f1e/6, DOITM, Modrm|NoSuf, { Reg32|Reg64 }
> +setdoitm, 0xf30f1efc, DOITM, NoSuf, {}
> +wrdoitm, 0xf20f1e/6, DOITM, Modrm|NoSuf, { Reg32|Reg64 }
> +
> +// USER_DOITM/SUP_DOITM instructions end.

... here.

Jan


More information about the Binutils mailing list