[mips] Add assembler support for .set mips0 directive.
authorToma Tabacu <toma.tabacu@imgtec.com>
Tue, 9 Sep 2014 12:52:14 +0000 (12:52 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Tue, 9 Sep 2014 12:52:14 +0000 (12:52 +0000)
commitb3fa7e412bcea23efcbbcbcdc3f6860aee6f201b
treec00b0d557b23122a8704a0c69539de1513cf3eab
parent40c949a1b419c167ab0bffd6b8b24d0a02460ba3
[mips] Add assembler support for .set mips0 directive.

Summary:
This directive is used to reset the assembler options to their initial values.
Assembly programmers use it in conjunction with the ".set mipsX" directives.

This patch depends on the .set push/pop directive (http://reviews.llvm.org/D4821).

Contains work done by Matheus Almeida.

Reviewers: dsanders

Reviewed By: dsanders

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217438 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/set-mips0-directive.s [new file with mode: 0644]