OSDN Git Service

[CostModel][X86] Add explicit fcmp costs for pre-SSE42 targets
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 20 Jan 2019 13:21:43 +0000 (13:21 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 20 Jan 2019 13:21:43 +0000 (13:21 +0000)
commit38ece52d643c8cab5e2d8448333fcaee4e405e87
treef2c9f4abff8a9b29b5768b14450291484b4fba1b
parentc33a4fdc9c20ff542a50e78574d056e4956a89fb
[CostModel][X86] Add explicit fcmp costs for pre-SSE42 targets

Typical throughputs: cmpss/cmpps = 1cy and cmpsd/cmppd = 2cy before the Core2 era

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351684 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86TargetTransformInfo.cpp
test/Analysis/CostModel/X86/fcmp.ll
test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll