Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Issue 2303643002: [turbofan] Don't treat the hole NaN as constant inside the compiler. (Closed)

Created:
4 years, 3 months ago by Benedikt Meurer
Modified:
4 years, 3 months ago
Reviewers:
Jarin, Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Don't treat the hole NaN as constant inside the compiler. We use a signaling NaN to represent the hole in FAST_HOLEY_DOUBLE_ELEMENTS backing stores, but on Intel processors, the C++ compiler may decide to (or be forced to due to calling conventions) use X87 registers for double values. However transfering to X87 registers automatically quietens the NaNs and there's no way to disable this. Therefore we should just always load the hole NaN from the canonical place identified by the address_of_hole_nan external reference instead, which might even be more efficient in some cases. R=jarin@chromium.org, jkummerow@chromium.org BUG=v8:5332 Committed: https://crrev.com/64a7bd3877dec131a7544a695f6a760c46d4ba04 Cr-Commit-Position: refs/heads/master@{#39062}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -16 lines) Patch
M src/assembler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/access-builder.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/access-builder.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/js-create-lowering.cc View 2 chunks +21 lines, -14 lines 0 comments Download
A test/mjsunit/regress/regress-5332.js View 1 chunk +31 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
Benedikt Meurer
4 years, 3 months ago (2016-09-01 05:07:53 UTC) #1
Benedikt Meurer
Jaro: PTAL Jakob: FYI
4 years, 3 months ago (2016-09-01 05:08:17 UTC) #4
Jarin
lgtm
4 years, 3 months ago (2016-09-01 05:42:42 UTC) #7
Jarin
lgtm lgtm
4 years, 3 months ago (2016-09-01 05:42:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2303643002/1
4 years, 3 months ago (2016-09-01 05:57:03 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-01 06:01:38 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/64a7bd3877dec131a7544a695f6a760c46d4ba04 Cr-Commit-Position: refs/heads/master@{#39062}
4 years, 3 months ago (2016-09-01 06:02:31 UTC) #13
Jakob Kummerow
4 years, 3 months ago (2016-09-01 08:33:18 UTC) #14
Message was sent while issue was closed.
Thanks for the quick fix!

Powered by Google App Engine
This is Rietveld 408576698