mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Eliminate 3 of the X86 printImplicit* flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1626c507e8
commit
a35ce87e2e
@ -40,9 +40,6 @@ def X86InstrInfo : InstrInfo {
|
|||||||
"ImmTypeBits",
|
"ImmTypeBits",
|
||||||
"FPFormBits",
|
"FPFormBits",
|
||||||
"printImplicitUsesAfter",
|
"printImplicitUsesAfter",
|
||||||
"printImplicitUsesBefore",
|
|
||||||
"printImplicitDefsBefore",
|
|
||||||
"printImplicitDefsAfter",
|
|
||||||
"Opcode"];
|
"Opcode"];
|
||||||
let TSFlagsShifts = [0,
|
let TSFlagsShifts = [0,
|
||||||
5,
|
5,
|
||||||
@ -51,10 +48,7 @@ def X86InstrInfo : InstrInfo {
|
|||||||
13,
|
13,
|
||||||
15,
|
15,
|
||||||
18,
|
18,
|
||||||
19,
|
19];
|
||||||
20,
|
|
||||||
21,
|
|
||||||
22];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def X86 : Target {
|
def X86 : Target {
|
||||||
|
@ -169,16 +169,7 @@ namespace X86II {
|
|||||||
// the normal operands.
|
// the normal operands.
|
||||||
PrintImplUsesAfter = 1 << 18,
|
PrintImplUsesAfter = 1 << 18,
|
||||||
|
|
||||||
// PrintImplUsesBefore - Print out implicit uses in the assembly output
|
OpcodeShift = 19,
|
||||||
// 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,
|
|
||||||
OpcodeMask = 0xFF << OpcodeShift,
|
OpcodeMask = 0xFF << OpcodeShift,
|
||||||
// Bits 27 -> 31 are unused
|
// Bits 27 -> 31 are unused
|
||||||
};
|
};
|
||||||
|
@ -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?
|
bit hasOpSizePrefix = 0; // Does this inst have a 0x66 prefix?
|
||||||
|
|
||||||
// Flag whether implicit register usage is printed before/after the
|
// Flag whether implicit register usage is printed after the instruction.
|
||||||
// instruction
|
|
||||||
bit printImplicitUsesBefore = 0;
|
|
||||||
bit printImplicitUsesAfter = 0;
|
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?
|
bits<4> Prefix = 0; // Which prefix byte does this inst have?
|
||||||
FPFormat FPForm; // What flavor of FP instruction is this?
|
FPFormat FPForm; // What flavor of FP instruction is this?
|
||||||
bits<3> FPFormBits = 0;
|
bits<3> FPFormBits = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user