public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Hu, Lin1" <lin1.hu@intel.com>
To: binutils@sourceware.org
Subject: [PATCH] x86: support APX forms of U{RD,WR}MSR
Date: Tue, 16 Jan 2024 16:19:24 +0800	[thread overview]
Message-ID: <20240116081923.2189141-1-lin1.hu@intel.com> (raw)
In-Reply-To: <f1a9acc0-a981-4987-812a-1719d2be984d@suse.com>

> @@ -3482,11 +3482,13 @@ eretu, 0xf30f01ca, FRED, NoSuf, {}
> // USER_MSR instructions.
> 
> urdmsr, 0xf20f38f8, USER_MSR, RegMem|NoSuf|NoRex64, { Reg64, Reg64  }
> -urdmsr, 0xf2f8/0, USER_MSR, Modrm|Vex128|VexMap7|VexW0|NoSuf, { Imm32, Reg64  }
> +urdmsr, 0xf2f8, USER_MSR&APX_F, RegMem|EVexMap4|VexW0|NoSuf, { Reg64, Reg64  }
> +urdmsr, 0xf2f8/0, APX_F(USER_MSR), Modrm|Vex128|VexMap7|EVex128|VexW0|NoSuf,
> { Imm32, Reg64  }
> uwrmsr, 0xf30f38f8, USER_MSR, Modrm|NoSuf|NoRex64, { Reg64, Reg64  }
> +uwrmsr, 0xf3f8, USER_MSR&APX_F, Modrm||EVexMap4|VexW0|NoSuf, { Reg64, Reg64  }
> // Immediates want to be first; md_assemble() takes care of swapping operands
> // accordingly.
> -uwrmsr, 0xf3f8/0, USER_MSR, Modrm|Vex128|VexMap7|VexW0|NoSuf, { Imm32, Reg64  }
> +uwrmsr, 0xf3f8/0, APX_F(USER_MSR), Modrm|Vex128|VexMap7|EVex128|VexW0|NoSuf,
> { Imm32, Reg64  }

I think change the space name from VexMap7 to SpaceMap7 will be better.

BRs,
Lin

  reply	other threads:[~2024-01-16  8:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12  8:57 Jan Beulich
2024-01-15  6:41 ` Cui, Lili
2024-01-15  7:19   ` Jan Beulich
2024-01-16  8:19     ` Hu, Lin1 [this message]
2024-01-16  8:31       ` Jan Beulich
2024-01-16  8:31       ` Hu, Lin1
2024-01-18  1:22     ` Cui, Lili

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240116081923.2189141-1-lin1.hu@intel.com \
    --to=lin1.hu@intel.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).