add 'rep stos[bwd]' instructions
authorChris Lattner <sabre@nondot.org>
Sat, 14 Feb 2004 04:45:37 +0000 (04:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Feb 2004 04:45:37 +0000 (04:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11441 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 4bb1a9550a945021987b50e5d4e86670186075bf..657cec5149a6c7c301c583e3990bec8bdf46407e 100644 (file)
@@ -181,6 +181,13 @@ def REP_MOVSW : X86Inst<"rep movsw", 0xA5, RawFrm, NoArg>, REP, OpSize,
 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...
 //