[mips] Add support to '.set mips64r2'.
authorMatheus Almeida <matheus.almeida@imgtec.com>
Wed, 26 Mar 2014 14:52:22 +0000 (14:52 +0000)
committerMatheus Almeida <matheus.almeida@imgtec.com>
Wed, 26 Mar 2014 14:52:22 +0000 (14:52 +0000)
commit53ccc093bf3d24003fb683adfcf8da59b038919e
treeaec5c1b839ac2a439ae8ffd9c504a7d5f36a81b4
parent94708f1784b3a8c85433ac405dd63709b2c419d3
[mips] Add support to '.set mips64r2'.

The '.set mips64r2' directive enables the feature Mips:FeatureMips64r2
from assembly. Note that it doesn't modify the ELF header as opposed
to the use of -mips64r2 from the command-line. The reason for this
is that we want to be as compatible as possible with existing assemblers
like GAS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204815 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/mips_directives.s