diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-14 04:45:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-14 04:45:37 +0000 |
commit | b89abef577fe7ec9cd7a8744bc666b7730908282 (patch) | |
tree | 0ae1f2840643ff9fdfbc5206d417ae640247a926 | |
parent | e488d64eb2eacf8c65c280bbecba2a1fe54dc77e (diff) |
add 'rep stos[bwd]' instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11441 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 4bb1a9550a..657cec5149 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... // |