001-hardfloat.patch 392 B

123456789101112
  1. diff --git a/deps/v8/src/base/cpu.cc b/deps/v8/src/base/cpu.cc
  2. index 4f58720..1f3071e 100644
  3. --- a/deps/v8/src/base/cpu.cc
  4. +++ b/deps/v8/src/base/cpu.cc
  5. @@ -143,6 +143,7 @@ int __detect_fp64_mode(void) {
  6. ".set push\n\t"
  7. ".set noreorder\n\t"
  8. ".set oddspreg\n\t"
  9. + ".set hardfloat\n\t"
  10. "lui $t0, 0x3FF0\n\t"
  11. "ldc1 $f0, %0\n\t"
  12. "mtc1 $t0, $f1\n\t"