GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: disable fast math on arm by bnoordhuis · Pull Request #1398 · nodejs/node

Conversation

@bnoordhuis

@bnoordhuis bnoordhuis commented Apr 11, 2015

Copy link
Copy Markdown
Member

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.

Refs: #1376
V8-Bug: https://code.google.com/p/v8/issues/detail?id=4019

R=@silverwind?

https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/489/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mscdex mscdex added confirmed-bug Issues and PRs for confirmed bugs. v8 engine Issues and PRs related to the V8 dependency. labels Apr 11, 2015
@silverwind

silverwind commented Apr 11, 2015

Copy link
Copy Markdown
Contributor

Compiling

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@silverwind silverwind mentioned this pull request Apr 11, 2015
Release proposal: v1.7.0 #1396
Closed
@silverwind

silverwind commented Apr 11, 2015

Copy link
Copy Markdown
Contributor

LGTM, hope this gets fixed soon in v8. Verified it works on my pi.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis added 2 commits April 11, 2015 21:03
@bnoordhuis
src: disable fast math on arm
e306c78
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: nodejs#1398
Refs: nodejs#1376
Reviewed-By: Roman Reiss <[email protected]>
V8-Bug: https://code.google.com/p/v8/issues/detail?id=4019
@bnoordhuis
src: disable fast math only on armv6
a4d8847
Don't disable fast math on ARMv7, only ARMv6.  I hope I got all the
v6 subarchs.

PR-URL: nodejs#1398
Reviewed-By: Roman Reiss <[email protected]>
@bnoordhuis
bnoordhuis force-pushed the arm-fast-math branch from b781875 to a4d8847 Compare April 11, 2015 19:05
@bnoordhuis bnoordhuis closed this Apr 11, 2015
@bnoordhuis
bnoordhuis deleted the arm-fast-math branch April 11, 2015 19:05
@bnoordhuis
bnoordhuis merged commit a4d8847 into nodejs:v1.x Apr 11, 2015
rvagg added a commit that referenced this pull request Apr 14, 2015
@rvagg
2015-04-14 io.js v1.7.0 Release
a75149f
Notable changes:

* C++ API: Fedor Indutny contributed a feature to V8 which has been
  backported to the V8 bundled in io.js. SealHandleScope allows a C++
  add-on author to seal a HandleScope to prevent further, unintended
  allocations within it. Currently only enabled for debug builds of
  io.js. This feature helped detect the leak in #1075 and is now
  activated on the root HandleScope in io.js. (Fedor Indutny) #1395.
* ARM: This release includes significant work to improve the state of
  ARM support for builds and tests. The io.js CI cluster's ARMv6,
  ARMv7 and ARMv8 build servers are now all (mostly) reporting passing
  builds and tests.
  - ARMv8 64-bit (AARCH64) is now properly supported, including a
    backported fix in libuv that was mistakenly detecting the
    existence of `epoll_wait()`. (Ben Noordhuis) #1365.
  - ARMv6: #1376 reported a problem with Math.exp() on ARMv6 (incl
    Raspberry Pi). The culprit is erroneous codegen for ARMv6 when
    using the "fast math" feature of V8. --nofast_math has been turned
    on for all ARMv6 variants by default to avoid this, fast math can
    be turned back on with --fast_math. (Ben Noordhuis) #1398.
  - Tests: timeouts have been tuned specifically for slower platforms,
    detected as ARMv6 and ARMv7. (Roman Reiss) #1366.
* npm: Upgrade npm to 2.7.6. See the release notes
  (https://github.com/npm/npm/releases/tag/v2.7.6) for details.
@silverwind silverwind mentioned this pull request Jun 6, 2015
Update V8 in next to 4.3.61.27 #1906
Closed
@targos targos mentioned this pull request Jun 6, 2015
next: Update v8 to 4.3.61.27 #1909
Closed
@targos targos mentioned this pull request Aug 28, 2015
src: re-enable fast math on arm #2592
Merged
targos added a commit to targos/node that referenced this pull request Aug 31, 2015
@targos
src: re-enable fast math on arm
bd68fd7
Ref: nodejs#1376
Ref: nodejs#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: nodejs#2592
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
targos added a commit that referenced this pull request Sep 3, 2015
@targos @ofrobots
src: re-enable fast math on arm
074315f
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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
rvagg pushed a commit to rvagg/io.js that referenced this pull request Sep 4, 2015
@targos @rvagg
src: re-enable fast math on arm
7df8e62
Ref: nodejs#1376
Ref: nodejs#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: nodejs#2592
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
targos added a commit that referenced this pull request Sep 6, 2015
@targos @rvagg
src: re-enable fast math on arm
dd3f341
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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
targos added a commit that referenced this pull request Sep 6, 2015
@targos @rvagg
src: re-enable fast math on arm
5c96110
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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
targos added a commit that referenced this pull request Sep 6, 2015
@targos @rvagg
src: re-enable fast math on arm
439c1dd
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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

confirmed-bug Issues and PRs for confirmed bugs. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@bnoordhuis @silverwind @mscdex
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.