commit | 64f776d49e2b187bf126eab75c04212bafa6bbc7 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Feb 15 14:37:59 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Feb 15 14:37:59 2018 +0000 |
tree | 9b05a238b13cacc211dcde80997624bbcb2a4f91 | |
parent | 0e9e744bddd2764b9acc663a49e7345b0e796f01 [diff] |
[X86][SSE] combineTruncateWithSat - use truncateVectorWithPACK to chain PACKUS vXi32-vXi8 saturated truncation We can use PACKSS/PACKUS to saturate each stage of the chain: PACKSSDW down to [-32768,32767] and then PACKUSWB to [0,255]. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325243 91177308-0d34-0410-b5e6-96231b3b80d8