[PATCH] D16842: [Power9] Implement new vsx instructions: insert, extract, test data class, min/max, reverse, permute, splat
Chuang-Yu Cheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 22:53:15 PST 2016
cycheng created this revision.
cycheng added reviewers: hfinkel, kbarton, nemanjai, tjablin.
cycheng added a subscriber: llvm-commits.
This change implements the following vsx instructions:
- Scalar Insert/Extract
# xsiexpdp xsiexpqp xsxexpdp xsxsigdp xsxexpqp xsxsigqp
- Vector Insert/Extract
# xviexpdp xviexpsp xvxexpdp xvxexpsp xvxsigdp xvxsigsp
# xxextractuw xxinsertw
- Scalar/Vector Test Data Class
# xststdcdp xststdcsp xststdcqp
# xvtstdcdp xvtstdcsp
- Maximum/Minimum
# xsmaxcdp xsmaxjdp
# xsmincdp xsminjdp
- Vector Byte-Reverse/Permute/Splat
# xxbrd xxbrh xxbrq xxbrw
# xxperm xxpermr
# xxspltib
30 instructions
http://reviews.llvm.org/D16842
Files:
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
lib/Target/PowerPC/PPC.td
lib/Target/PowerPC/PPCInstrFormats.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCInstrVSX.td
lib/Target/PowerPC/PPCSubtarget.cpp
lib/Target/PowerPC/PPCSubtarget.h
lib/Target/PowerPC/README_P9.txt
test/MC/Disassembler/PowerPC/vsx.txt
test/MC/PowerPC/vsx.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16842.46747.patch
Type: text/x-patch
Size: 24387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160203/8e04e05b/attachment.bin>
More information about the llvm-commits
mailing list