[PATCH] D89195: [PowerPC][Power10] Exploit store rightmost vector element instructions.

Kamau Bridgeman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 10 11:40:58 PDT 2020


kamaub created this revision.
kamaub added reviewers: PowerPC, amyk, lei, nemanjai.
Herald added subscribers: llvm-commits, shchenz, kbarton, hiraditya.
Herald added a project: LLVM.
kamaub requested review of this revision.

Using the store rightmost vector element instructions to do vector
element extraction and store. The rightmost vector element on little
endian is the zeroth vector element, with these patterns that element
can be extracted and stored in one instruction for all vector types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89195

Files:
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/builtins-ppc-p10vsx.ll
  llvm/test/CodeGen/PowerPC/store-rightmost-vector-elt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89195.297429.patch
Type: text/x-patch
Size: 17675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201010/dfecb4eb/attachment.bin>


More information about the llvm-commits mailing list