[mips] Add backend support for Mips32r[35] and Mips64r[35].
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 18 Feb 2015 16:24:50 +0000 (16:24 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 18 Feb 2015 16:24:50 +0000 (16:24 +0000)
commit7eedd07d5e660c2f261f640e825677b88a065a97
treec7c805610ed958a66fc9a1829ffa504c24f793e4
parent31840a62af4026fb61b6b9cc7f2bd88bdcde2419
[mips] Add backend support for Mips32r[35] and Mips64r[35].

Summary:
These ISA's didn't add any instructions so they are almost identical to
Mips32r2 and Mips64r2. Even the ELF e_flags are the same, However the ISA
revision in .MIPS.abiflags is 3 or 5 respectively instead of 2.

Reviewers: vmedic

Reviewed By: vmedic

Subscribers: tomatabacu, llvm-commits, atanasyan

Differential Revision: http://reviews.llvm.org/D7381

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229695 91177308-0d34-0410-b5e6-96231b3b80d8
62 files changed:
include/llvm/Support/ELF.h
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/Mips.td
lib/Target/Mips/MipsSubtarget.h
lib/Target/Mips/MipsTargetStreamer.h
test/CodeGen/Mips/llvm-ir/add.ll
test/CodeGen/Mips/llvm-ir/and.ll
test/CodeGen/Mips/llvm-ir/ashr.ll
test/CodeGen/Mips/llvm-ir/call.ll
test/CodeGen/Mips/llvm-ir/indirectbr.ll
test/CodeGen/Mips/llvm-ir/lshr.ll
test/CodeGen/Mips/llvm-ir/mul.ll
test/CodeGen/Mips/llvm-ir/or.ll
test/CodeGen/Mips/llvm-ir/ret.ll
test/CodeGen/Mips/llvm-ir/sdiv.ll
test/CodeGen/Mips/llvm-ir/select.ll
test/CodeGen/Mips/llvm-ir/shl.ll
test/CodeGen/Mips/llvm-ir/srem.ll
test/CodeGen/Mips/llvm-ir/sub.ll
test/CodeGen/Mips/llvm-ir/udiv.ll
test/CodeGen/Mips/llvm-ir/urem.ll
test/CodeGen/Mips/llvm-ir/xor.ll
test/MC/Disassembler/Mips/mips32r3/valid-mips32r3-le.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips32r3/valid-mips32r3.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips32r3/valid-xfail-mips32r3.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips32r5/valid-mips32r5-le.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips32r5/valid-mips32r5.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips32r5/valid-xfail-mips32r5.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips64r2/valid-xfail-mips64r2.txt
test/MC/Disassembler/Mips/mips64r3/valid-mips64r3-el.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips64r3/valid-mips64r3.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips64r3/valid-xfail-mips64r3.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips64r5/valid-mips64r5-el.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips64r5/valid-mips64r5.txt [new file with mode: 0644]
test/MC/Disassembler/Mips/mips64r5/valid-xfail-mips64r5.txt [new file with mode: 0644]
test/MC/Mips/elf_eflags.s
test/MC/Mips/mips32r3/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips32r3/invalid-mips64r2.s [new file with mode: 0644]
test/MC/Mips/mips32r3/invalid.s [new file with mode: 0644]
test/MC/Mips/mips32r3/valid-xfail.s [new file with mode: 0644]
test/MC/Mips/mips32r3/valid.s [new file with mode: 0644]
test/MC/Mips/mips32r5/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips32r5/invalid-mips64r2.s [new file with mode: 0644]
test/MC/Mips/mips32r5/invalid.s [new file with mode: 0644]
test/MC/Mips/mips32r5/valid-xfail.s [new file with mode: 0644]
test/MC/Mips/mips32r5/valid.s [new file with mode: 0644]
test/MC/Mips/mips64r3/abi-bad.s [new file with mode: 0644]
test/MC/Mips/mips64r3/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips64r3/invalid.s [new file with mode: 0644]
test/MC/Mips/mips64r3/valid-xfail.s [new file with mode: 0644]
test/MC/Mips/mips64r3/valid.s [new file with mode: 0644]
test/MC/Mips/mips64r5/abi-bad.s [new file with mode: 0644]
test/MC/Mips/mips64r5/abiflags.s [new file with mode: 0644]
test/MC/Mips/mips64r5/invalid.s [new file with mode: 0644]
test/MC/Mips/mips64r5/valid-xfail.s [new file with mode: 0644]
test/MC/Mips/mips64r5/valid.s [new file with mode: 0644]
test/MC/Mips/set-arch.s
test/MC/Mips/set-mips-directives-bad.s
test/MC/Mips/set-mips-directives.s