Add new prefix flag
authorChris Lattner <sabre@nondot.org>
Thu, 21 Nov 2002 01:32:55 +0000 (01:32 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Nov 2002 01:32:55 +0000 (01:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4794 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.h

index 65536818bf0f2bebf51db707b9ea8069d08573e7..a0454a652c5aed25cd61c2d75b2cf79f1c94b455 100644 (file)
@@ -65,6 +65,11 @@ namespace X86II {
     // TB - TwoByte - Set if this instruction has a two byte opcode, which
     // starts with a 0x0F byte before the real opcode.
     TB          = 1 << 4,
+
+    // OpSize - Set if this instruction requires an operand size prefix (0x66),
+    // which most often indicates that the instruction operates on 16 bit data
+    // instead of 32 bit data.
+    OpSize      = 1 << 5,
   };
 }