diff options
author | 2016-01-11 15:51:16 -0800 | |
---|---|---|
committer | 2016-01-13 22:47:21 -0800 | |
commit | bb9863af3a98622e650de78fb235ab484b50eb1f (patch) | |
tree | 3df79ba309964d56867d23e497322f2a5f3bbeb8 /compiler/optimizing/intrinsics_mips.h | |
parent | 08d3ab591d98fce33b7ab552a10cec04aaff6ce1 (diff) |
MIPS32: don't use R2+ instructions (mthc1, mfhc1) on MIPS32R1 or
with 32-bit FPUs.
Change-Id: If66932fb39cdd5946f6c05c82036191ad405a877
Diffstat (limited to 'compiler/optimizing/intrinsics_mips.h')
-rw-r--r-- | compiler/optimizing/intrinsics_mips.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/intrinsics_mips.h b/compiler/optimizing/intrinsics_mips.h index f86b0efe4a..575a7d0a23 100644 --- a/compiler/optimizing/intrinsics_mips.h +++ b/compiler/optimizing/intrinsics_mips.h @@ -67,8 +67,9 @@ INTRINSICS_LIST(OPTIMIZING_INTRINSICS) #undef INTRINSICS_LIST #undef OPTIMIZING_INTRINSICS - bool IsR2OrNewer(void); - bool IsR6(void); + bool IsR2OrNewer() const; + bool IsR6() const; + bool Is32BitFPU() const; private: MipsAssembler* GetAssembler(); |