[llvm-commits] [llvm] r41862 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.td

Evan Cheng evan.cheng at apple.com
Tue Sep 11 12:53:28 PDT 2007


Author: evancheng
Date: Tue Sep 11 14:53:28 2007
New Revision: 41862

URL: http://llvm.org/viewvc/llvm-project?rev=41862&view=rev
Log:
Added status flags register: EFLAGS.

Modified:
    llvm/trunk/lib/Target/X86/X86RegisterInfo.td

Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86RegisterInfo.td?rev=41862&r1=41861&r2=41862&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86RegisterInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86RegisterInfo.td Tue Sep 11 14:53:28 2007
@@ -161,6 +161,9 @@
   def ST5 : Register<"ST(5)">, DwarfRegNum<16>;
   def ST6 : Register<"ST(6)">, DwarfRegNum<17>;
   def ST7 : Register<"ST(7)">, DwarfRegNum<18>; 
+
+  // Status flags register
+  def EFLAGS : Register<"EFLAGS">;
 }
 
 
@@ -516,3 +519,6 @@
     }
   }];
 }
+
+// Status flags registers.
+def CCR : RegisterClass<"X86", [i32], 32, [EFLAGS]>;





More information about the llvm-commits mailing list