[llvm-commits] CVS: llvm/lib/Target/X86/X86.td X86InstrInfo.h X86InstrInfo.td

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 1 01:23:27 PDT 2004



Changes in directory llvm/lib/Target/X86:

X86.td updated: 1.11 -> 1.12
X86InstrInfo.h updated: 1.41 -> 1.42
X86InstrInfo.td updated: 1.85 -> 1.86

---
Log message:

Eliminate 3 of the X86 printImplicit* flags.


---
Diffs of the changes:  (+3 -25)

Index: llvm/lib/Target/X86/X86.td
diff -u llvm/lib/Target/X86/X86.td:1.11 llvm/lib/Target/X86/X86.td:1.12
--- llvm/lib/Target/X86/X86.td:1.11	Tue Apr 13 12:18:39 2004
+++ llvm/lib/Target/X86/X86.td	Sun Aug  1 03:23:17 2004
@@ -40,9 +40,6 @@
                        "ImmTypeBits",
                        "FPFormBits",
                        "printImplicitUsesAfter", 
-                       "printImplicitUsesBefore",
-                       "printImplicitDefsBefore",
-                       "printImplicitDefsAfter",
                        "Opcode"];
   let TSFlagsShifts = [0,
                        5,
@@ -51,10 +48,7 @@
                        13,
                        15,
                        18,
-                       19,
-                       20,
-                       21,
-                       22];
+                       19];
 }
 
 def X86 : Target {


Index: llvm/lib/Target/X86/X86InstrInfo.h
diff -u llvm/lib/Target/X86/X86InstrInfo.h:1.41 llvm/lib/Target/X86/X86InstrInfo.h:1.42
--- llvm/lib/Target/X86/X86InstrInfo.h:1.41	Sat Jul 31 04:38:47 2004
+++ llvm/lib/Target/X86/X86InstrInfo.h	Sun Aug  1 03:23:17 2004
@@ -169,16 +169,7 @@
     // 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: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.85 llvm/lib/Target/X86/X86InstrInfo.td:1.86
--- llvm/lib/Target/X86/X86InstrInfo.td:1.85	Sun Aug  1 03:13:11 2004
+++ llvm/lib/Target/X86/X86InstrInfo.td	Sun Aug  1 03:23:17 2004
@@ -88,16 +88,9 @@
   //
   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;





More information about the llvm-commits mailing list