[X86] Fix bdver2 128-bit ALU/logic/shift throughputs
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 10 Sep 2022 15:21:50 +0000 (16:21 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 10 Sep 2022 15:23:29 +0000 (16:23 +0100)
commit7785bd34e744a9da515b7e0b5dda10b423ba03fe
tree7671779b141db635f75d1bb5b9630360627b2530
parentb51c6130efac2afd183ad71b81c16c713c10a1b5
[X86] Fix bdver2 128-bit ALU/logic/shift throughputs

Noticed while trying to get vector shifts costs fixed using the script from D103695 - all of these are full-rate but the throughput costs were weirdly high for bdver2

Matches AMD 15h SoG, Agner and instlatx64
19 files changed:
llvm/lib/Target/X86/X86ScheduleBdVer2.td
llvm/test/tools/llvm-mca/X86/BdVer2/clear-super-register-2.s
llvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpeq.s
llvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpgt.s
llvm/test/tools/llvm-mca/X86/BdVer2/dependent-pmuld-paddd.s
llvm/test/tools/llvm-mca/X86/BdVer2/one-idioms.s
llvm/test/tools/llvm-mca/X86/BdVer2/pipes-fpu.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-3dnow.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-avx1.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-mmx.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse2.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse41.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse42.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-ssse3.s
llvm/test/tools/llvm-mca/X86/BdVer2/resources-xop.s
llvm/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-2.s
llvm/test/tools/llvm-mca/X86/BdVer2/zero-idioms-avx-256.s
llvm/test/tools/llvm-mca/X86/BdVer2/zero-idioms.s