aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-21 01:32:55 +0000
committerChris Lattner <sabre@nondot.org>2002-11-21 01:32:55 +0000
commit11e53e3c384e9e25f53a0aec3acf0a725efafeab (patch)
tree50450a9aff60e03a6b37fd3a1571226e27ca878f
parent644e1abae4526e3b875d6bcf772089daaa2959b5 (diff)
Add new prefix flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4794 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86InstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index 65536818bf..a0454a652c 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -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,
};
}