[X86][SLM] Fix DIVPD/DIVPS/RCPPS/RSQRTPS/SQRTPD/SQRTPS/DPPD/DPPS uops, latency and...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 Sep 2021 19:29:25 +0000 (20:29 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 13 Sep 2021 07:36:43 +0000 (08:36 +0100)
commit65ad09da0ea7b947ce4bfa96dee00a53230f4cf9
treed5b98ef498fe564b12550cd0aef06e782b5e2f4d
parent6d970e83fac56cefc18d352a760cddb1c6d29e09
[X86][SLM] Fix DIVPD/DIVPS/RCPPS/RSQRTPS/SQRTPD/SQRTPS/DPPD/DPPS uops, latency and throughput

The packed variants of the instructions had been modelled as the same as the scalar variants.

Reported during a run of llvm-exegesis on a cheap SLM box and matches what Agner / InstLatX64 report as well.
llvm/lib/Target/X86/X86ScheduleSLM.td
llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s
llvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s
llvm/test/tools/llvm-mca/X86/SLM/resources-sse41.s