[mips] Add support to '.set mips64'.
authorMatheus Almeida <matheus.almeida@imgtec.com>
Wed, 26 Mar 2014 15:14:32 +0000 (15:14 +0000)
committerMatheus Almeida <matheus.almeida@imgtec.com>
Wed, 26 Mar 2014 15:14:32 +0000 (15:14 +0000)
commit5957d10b41ae7f66f4f4882527a42cef7a85b395
tree99e80a3950ab6ade0bfd42c49e7aff70231ff6f8
parenta634d0a57046c4045c746021553d11fc0caeecb4
[mips] Add support to '.set mips64'.

The '.set mips64' directive enables the feature Mips:FeatureMips64
from assembly. Note that it doesn't modify the ELF header as opposed
to the use of -mips64 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@204817 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