diff options
author | John Criswell <criswell@uiuc.edu> | 2004-04-08 20:31:47 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-04-08 20:31:47 +0000 |
commit | 10db062d4121785bd2d4d0999211767a146df1a8 (patch) | |
tree | 2939495733b5eeaddbb39d4c6e684db1f9d3fb1b /llvm/lib/Target/X86/X86InstrInfo.h | |
parent | 5201004ef90c8db352c0690ff8d62af9f2a92b73 (diff) | |
download | bcm5719-llvm-10db062d4121785bd2d4d0999211767a146df1a8.tar.gz bcm5719-llvm-10db062d4121785bd2d4d0999211767a146df1a8.zip |
Added the llvm.readport and llvm.writeport intrinsics for x86. These do
I/O port instructions on x86. The specific code sequence is tailored to
the parameters and return value of the intrinsic call.
Added the ability for implicit defintions to be printed in the Instruction
Printer.
Added the ability for RawFrm instruction to print implict uses and
defintions with correct comma output. This required adjustment to some
methods so that a leading comma would or would not be printed.
llvm-svn: 12782
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.h')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h index 55700623550..90e8d524efc 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.h +++ b/llvm/lib/Target/X86/X86InstrInfo.h @@ -121,7 +121,7 @@ namespace X86II { Mem128 = 6 << MemShift, //===------------------------------------------------------------------===// - // This tow-bit field describes the size of an immediate operand. Zero is + // This two-bit field describes the size of an immediate operand. Zero is // unused so that we can tell if we forgot to set a value. ImmShift = 13, ImmMask = 7 << ImmShift, @@ -169,9 +169,13 @@ namespace X86II { // before the normal operands. PrintImplUsesBefore = 1 << 19, - OpcodeShift = 20, + // PrintImplDefsAfter - Print out implicit defs in the assembly output + // after the normal operands. + PrintImplDefsAfter = 1 << 20, + + OpcodeShift = 21, OpcodeMask = 0xFF << OpcodeShift, - // Bits 25 -> 31 are unused + // Bits 26 -> 31 are unused }; } |