[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)
commit69da3f3df62b6acd077b162bd4d300ac7eb15b71
tree3e43a143882b58b3fd474f40ff3e9cda58e459de
parent80e1b5eb3486758ba67cf311e3afad7c1a56deda
[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.

llvm-svn: 341213
llvm/test/tools/llvm-mca/X86/sqrt-rsqrt-rcp-memop.s [new file with mode: 0644]