This patch implements .set mips32r2 directive and sets appropriate feature bits....
authorVladimir Medic <Vladimir.Medic@imgtec.com>
Tue, 4 Mar 2014 09:54:09 +0000 (09:54 +0000)
committerVladimir Medic <Vladimir.Medic@imgtec.com>
Tue, 4 Mar 2014 09:54:09 +0000 (09:54 +0000)
commit7650bc0fd23f482d20b1e39f3c84289e9d605940
treef7e4d9e85c5457b0d69cd827785091c9cc8ed4fd
parentb62b44ccc5a6b147a41766bb39bc662fb0c589bd
This patch implements .set mips32r2 directive and sets appropriate feature bits. It also introduces helper functions that are used to set and clear feature bits as necessary. This directive is a counterpart of -mips32r2 command line options with the exception that it does not influence elf header flags. The usage example is gives in test file.

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