| Index: src/mips64/simulator-mips64.h
|
| diff --git a/src/mips64/simulator-mips64.h b/src/mips64/simulator-mips64.h
|
| index 7f60a7463929941e8939708db10083035282cd26..ef6602ff8300645243a9f9eab1fb299d8da4a9ef 100644
|
| --- a/src/mips64/simulator-mips64.h
|
| +++ b/src/mips64/simulator-mips64.h
|
| @@ -315,6 +315,24 @@ class Simulator {
|
| inline int32_t SetDoubleHIW(double* addr);
|
| inline int32_t SetDoubleLOW(double* addr);
|
|
|
| + // Min/Max template functions for Double and Single arguments.
|
| + enum class IsMin : int { kMin = 0, kMax = 1 };
|
| +
|
| + template <typename T>
|
| + bool FPUProcessNaNsAndZeros(T a, T b, IsMin min, T& result);
|
| +
|
| + template <typename T>
|
| + T FPUMin(T a, T b);
|
| +
|
| + template <typename T>
|
| + T FPUMax(T a, T b);
|
| +
|
| + template <typename T>
|
| + T FPUMinA(T a, T b);
|
| +
|
| + template <typename T>
|
| + T FPUMaxA(T a, T b);
|
| +
|
| // functions called from DecodeTypeRegister.
|
| void DecodeTypeRegisterCOP1();
|
|
|
|
|