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

Issue 2662123004: [turbofan][x64] Fix instruction selection for Word32Equal. (Closed)

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

Description

[turbofan][x64] Fix instruction selection for Word32Equal. The InstructionSelector on x64 didn't properly implement VisitWord32Equal via VisitWordCompareZero, and thus it didn't properly combined useless Word32Equal comparisons with zero (which we use to implement bit negation). R=jarin@chromium.org BUG=v8:5267 Review-Url: https://codereview.chromium.org/2662123004 Cr-Commit-Position: refs/heads/master@{#42841} Committed: https://chromium.googlesource.com/v8/v8/+/ad9dfc09113f5bd23c49c4968abcc1678d17b1de

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment as per offline discussion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -30 lines) Patch
M src/compiler/x64/instruction-selector-x64.cc View 1 2 chunks +1 line, -30 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Benedikt Meurer
3 years, 10 months ago (2017-01-31 19:20:54 UTC) #1
Jarin
lgtm, although this will break if we feed result of 64bit op (such as Word64And) ...
3 years, 10 months ago (2017-02-01 08:39:56 UTC) #6
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/2662123004/20001
3 years, 10 months ago (2017-02-01 08:42:23 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 09:08:46 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/ad9dfc09113f5bd23c49c4968abcc1678d1...

Powered by Google App Engine
This is Rietveld 408576698