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)
commit24ed4de26158fbddcefa9623d03e1545b946472e
tree2f5ccb9fd38d9071d1751373afa4bdcd3e76aac7
parent7521964d28c5ccb28431aed23334638138d9bd0a
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237937 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/vsx-elementary-arith.ll [new file with mode: 0644]
test/CodeGen/PowerPC/vsx-recip-est.ll [new file with mode: 0644]
test/MC/Disassembler/PowerPC/vsx.txt
test/MC/PowerPC/vsx.s