From 11e53e3c384e9e25f53a0aec3acf0a725efafeab Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Nov 2002 01:32:55 +0000 Subject: [PATCH] Add new prefix flag git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4794 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 65536818bf0..a0454a652c5 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, }; }