commit | bb9863af3a98622e650de78fb235ab484b50eb1f | [log] [tgz] |
---|---|---|
author | Alexey Frunze <Alexey.Frunze@imgtec.com> | Mon Jan 11 15:51:16 2016 -0800 |
committer | Alexey Frunze <Alexey.Frunze@imgtec.com> | Wed Jan 13 22:47:21 2016 -0800 |
tree | 3df79ba309964d56867d23e497322f2a5f3bbeb8 | |
parent | 08d3ab591d98fce33b7ab552a10cec04aaff6ce1 [diff] [blame] |
MIPS32: don't use R2+ instructions (mthc1, mfhc1) on MIPS32R1 or with 32-bit FPUs. Change-Id: If66932fb39cdd5946f6c05c82036191ad405a877
diff --git a/compiler/optimizing/intrinsics_mips.h b/compiler/optimizing/intrinsics_mips.h index f86b0ef..575a7d0 100644 --- a/compiler/optimizing/intrinsics_mips.h +++ b/compiler/optimizing/intrinsics_mips.h
@@ -67,8 +67,9 @@ #undef INTRINSICS_LIST #undef OPTIMIZING_INTRINSICS - bool IsR2OrNewer(void); - bool IsR6(void); + bool IsR2OrNewer() const; + bool IsR6() const; + bool Is32BitFPU() const; private: MipsAssembler* GetAssembler();