[PATCH] D33510: [Power9] Exploit vector integer extend instructions

Zaara Syeda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 11:13:38 PDT 2017


syzaara created this revision.

This patch adds build vector patterns to exploit the vector integer extend instructions:
vextsb2w - Vector Extend Sign Byte To Word
vextsb2d - Vector Extend Sign Byte To Doubleword
vextsh2w - Vector Extend Sign Halfword To Word
vextsh2d - Vector Extend Sign Halfword To Doubleword
vextsw2d - Vector Extend Sign Word To Doubleword


https://reviews.llvm.org/D33510

Files:
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/vec_int_ext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33510.100137.patch
Type: text/x-patch
Size: 8573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170524/6c5541ac/attachment.bin>


More information about the llvm-commits mailing list