[PATCH] D34160: [Power9] Exploit vinserth instruction

Graham Yiu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 08:41:12 PDT 2017


gyiu added a comment.

In https://reviews.llvm.org/D34160#779972, @inouehrs wrote:

> This patch (potentially) increase the number of vector instructions (permutation -> shift + insert). Is my understanding correct?


Yep.  Though I think with a vperm you still need to load the mask into a vector register first, whereas with vshift + vinsert we're saving on the load.


Repository:
  rL LLVM

https://reviews.llvm.org/D34160





More information about the llvm-commits mailing list