[Mips][msa] Added the simple builtins (add_a to dpsub[su], ilvev to ldi)
authorJack Carter <jack.carter@imgtec.com>
Thu, 15 Aug 2013 12:24:57 +0000 (12:24 +0000)
committerJack Carter <jack.carter@imgtec.com>
Thu, 15 Aug 2013 12:24:57 +0000 (12:24 +0000)
commite2a9376b1bd2204ea6f56a35b762e28e0ef4e35a
treeb6c7bd299df4286fc2e0d42078c1a54fd38e9327
parentd36e1efa4b674b6b224995657e04a1c6145f70db
[Mips][msa] Added the simple builtins (add_a to dpsub[su], ilvev to ldi)

Includes:
add_a, adds_[asu], addv, addvi, andi.b, asub_[su].[bhwd], aver?_[su]_[bhwd],
bclr, bclri, bins[lr], bins[lr]i, bmnzi, bmzi, bneg, bnegi, bseli, bset, bseti,
c(eq|ne), c(eq|ne)i, cl[et]_[su], cl[et]i_[su], copy_[su].[bhw], div_[su],
dotp_[su], dpadd_[su], dpsub_[su], ilvev, ilvl, ilvod, ilvr, insv, insve,
ldi

Patch by Daniel Sanders

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188457 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/llvm/IR/IntrinsicsMips.td
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsMSAInstrFormats.td
lib/Target/Mips/MipsMSAInstrInfo.td
lib/Target/Mips/MipsRegisterInfo.td
lib/Target/Mips/MipsSEISelLowering.cpp
lib/Target/Mips/MipsSEISelLowering.h
test/CodeGen/Mips/msa/2r_vector_scalar.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/3r-a.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/3r-b.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/3r-c.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/3r-d.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/3r-i.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/3r_4r_widen.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/elm_copy.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/elm_insv.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/i5-a.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/i5-b.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/i5-c.ll [new file with mode: 0644]
test/CodeGen/Mips/msa/i8.ll [new file with mode: 0644]