From: Chris Lattner Date: Sat, 14 Feb 2004 04:45:37 +0000 (+0000) Subject: add 'rep stos[bwd]' instructions X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b89abef577fe7ec9cd7a8744bc666b7730908282;p=oota-llvm.git add 'rep stos[bwd]' instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11441 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 4bb1a9550a9..657cec5149a 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -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... //