Add preliminary v2i32 support for SPU backend. As there are no
authorKalle Raiskila <kalle.raiskila@nokia.com>
Mon, 2 Aug 2010 08:54:39 +0000 (08:54 +0000)
committerKalle Raiskila <kalle.raiskila@nokia.com>
Mon, 2 Aug 2010 08:54:39 +0000 (08:54 +0000)
commit82fe467ca59094c19c500038f0a282b70daa1d00
tree49986da3231c4f97a1848013763f5a9a7eb410f2
parentee56c42168f6c4271593f6018c4409b6a5910302
Add preliminary v2i32 support for SPU backend. As there are no
such registers in SPU, this support boils down to "emulating"
them by duplicating instructions on the general purpose registers.

This adds the most basic operations on v2i32: passing parameters,
addition, subtraction, multiplication and a few others.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110035 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CellSPU/SPUCallingConv.td
lib/Target/CellSPU/SPUISelLowering.cpp
lib/Target/CellSPU/SPUInstrInfo.td
lib/Target/CellSPU/SPUMathInstr.td
test/CodeGen/CellSPU/v2i32.ll [new file with mode: 0644]