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

Issue 2410883003: [turbofan] Remove minus zero check for rhs of CheckedInt32Sub. (Closed)

Created:
4 years, 2 months ago by georgia.kouveli
Modified:
4 years, 2 months ago
Reviewers:
Benedikt Meurer, *Jarin
CC:
v8-reviews_googlegroups.com, mvstanton
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Remove minus zero check for rhs of CheckedInt32Sub. The only way to get a minus zero result from subtraction is (-0) - (+0) = -0, hence checking for minus zero on the RHS is redundant. This is causing some unnecessary deoptimisations in Box2D from Octane on 32-bit platforms. BUG= Committed: https://crrev.com/bba8024db755c5f06016eb84f9ccf15283e0eb0d Cr-Commit-Position: refs/heads/master@{#40207}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adding TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -16 lines) Patch
M src/compiler/representation-change.h View 1 4 chunks +18 lines, -7 lines 0 comments Download
M src/compiler/representation-change.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/simplified-lowering.cc View 2 chunks +14 lines, -5 lines 0 comments Download
M test/cctest/compiler/test-representation-change.cc View 2 chunks +41 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
georgia.kouveli
4 years, 2 months ago (2016-10-11 16:33:27 UTC) #2
Benedikt Meurer
Nice catch; this definitely needs a review from Jaro. I'm not sure this is the ...
4 years, 2 months ago (2016-10-12 03:36:44 UTC) #5
Jarin
On 2016/10/12 03:36:44, Benedikt Meurer wrote: > Nice catch; this definitely needs a review from ...
4 years, 2 months ago (2016-10-12 05:35:39 UTC) #6
Jarin
Hi Georgia, we just talked about this here (with @benedikt and @mvstanton), and we realized ...
4 years, 2 months ago (2016-10-12 08:33:07 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/2410883003/20001
4 years, 2 months ago (2016-10-12 09:27:26 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 09:53:19 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 09:53:39 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bba8024db755c5f06016eb84f9ccf15283e0eb0d
Cr-Commit-Position: refs/heads/master@{#40207}

Powered by Google App Engine
This is Rietveld 408576698