aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Mips/MipsTargetStreamer.h
diff options
context:
space:
mode:
authorMatheus Almeida <matheus.almeida@imgtec.com>2014-03-26 14:52:22 +0000
committerMatheus Almeida <matheus.almeida@imgtec.com>2014-03-26 14:52:22 +0000
commita2cd009c51680abc576fbb2ccf45f673409c1bf6 (patch)
tree50b89dafdd2e104ad38ee3da2c2e5157fb7633e4 /llvm/lib/Target/Mips/MipsTargetStreamer.h
parent3aa0e6a1f92a366a3213b6e8fb9665ec5739c1b3 (diff)
downloadllvm-a2cd009c51680abc576fbb2ccf45f673409c1bf6.zip
llvm-a2cd009c51680abc576fbb2ccf45f673409c1bf6.tar.gz
llvm-a2cd009c51680abc576fbb2ccf45f673409c1bf6.tar.bz2
[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. llvm-svn: 204815
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetStreamer.h')
-rw-r--r--llvm/lib/Target/Mips/MipsTargetStreamer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetStreamer.h b/llvm/lib/Target/Mips/MipsTargetStreamer.h
index 72d6891..e8349a6 100644
--- a/llvm/lib/Target/Mips/MipsTargetStreamer.h
+++ b/llvm/lib/Target/Mips/MipsTargetStreamer.h
@@ -42,6 +42,7 @@ public:
virtual void emitFMask(unsigned FPUBitmask, int FPUTopSavedRegOff) = 0;
virtual void emitDirectiveSetMips32R2() = 0;
+ virtual void emitDirectiveSetMips64R2() = 0;
virtual void emitDirectiveSetDsp() = 0;
};
@@ -74,6 +75,7 @@ public:
virtual void emitFMask(unsigned FPUBitmask, int FPUTopSavedRegOff);
virtual void emitDirectiveSetMips32R2();
+ virtual void emitDirectiveSetMips64R2();
virtual void emitDirectiveSetDsp();
};
@@ -115,6 +117,7 @@ public:
virtual void emitFMask(unsigned FPUBitmask, int FPUTopSavedRegOff);
virtual void emitDirectiveSetMips32R2();
+ virtual void emitDirectiveSetMips64R2();
virtual void emitDirectiveSetDsp();
};
}