src: disable fast math on arm
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 11 Apr 2015 03:04:16 +0000 (05:04 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 11 Apr 2015 19:03:48 +0000 (21:03 +0200)
commite306c78f83f8b705d33d891c3c454353929f51e5
tree0a57eaee80b91af4477fc957224cdb68582af6d5
parentcd38a4af8f8210ce96d1a034da010dbc1b2bcf81
src: disable fast math on arm

The "fast" implementation of Math.exp() and Math.tanh() emits ARMv7
movt/movw instructions on ARMv6 (notably, the original Raspberry Pi.)

Disable fast math for now.  The adventurous can enable it again with
the --fast_math switch.

PR-URL: https://github.com/iojs/io.js/pull/1398
Refs: https://github.com/iojs/io.js/issues/1376
Reviewed-By: Roman Reiss <me@silverwind.io>
V8-Bug: https://code.google.com/p/v8/issues/detail?id=4019
src/node.cc
test/parallel/test-arm-math-exp-regress-1376.js [new file with mode: 0644]