diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-11-01 11:47:44 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-11-01 11:47:44 +0000 |
commit | f657ba0cb62f939d8964dccb5d0d745a2e05e7bc (patch) | |
tree | f1a8dbb99018b4d1fec26704b2585d044f6d4602 /llvm/lib/Object/WindowsResource.cpp | |
parent | 82e94a593433f36734e2d34898d353a2ecb65b8b (diff) | |
download | llvm-f657ba0cb62f939d8964dccb5d0d745a2e05e7bc.zip llvm-f657ba0cb62f939d8964dccb5d0d745a2e05e7bc.tar.gz llvm-f657ba0cb62f939d8964dccb5d0d745a2e05e7bc.tar.bz2 |
[X86][SSE] Truncate with PACKSS any input with sufficient sign-bits
So far we've only been using PACKSS truncations with 'all-bits or zero-bits' patterns (vector comparison results etc.). When really we can safely use it for any case as long as the number of sign bits reach down to the last 16-bits (or 8-bits if we're truncating to bytes).
The next steps after this is add the equivalent support for PACKUS and to support packing to sub-128 bit vectors for truncating stores etc.
Differential Revision: https://reviews.llvm.org/D39476
llvm-svn: 317086
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions