summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-09-23 10:08:29 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-09-23 10:08:29 +0000
commit6d5916a2d7882725b86e19d0acb3061c46aa5833 (patch)
tree545f7c77f627a526450c3aaa106f65a2aa8cae01 /llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp
parente4e893bb360f823b73597b5a4e9ff917b883ba3e (diff)
downloadbcm5719-llvm-6d5916a2d7882725b86e19d0acb3061c46aa5833.tar.gz
bcm5719-llvm-6d5916a2d7882725b86e19d0acb3061c46aa5833.zip
[x86] Teach the AVX1 path of the new vector shuffle lowering one more
trick that I missed. VPERMILPS has a non-immediate memory operand mode that allows it to do asymetric shuffles in the two 128-bit lanes. Use this rather than two shuffles and a blend. However, it turns out the variable shuffle path to VPERMILPS (and VPERMILPD, although that one offers no functional differenc from the immediate operand other than variability) wasn't even plumbed through codegen. Do such plumbing so that we can reasonably emit a variable-masked VPERMILP instruction. Also plumb basic comment parsing and printing through so that the tests are reasonable. There are still a few tests which don't show the shuffle pattern. These are tests with undef lanes. I'll teach the shuffle decoding and printing to handle undef mask entries in a follow-up. I've looked at the masks and they seem reasonable. llvm-svn: 218300
Diffstat (limited to 'llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud