HomePhabricator

[CostModel][X86] Add min/max reduction costs for all SSE targets

Authored by RKSimon on May 11 2019, 10:12 AM.

Description

[CostModel][X86] Add min/max reduction costs for all SSE targets

The original costs stopped at SSE42, I've added conservative estimates for everything down to SSE1/SSE2 and moved some of the SSE42 costs to SSE41 (really only the addition of PCMPGT makes any difference).

I've also added missing vXi8 costs (we use PHMINPOSUW for i8/i16 for scarily quick results) and 256-bit vector costs for AVX1.

llvm-svn: 360528

Details

Committed
RKSimonMay 11 2019, 10:12 AM
Parents
rGa10f016006ca: [NFC] yaml2obj/yam2elf.cpp whitespace changes: dos2unix removed CRs.
Branches
Unknown
Tags
Unknown