[llvm] [X86][MC] Support encoding/decoding for JMPABS (PR #72835)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 04:34:26 PST 2023


================
@@ -354,7 +363,8 @@ class X86Inst<bits<8> opcod, Format f, ImmType i, dag outs, dag ins,
   string EVEX2VEXOverride = ?;
 
   bit notEVEX2VEXConvertible = 0; // Prevent EVEX->VEX conversion.
-  bit ExplicitVEXPrefix = 0; // Force the instruction to use VEX encoding.
+  ExplicitOpPrefix explicitOpPrefix = NoExplicitOpPrefix;
+  bits<2> explicitOpPrefixBits = explicitOpPrefix.Value;
----------------
phoebewang wrote:

Why need to define both?

https://github.com/llvm/llvm-project/pull/72835


More information about the llvm-commits mailing list