Add direct moves to/from VSR and exploit them for FP/INT conversions
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 11 Apr 2015 10:40:42 +0000 (10:40 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sat, 11 Apr 2015 10:40:42 +0000 (10:40 +0000)
commit9ca031b6c6822a5c7cd8eaf3cf54b161058e7473
treefe92c49e932b675cb1c2a079058979338428a737
parentc16fc548515f2fd01bc2cbe4befd822a636cc154
Add direct moves to/from VSR and exploit them for FP/INT conversions

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

It adds direct move instructions to/from VSX registers to GPR's. These are
exploited for FP <-> INT conversions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234682 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPC.td
lib/Target/PowerPC/PPCFastISel.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstrFormats.td
lib/Target/PowerPC/PPCInstrVSX.td
lib/Target/PowerPC/PPCSubtarget.cpp
lib/Target/PowerPC/PPCSubtarget.h
test/CodeGen/PowerPC/fp-int-conversions-direct-moves.ll [new file with mode: 0644]
test/MC/Disassembler/PowerPC/vsx.txt
test/MC/PowerPC/vsx.s