Power9] Implement new vsx instructions: compare and conversion
authorKit Barton <kbarton@ca.ibm.com>
Fri, 26 Feb 2016 21:11:55 +0000 (21:11 +0000)
committerKit Barton <kbarton@ca.ibm.com>
Fri, 26 Feb 2016 21:11:55 +0000 (21:11 +0000)
commit93612ec5f2f7e68c68b0619792d60631bb02e968
tree909cfa2032bad80d88e77e9dabee99b533e47918
parente50f74474378e2179e05c770516292ed152ed8db
Power9] Implement new vsx instructions: compare and conversion
This change implements the following vsx instructions:

Quad/Double-Precision Compare:
xscmpoqp xscmpuqp
xscmpexpdp xscmpexpqp
xscmpeqdp xscmpgedp xscmpgtdp xscmpnedp
xvcmpnedp(.) xvcmpnesp(.)
Quad-Precision Floating-Point Conversion
xscvqpdp(o) xscvdpqp
xscvqpsdz xscvqpswz xscvqpudz xscvqpuwz xscvsdqp xscvudqp
xscvdphp xscvhpdp xvcvhpsp xvcvsphp
xsrqpi xsrqpix xsrqpxp
28 instructions

Phabricator: http://reviews.llvm.org/D16709
llvm-svn: 262068
llvm/lib/Target/PowerPC/PPC.td
llvm/lib/Target/PowerPC/PPCInstrFormats.td
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/lib/Target/PowerPC/PPCSubtarget.cpp
llvm/lib/Target/PowerPC/PPCSubtarget.h
llvm/lib/Target/PowerPC/README_P9.txt [new file with mode: 0644]
llvm/test/MC/Disassembler/PowerPC/vsx.txt
llvm/test/MC/PowerPC/vsx.s