[Power9] Implement new vsx instructions: quad-precision move, fp-arithmetic
authorChuang-Yu Cheng <cycheng@multicorewareinc.com>
Mon, 28 Mar 2016 07:38:01 +0000 (07:38 +0000)
committerChuang-Yu Cheng <cycheng@multicorewareinc.com>
Mon, 28 Mar 2016 07:38:01 +0000 (07:38 +0000)
commit5663848996b01faeb58276be25d5e364378fc1c9
tree2bc81f0ed8d738d001e8a1748b222f0ece64a835
parented638864d3e19559ca0d88523356a1f5bd141b99
[Power9] Implement new vsx instructions: quad-precision move, fp-arithmetic

This change implements the following vsx instructions:

- quad-precision move
    xscpsgnqp, xsabsqp, xsnegqp, xsnabsqp

- quad-precision fp-arithmetic
    xsaddqp(o) xsdivqp(o) xsmulqp(o) xssqrtqp(o) xssubqp(o)
    xsmaddqp(o) xsmsubqp(o) xsnmaddqp(o) xsnmsubqp(o)

22 instructions

Thanks Nemanja and Kit for careful review and invaluable discussion!
Reviewers: hal, nemanja, kbarton, tjablin, amehsan

http://reviews.llvm.org/D16110

llvm-svn: 264565
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/lib/Target/PowerPC/README_P9.txt
llvm/test/MC/Disassembler/PowerPC/vsx.txt
llvm/test/MC/PowerPC/vsx.s