[all-commits] [llvm/llvm-project] 1bc4cb: [X86][MC] Fix wrong action when encoding enqcmd/en...

XinWang10 via All-commits all-commits at lists.llvm.org
Wed Jan 10 19:10:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bc4cb51afb9abf6049ccfa44069cb1f0612e678
      https://github.com/llvm/llvm-project/commit/1bc4cb51afb9abf6049ccfa44069cb1f0612e678
  Author: XinWang10 <108658776+XinWang10 at users.noreply.github.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrMisc.td
    M llvm/test/MC/X86/index-operations.s

  Log Message:
  -----------
  [X86][MC] Fix wrong action when encoding enqcmd/enqcmds (#77571)

Mentioned in https://github.com/llvm/llvm-project/pull/77293,
enqcmd/enqcmds are special for its mem operand, like movdir64b(see
https://github.com/llvm/llvm-project/commit/4dd5e9c60efa9), 0x67 prefix
can not only modify its address size, so it's mem base and index reg
should be the same type as source reg.




More information about the All-commits mailing list