Skip to content

Commit bd68fd7

Browse files
committed
src: re-enable fast math on arm
Ref: #1376 Ref: #1398 Issue fixed in V8: https://chromium.googlesource.com/v8/v8/+/81703350bbb9923d211fe5b79e90bd458b0916e2 V8-Bug: https://code.google.com/p/v8/issues/detail?id=4019 PR-URL: #2592 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
1 parent 5d45ebf commit bd68fd7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/node.cc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,20 +3599,6 @@ void Init(int* argc,
35993599
DispatchDebugMessagesAsyncCallback);
36003600
uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_debug_messages_async));
36013601

3602-
#if defined(__ARM_ARCH_6__) || \
3603-
defined(__ARM_ARCH_6J__) || \
3604-
defined(__ARM_ARCH_6K__) || \
3605-
defined(__ARM_ARCH_6M__) || \
3606-
defined(__ARM_ARCH_6T2__) || \
3607-
defined(__ARM_ARCH_6ZK__) || \
3608-
defined(__ARM_ARCH_6Z__)
3609-
// See https://github.com/nodejs/node/issues/1376
3610-
// and https://code.google.com/p/v8/issues/detail?id=4019
3611-
// TODO(bnoordhuis): Remove test/parallel/test-arm-math-exp-regress-1376.js
3612-
// and this workaround when v8:4019 has been fixed and the patch back-ported.
3613-
V8::SetFlagsFromString("--nofast_math", sizeof("--nofast_math") - 1);
3614-
#endif
3615-
36163602
#if defined(NODE_V8_OPTIONS)
36173603
// Should come before the call to V8::SetFlagsFromCommandLine()
36183604
// so the user can disable a flag --foo at run-time by passing

0 commit comments

Comments
 (0)