1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Eliminate 3 of the X86 printImplicit* flags.

llvm-svn: 15398
This commit is contained in:
Chris Lattner 2004-08-01 08:23:17 +00:00
parent de4844f84d
commit 90a4b737dd
3 changed files with 3 additions and 25 deletions

View File

@ -40,9 +40,6 @@ def X86InstrInfo : InstrInfo {
"ImmTypeBits",
"FPFormBits",
"printImplicitUsesAfter",
"printImplicitUsesBefore",
"printImplicitDefsBefore",
"printImplicitDefsAfter",
"Opcode"];
let TSFlagsShifts = [0,
5,
@ -51,10 +48,7 @@ def X86InstrInfo : InstrInfo {
13,
15,
18,
19,
20,
21,
22];
19];
}
def X86 : Target {

View File

@ -169,16 +169,7 @@ namespace X86II {
// the normal operands.
PrintImplUsesAfter = 1 << 18,
// PrintImplUsesBefore - Print out implicit uses in the assembly output
// before the normal operands.
PrintImplUsesBefore = 1 << 19,
// PrintImplDefsAfter - Print out implicit defs in the assembly output
// after the normal operands.
PrintImplDefsBefore = 1 << 20,
PrintImplDefsAfter = 1 << 21,
OpcodeShift = 22,
OpcodeShift = 19,
OpcodeMask = 0xFF << OpcodeShift,
// Bits 27 -> 31 are unused
};

View File

@ -88,16 +88,9 @@ class X86Inst<string nam, bits<8> opcod, Format f, MemType m, ImmType i> : Instr
//
bit hasOpSizePrefix = 0; // Does this inst have a 0x66 prefix?
// Flag whether implicit register usage is printed before/after the
// instruction
bit printImplicitUsesBefore = 0;
// Flag whether implicit register usage is printed after the instruction.
bit printImplicitUsesAfter = 0;
// Flag whether implicit register definitions are printed before/after the
// instruction
bit printImplicitDefsBefore = 0;
bit printImplicitDefsAfter = 0;
bits<4> Prefix = 0; // Which prefix byte does this inst have?
FPFormat FPForm; // What flavor of FP instruction is this?
bits<3> FPFormBits = 0;