| Index: src/mips/simulator-mips.cc
|
| diff --git a/src/mips/simulator-mips.cc b/src/mips/simulator-mips.cc
|
| index fabca67062fab264b5c9dff0192c308c18e67b9f..79f337d3df05a2e18208b97a94977d2330563f93 100644
|
| --- a/src/mips/simulator-mips.cc
|
| +++ b/src/mips/simulator-mips.cc
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "src/assembler.h"
|
| #include "src/base/bits.h"
|
| +#include "src/codegen.h"
|
| #include "src/disasm.h"
|
| #include "src/mips/constants-mips.h"
|
| #include "src/mips/simulator-mips.h"
|
| @@ -2244,7 +2245,7 @@ void Simulator::DecodeTypeRegister(Instruction* instr) {
|
| set_fpu_register_double(fd_reg, -fs);
|
| break;
|
| case SQRT_D:
|
| - set_fpu_register_double(fd_reg, sqrt(fs));
|
| + set_fpu_register_double(fd_reg, fast_sqrt(fs));
|
| break;
|
| case C_UN_D:
|
| set_fcsr_bit(fcsr_cc, std::isnan(fs) || std::isnan(ft));
|
|
|