Lines 71-79
Link Here
|
71 |
|
71 |
|
72 |
/* |
72 |
/* |
73 |
* MIPS floating-point units need special settings in control registers |
73 |
* MIPS floating-point units need special settings in control registers |
74 |
* to use gradual underflow as we expect. |
74 |
* to use gradual underflow as we expect. This fix is for the MIPSpro |
|
|
75 |
* compiler. |
75 |
*/ |
76 |
*/ |
76 |
#if defined(__mips) |
77 |
#if defined(__sgi) && defined(_COMPILER_VERSION) |
77 |
#include <sys/fpu.h> |
78 |
#include <sys/fpu.h> |
78 |
#endif |
79 |
#endif |
79 |
/* |
80 |
/* |
Lines 2166-2172
Link Here
|
2166 |
} bitwhack; |
2167 |
} bitwhack; |
2167 |
#endif |
2168 |
#endif |
2168 |
|
2169 |
|
2169 |
#if defined(__mips) |
2170 |
#if defined(__sgi) && defined(_COMPILER_VERSION) |
2170 |
union fpc_csr mipsCR; |
2171 |
union fpc_csr mipsCR; |
2171 |
|
2172 |
|
2172 |
mipsCR.fc_word = get_fpc_csr(); |
2173 |
mipsCR.fc_word = get_fpc_csr(); |