[X86][MC] Fix wrong encoding of promoted BMI instructions due to missing NoCD8 (...
commitd124b0224241f58847f06eb588685dc88bb627a0
authorXinWang10 <108658776+XinWang10@users.noreply.github.com>
Thu, 18 Jan 2024 16:27:16 +0000 (18 08:27 -0800)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 16:27:16 +0000 (19 00:27 +0800)
tree5e208fd8815b16dae5f47e085c923a0edfe448cd
parent8bc7c0a058ff0e6495b8e7e4dd850e646228506b
[X86][MC] Fix wrong encoding of promoted BMI instructions due to missing NoCD8 (#78386)

Address review comments in #76709

Add `NoCD8` to class `ITy`, and rewrite the promoted instructions with
`ITy` to avoid unexpected incorrect encoding about `NoCD8`.
llvm/lib/Target/X86/X86InstrMisc.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/lib/Target/X86/X86InstrUtils.td
llvm/test/MC/Disassembler/X86/apx/bmi2.txt
llvm/test/MC/X86/apx/bmi2-att.s
llvm/test/MC/X86/apx/bmi2-intel.s