diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-20 23:38:40 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-20 23:38:40 +0000 |
commit | ad341d48f0fc131d1c31a0c824736e70c34e0476 (patch) | |
tree | 935c2a4c7b20e35b699d8813fde879da212c14ac /lib/Target/Mips/MipsSubtarget.h | |
parent | c89cb45ecb861aa599a8b1c735b0ce4cd73e1397 (diff) | |
download | llvm-ad341d48f0fc131d1c31a0c824736e70c34e0476.tar.gz llvm-ad341d48f0fc131d1c31a0c824736e70c34e0476.tar.bz2 llvm-ad341d48f0fc131d1c31a0c824736e70c34e0476.tar.xz |
[mips] Add support for calling convention CC_MipsO32_FP64, which is used when the
size of floating point registers is 64-bit.
Test case will be added when support for mfhc1 and mthc1 is added.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.h')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h index 21d6938ada..03bef69fb5 100644 --- a/lib/Target/Mips/MipsSubtarget.h +++ b/lib/Target/Mips/MipsSubtarget.h @@ -160,6 +160,7 @@ public: bool isLittle() const { return IsLittle; } bool isFP64bit() const { return IsFP64bit; } + bool isNotFP64bit() const { return !IsFP64bit; } bool isGP64bit() const { return IsGP64bit; } bool isGP32bit() const { return !IsGP64bit; } bool isSingleFloat() const { return IsSingleFloat; } |