[X86] STOSQ without a rep prefix doesn't read or write RCX.
authorCraig Topper <craig.topper@gmail.com>
Thu, 7 Jan 2016 05:18:49 +0000 (05:18 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 7 Jan 2016 05:18:49 +0000 (05:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257030 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index ea8e56206ce69ae31e0c2595e0a568055679a620..8ee30046beb5cca7e2e660b73d99d3c760a72d6a 100644 (file)
@@ -1273,7 +1273,7 @@ def STOSW : I<0xAB, RawFrmDst, (outs dstidx16:$dst), (ins),
 let Defs = [EDI], Uses = [EAX,EDI,EFLAGS] in
 def STOSL : I<0xAB, RawFrmDst, (outs dstidx32:$dst), (ins),
               "stos{l|d}\t{%eax, $dst|$dst, eax}", [], IIC_STOS>, OpSize32;
-let Defs = [RCX,RDI], Uses = [RAX,RCX,RDI,EFLAGS] in
+let Defs = [RDI], Uses = [RAX,RDI,EFLAGS] in
 def STOSQ : RI<0xAB, RawFrmDst, (outs dstidx64:$dst), (ins),
                "stosq\t{%rax, $dst|$dst, rax}", [], IIC_STOS>;