[all-commits] [llvm/llvm-project] c99690: [X86] Adjust vector shift costs to match SoG (Issu...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun May 29 09:56:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c99690462ef7d510134ee3d58cdae87b26c23cb7
https://github.com/llvm/llvm-project/commit/c99690462ef7d510134ee3d58cdae87b26c23cb7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-05-29 (Sun, 29 May 2022)
Changed paths:
M llvm/lib/Target/X86/X86ScheduleZnver1.td
M llvm/lib/Target/X86/X86ScheduleZnver2.td
M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx2.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-mmx.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-mmx.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-mmx.s
M llvm/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-x87.s
Log Message:
-----------
[X86] Adjust vector shift costs to match SoG (Issue #54889)
znver1/2 models were incorrectly modelling the fpupipe (should be pipe2 for shift-by-scalar-amount and pipe1 for shift-by-element-amount) and znver1 ymm variants also require double pumping.
Now matches AMD SoG, Agner and instlatx64 numbers.
Thanks to @fabian-r for the report
More information about the All-commits
mailing list