[all-commits] [llvm/llvm-project] bd956b: [X86] Fix fmul throughput/latency/uops counts
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Sep 3 03:11:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd956b7db398e4ec1a73a3b344a304d6c6630681
https://github.com/llvm/llvm-project/commit/bd956b7db398e4ec1a73a3b344a304d6c6630681
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-09-03 (Sat, 03 Sep 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-fma.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-fma.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
Log Message:
-----------
[X86] Fix fmul throughput/latency/uops counts
Matches numbers from AMD SoG + Agner - should always be on FPU Pipes 0+1, no additional uops for folded instructions and znver1 double pumps 256-bit vectors and is always latency = 4cy for f64 multiplies
Noticed while adding fmul CostKinds support to the x86 cost models in rG0735200e3f50 and znver1 wasn't being flagged as requiring 2uop for 256-bit vectors
More information about the All-commits
mailing list