diff options
author | Toma Tabacu <toma.tabacu@gmail.com> | 2015-06-30 13:46:03 +0000 |
---|---|---|
committer | Toma Tabacu <toma.tabacu@gmail.com> | 2015-06-30 13:46:03 +0000 |
commit | 0f09313051a40dc388845c84ad88c25dcebb31a1 (patch) | |
tree | d47ea7d137043cfab2c3555d9087d1d96a43bad3 /llvm/lib/Target/Mips/MipsTargetStreamer.h | |
parent | e45af54cdbdf6b61b6c0d11cbe6cdacda3075bff (diff) | |
download | bcm5719-llvm-0f09313051a40dc388845c84ad88c25dcebb31a1.tar.gz bcm5719-llvm-0f09313051a40dc388845c84ad88c25dcebb31a1.zip |
[mips] [IAS] Add support for the .module softfloat/hardfloat directives.
These directives are used to set the default value of the SoftFloat feature.
They have the same effect as setting -m{soft, hard}-float from the command line.
Differential Revision: http://reviews.llvm.org/D9073
llvm-svn: 241066
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetStreamer.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsTargetStreamer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetStreamer.h b/llvm/lib/Target/Mips/MipsTargetStreamer.h index 54460fb0f75..6ce1be707d0 100644 --- a/llvm/lib/Target/Mips/MipsTargetStreamer.h +++ b/llvm/lib/Target/Mips/MipsTargetStreamer.h @@ -83,6 +83,8 @@ public: // FP abiflags directives virtual void emitDirectiveModuleFP(); virtual void emitDirectiveModuleOddSPReg(); + virtual void emitDirectiveModuleSoftFloat(); + virtual void emitDirectiveModuleHardFloat(); virtual void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value); virtual void emitDirectiveSetOddSPReg(); virtual void emitDirectiveSetNoOddSPReg(); @@ -192,6 +194,8 @@ public: // FP abiflags directives void emitDirectiveModuleFP() override; void emitDirectiveModuleOddSPReg() override; + void emitDirectiveModuleSoftFloat() override; + void emitDirectiveModuleHardFloat() override; void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value) override; void emitDirectiveSetOddSPReg() override; void emitDirectiveSetNoOddSPReg() override; |