From c48d0fa9a2ecf8ac0b5656f39e77fd77821d79cc 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 llvm-svn: 4794 --- llvm/lib/Target/X86/X86InstrInfo.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h index 65536818bf0f..a0454a652c5a 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.h +++ b/llvm/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, }; }