OSDN Git Service

[mips] Implement l[wd]c3, and s[wd]c3.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 8 May 2014 13:02:11 +0000 (13:02 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 8 May 2014 13:02:11 +0000 (13:02 +0000)
commit7bd400ebfdbc4af83a536ff5be27ba02d1fda48e
tree4bb65bc36fcc91090ac37e54a7cce8df150253a7
parent9f0141da2c013485051cb891844897b52e1de4ca
[mips] Implement l[wd]c3, and s[wd]c3.

Summary:
These instructions were added in MIPS-I, and MIPS-II but were removed in
MIPS-III. Interestingly, GAS continues to accept them when assembling for
MIPS-III.

For the moment, these instructions will follow GAS and accept them for
MIPS-III and newer but this will be tightened up when the invalid-*.s
tests are added.

Depends on D3647

Reviewers: vmedic

Reviewed By: vmedic

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208311 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MipsInstrFPU.td
lib/Target/Mips/MipsRegisterInfo.td
test/MC/Mips/mips1/invalid-mips2-wrong-error.s
test/MC/Mips/mips1/invalid-mips2.s
test/MC/Mips/mips1/valid-xfail.s
test/MC/Mips/mips1/valid.s
test/MC/Mips/mips2/valid-xfail.s [deleted file]
test/MC/Mips/mips2/valid.s
test/MC/Mips/mips3/valid-xfail.s [deleted file]
test/MC/Mips/mips32/valid-xfail.s
test/MC/Mips/mips32r2/valid-xfail.s