OSDN Git Service

[X86] Add llvm-mca tests that show how operand latency is wrongly computed for SSE...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 31 Aug 2018 14:12:13 +0000 (14:12 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 31 Aug 2018 14:12:13 +0000 (14:12 +0000)
commit57ed8ef0fa95b592c874fc97adf2c108d9852f2a
tree0459a0d460c068f24f10499e46fcb7b82c73d3d2
parent73e2113025e2aeebb78545caf31e43010b200818
[X86] Add llvm-mca tests that show how operand latency is wrongly computed for SSE sqrtss/sd and rcpss.

According to the timeline view, sqrtss/sd/rcpss start executing before the load
address for the memory operand is available.
This problem is caused by the presence of a ReadAfterLd (a ReadAdvance). Those
unary operations should not specify a ReadAdvance at all.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341213 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-mca/X86/sqrt-rsqrt-rcp-memop.s [new file with mode: 0644]