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

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 13 22:46:01 PST 2004


Changes in directory llvm/lib/Target/X86:

X86InstrInfo.td updated: 1.20 -> 1.21

---
Log message:

add 'rep stos[bwd]' instructions


---
Diffs of the changes:  (+7 -0)

Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.20 llvm/lib/Target/X86/X86InstrInfo.td:1.21
--- llvm/lib/Target/X86/X86InstrInfo.td:1.20	Thu Feb 12 11:53:22 2004
+++ llvm/lib/Target/X86/X86InstrInfo.td	Fri Feb 13 22:45:37 2004
@@ -181,6 +181,13 @@
 def REP_MOVSD : X86Inst<"rep movsd", 0xA5, RawFrm, NoArg>, REP,
                 Imp<[ECX,EDI,ESI], [ECX,EDI,ESI]>;
 
+def REP_STOSB : X86Inst<"rep stosb", 0xAA, RawFrm, NoArg>, REP,
+                Imp<[ECX,EDI], [ECX,EDI]>;
+def REP_STOSW : X86Inst<"rep stosw", 0xAB, RawFrm, NoArg>, REP, OpSize,
+                Imp<[ECX,EDI], [ECX,EDI]>;
+def REP_STOSD : X86Inst<"rep stosd", 0xAB, RawFrm, NoArg>, REP,
+                Imp<[ECX,EDI], [ECX,EDI]>;
+
 //===----------------------------------------------------------------------===//
 //  Move Instructions...
 //





More information about the llvm-commits mailing list