diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-05-16 11:19:11 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-05-16 11:19:11 +0000 |
commit | 265995ef5365e099c9c5533485aa4b793a9bc9fc (patch) | |
tree | 1356bc1e62212c4fb4ff7e650701b61083d6b403 /lldb/packages/Python/lldbsuite/test | |
parent | 68570b20427183d932ad6a8488f42194872de333 (diff) | |
download | bcm5719-llvm-265995ef5365e099c9c5533485aa4b793a9bc9fc.tar.gz bcm5719-llvm-265995ef5365e099c9c5533485aa4b793a9bc9fc.zip |
[X86][SSSE3] Lower vector CTLZ with PSHUFB lookups
This patch uses PSHUFB to lower vector CTLZ and avoid (slower) scalarizations.
The leading zero count of each 4-bit nibble of the vector is determined by using a PSHUFB lookup. Pairs of results are then repeatedly combined up to the original element width.
Differential Revision: http://reviews.llvm.org/D20016
llvm-svn: 269646
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions