OSDN Git Service

[mips] Add assembler support for .set msa/nomsa directive.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 7 Aug 2014 12:03:36 +0000 (12:03 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 7 Aug 2014 12:03:36 +0000 (12:03 +0000)
commit6cc2e1a1326b2f2d2ad35330781c6e9c41472bbe
tree7612640b67290dbb512b9c241c43353b3396cd18
parent28e06347c9dbc003eb186c4b95f67ebbd9d5c78f
[mips] Add assembler support for .set msa/nomsa directive.

Summary:
These directives are used to toggle whether the assembler accepts MSA-specific instructions or not.

Patch by Matheus Almeida and Toma Tabacu.

Reviewers: dsanders

Reviewed By: dsanders

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215099 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsTargetStreamer.h
test/MC/Mips/msa/set-msa-directive-bad.s [new file with mode: 0644]
test/MC/Mips/msa/set-msa-directive.s [new file with mode: 0644]