summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-01-07 05:18:49 +0000
committerCraig Topper <craig.topper@gmail.com>2016-01-07 05:18:49 +0000
commitfc678ba944bb025adcef087054de701d5609e55a (patch)
treec39a733872452c284999370c9e9f0660859ff6fc /llvm/lib
parent68a55e6c34916122df37c5d93715ba72fdf477e4 (diff)
downloadbcm5719-llvm-fc678ba944bb025adcef087054de701d5609e55a.tar.gz
bcm5719-llvm-fc678ba944bb025adcef087054de701d5609e55a.zip
[X86] STOSQ without a rep prefix doesn't read or write RCX.
llvm-svn: 257030
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index ea8e56206ce..8ee30046beb 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -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>;
OpenPOWER on IntegriCloud