[all-commits] [llvm/llvm-project] ded886: [X86][Atom] Fix vector fp<->int resource/throughputs
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Jul 7 09:31:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ded8866f4a4600c69f3d1d6f5e0c9ec7bd9ade45
https://github.com/llvm/llvm-project/commit/ded8866f4a4600c69f3d1d6f5e0c9ec7bd9ade45
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M llvm/lib/Target/X86/X86ScheduleAtom.td
M llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s
M llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
Log Message:
-----------
[X86][Atom] Fix vector fp<->int resource/throughputs
Match whats documented in the Intel AOM - almost all the conversion instructions requires BOTH ports (apart from the MMX cvtpi2ps/cvtpi2ps instructions which we already override) - this was being incorrectly modelled as EITHER port.
Now that we can use in-order models in llvm-mca, the atom model is a good "worst case scenario" analysis for x86.
More information about the All-commits
mailing list