commit | 9def2dd31686c6ad06171ba1ca010576c6ec56b2 | [log] [tgz] |
---|---|---|
author | Guozhi Wei <carrot@google.com> | Mon Dec 12 22:09:02 2016 +0000 |
committer | Guozhi Wei <carrot@google.com> | Mon Dec 12 22:09:02 2016 +0000 |
tree | 7047dddaceb2b50a3e1a533d29b1d19f4976b8ac | |
parent | 611d8de3bc5e6223b25aca1feaa28c1c2d0ca866 [diff] |
[PPC] Prefer direct move on power8 if load 1 or 2 bytes to VSR Power8 has MTVSRWZ but no LXSIBZX/LXSIHZX, so move 1 or 2 bytes to VSR through MTVSRWZ is much faster than store the extended value into stack and load it with LXSIWZX. This patch fixes pr31144. Differential Revision: https://reviews.llvm.org/D27287 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289473 91177308-0d34-0410-b5e6-96231b3b80d8