[X86][Btver2] Add CVTSD2SI/CVTSS2SI scheduler costs
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 26 Mar 2018 15:30:47 +0000 (15:30 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 26 Mar 2018 15:30:47 +0000 (15:30 +0000)
commit0b73b293884b882ad1ef615cdea58be8d2a1cd2f
treed6446a6fd935800c970785a0c6800c52abad2161
parent9a652a84b141901b6eb17a5948b0741e0febd141
[X86][Btver2] Add CVTSD2SI/CVTSS2SI scheduler costs

Account for the "+i" integer pipe transfer cost (1cy use of JALU0 for GPR PRF write)

This also adds missing vcvttss2si tests

llvm-svn: 328505
llvm/lib/Target/X86/X86ScheduleBtVer2.td
llvm/test/CodeGen/X86/sse-schedule.ll
llvm/test/CodeGen/X86/sse2-schedule.ll
llvm/test/tools/llvm-mca/X86/BtVer2/resources-avx1.s
llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s
llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse2.s