Add support for VSX scalar single-precision arithmetic in the PPC target
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 21 May 2015 19:32:49 +0000 (19:32 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 21 May 2015 19:32:49 +0000 (19:32 +0000)
commitf02def6cbc6c72d5e3433a6567161c88d7f21615
tree897fe578d16efe96a6fa4030d5e8e4baab9259e1
parent0709a7bd1a75191a13580ca2a505fa0f7c4326bd
Add support for VSX scalar single-precision arithmetic in the PPC target

http://reviews.llvm.org/D9891
Following up on the VSX single precision loads and stores added earlier, this
adds support for elementary arithmetic operations on single precision values
in VSX registers. These instructions utilize the new VSSRC register class.
Instructions added:
xsaddsp
xsdivsp
xsmulsp
xsresp
xsrsqrtesp
xssqrtsp
xssubsp

llvm-svn: 237937
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/vsx-elementary-arith.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vsx-recip-est.ll [new file with mode: 0644]
llvm/test/MC/Disassembler/PowerPC/vsx.txt
llvm/test/MC/PowerPC/vsx.s