Add support for VSX FMA single-precision instructions to the PPC back end
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 29 May 2015 17:13:25 +0000 (17:13 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 29 May 2015 17:13:25 +0000 (17:13 +0000)
commit8493722975059cbc7bb00f1eb4d6d15c47e0faed
treee1e739c5011322728956d9ec4fd32233accab395
parent83d291ae8b4c941c3fb176c285f78d580085dbe4
Add support for VSX FMA single-precision instructions to the PPC back end

This patch corresponds to review:
http://reviews.llvm.org/D9941

It adds the various FMA instructions introduced in the version 2.07 of
the ISA along with the testing for them. These are operations on single
precision scalar values in VSX registers.

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