[PATCH] D155142: Add PBNDKB instruction.
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 18:24:38 PDT 2023
skan added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstrSystem.td:432
def RDMSR : I<0x32, RawFrm, (outs), (ins), "rdmsr", []>, TB;
-
+let Defs = [RAX, EFLAGS], Uses = [RBX, RCX], Predicates = [In64BitMode] in
+def PBNDKB : I<0x01, MRM_C7, (outs), (ins), "pbndkb", []>, PS;
----------------
I don't know if it would make a difference, but according to SPEC, should we change `RAX` to `EAX`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155142/new/
https://reviews.llvm.org/D155142
More information about the llvm-commits
mailing list