OSDN Git Service

[mips] Marked up instructions added in MIPS-V and tested that IAS for -mcpu=mips...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 12 May 2014 12:52:44 +0000 (12:52 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 12 May 2014 12:52:44 +0000 (12:52 +0000)
commit31546cd352b8f32366115a5153f4fe28b3b072d9
tree3ecddee87e4f66efdabbf27dcd2cb03fb3965232
parentb396af375298e7af7dfaa818d1d38696b590e6fc
[mips] Marked up instructions added in MIPS-V and tested that IAS for -mcpu=mips[1234] does not accept them

Summary:
This required a new instruction group representing the 32-bit subset of
MIPS-V that was available in MIPS32R2

Most of these instructions are correctly rejected but with the wrong error
message. These have been placed in a separate test for now. It happens
because many of the MIPS V instructions have not been implemented.

Depends on D3694

Reviewers: vmedic

Reviewed By: vmedic

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208546 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
lib/Target/Mips/MicroMipsInstrFPU.td
lib/Target/Mips/Mips.td
lib/Target/Mips/MipsInstrFPU.td
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsSubtarget.cpp
lib/Target/Mips/MipsSubtarget.h
test/MC/Mips/mips1/invalid-mips5-wrong-error.s [new file with mode: 0644]
test/MC/Mips/mips1/invalid-mips5.s [new file with mode: 0644]
test/MC/Mips/mips2/invalid-mips5-wrong-error.s [new file with mode: 0644]
test/MC/Mips/mips2/invalid-mips5.s [new file with mode: 0644]
test/MC/Mips/mips3/invalid-mips5-wrong-error.s [new file with mode: 0644]
test/MC/Mips/mips3/invalid-mips5.s [new file with mode: 0644]
test/MC/Mips/mips32/invalid-mips32r2-xfail.s
test/MC/Mips/mips32/invalid-mips32r2.s
test/MC/Mips/mips4/invalid-mips5-wrong-error.s [new file with mode: 0644]
test/MC/Mips/mips4/invalid-mips5.s [new file with mode: 0644]
test/MC/Mips/mips4/invalid-mips64-xfail.s
test/MC/Mips/mips4/invalid-mips64.s
test/MC/Mips/mips4/invalid-mips64r2-xfail.s
test/MC/Mips/mips4/invalid-mips64r2.s