Skip to content

Commit a4d8847

Browse files
committed
src: disable fast math only on armv6
Don't disable fast math on ARMv7, only ARMv6. I hope I got all the v6 subarchs. PR-URL: #1398 Reviewed-By: Roman Reiss <[email protected]>
1 parent e306c78 commit a4d8847

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/node.cc

+7-1
Original file line numberDiff line numberDiff line change
@@ -3541,7 +3541,13 @@ void Init(int* argc,
35413541
DispatchDebugMessagesAsyncCallback);
35423542
uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_debug_messages_async));
35433543

3544-
#if defined(__arm__)
3544+
#if defined(__ARM_ARCH_6__) || \
3545+
defined(__ARM_ARCH_6J__) || \
3546+
defined(__ARM_ARCH_6K__) || \
3547+
defined(__ARM_ARCH_6M__) || \
3548+
defined(__ARM_ARCH_6T2__) || \
3549+
defined(__ARM_ARCH_6ZK__) || \
3550+
defined(__ARM_ARCH_6Z__)
35453551
// See https://github.com/iojs/io.js/issues/1376
35463552
// and https://code.google.com/p/v8/issues/detail?id=4019
35473553
// TODO(bnoordhuis): Remove test/parallel/test-arm-math-exp-regress-1376.js

0 commit comments

Comments
 (0)