[llvm] [X86][MC] Support Intel FRED and LKGS instructions. (PR #91909)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sun May 12 23:16:13 PDT 2024
================
@@ -68,6 +68,12 @@ def SYSENTER : I<0x34, RawFrm, (outs), (ins), "sysenter", []>, TB;
def SYSEXIT : I<0x35, RawFrm, (outs), (ins), "sysexit{l}", []>, TB;
def SYSEXIT64 :RI<0x35, RawFrm, (outs), (ins), "sysexitq", []>, TB,
Requires<[In64BitMode]>;
+
+// FRED Instructions
+def ERETS: I<0x01, MRM_CA, (outs), (ins), "erets",
----------------
KanRobert wrote:
> The following sections indicate situations in which one of the instructions may cause a
> control-protection exception (#CP).
We should set hasSideEffects = 1 for them
https://github.com/llvm/llvm-project/pull/91909
More information about the llvm-commits
mailing list