Eliminate 3 of the X86 printImplicit* flags.
authorChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 08:23:17 +0000 (08:23 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 08:23:17 +0000 (08:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15398 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td
lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86InstrInfo.td

index ac0141bcb17880d4b78d0002114a2c4333f78bc5..9f64b1a687704d042679c084f1cf3b5153504cb2 100644 (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 {
index eb920d67d87a504e2b55175b165a2c79b771f8a7..eaaa1f08934714736d3cf2dc41a97b24ffc2a7d1 100644 (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
   };
index 6c6eb248e248629b246e60e07d00e37f27855465..2ec2cb17fa18b4ccb83d6c8ea8e821ddca8732ec 100644 (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;