OSDN Git Service

[X86][SSE] combineSubToSubus - support v8i64 handling from SSSE3
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 24 Feb 2018 14:06:39 +0000 (14:06 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 24 Feb 2018 14:06:39 +0000 (14:06 +0000)
commite1ebc3762f006981359014edcb20fe0f42058850
tree1559fabaa60de17a3d19369baf3f637b428cf098
parent1c4ef1a42c111bfcd85d20c783cd7e81ddfb76a1
[X86][SSE] combineSubToSubus - support v8i64 handling from SSSE3

Our UMIN/UMAX, vector truncation and shuffle combining is good enough to efficiently handle v8i64 with the number of leading zeros that are necessary for PSUBUS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326034 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/psubus.ll