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

Issue 11033005: Add rotate-right instruction to hydrogen and use it instead of bitwise operations (Closed)

Created:
8 years, 2 months ago by ulan
Modified:
8 years, 1 month ago
CC:
v8-dev, hans
Visibility:
Public.

Description

Add rotate-right instruction to hydrogen and use it instead of bitwise operations of the form ((x >>> i) | (x << (32 - i))). This CL is based on https://chromiumcodereview.appspot.com/10984057/ by Jay Conrod <dconrod@codeaurora.org>;. R=danno@chromium.org,mstarzinger@chromium.org,dconrod@codeaurora.org Committed: https://code.google.com/p/v8/source/detail?r=12855

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add missing test file. #

Total comments: 2

Patch Set 3 : Fix representation bug, address comments. #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase to ToT #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+407 lines, -13 lines) Patch
M src/arm/lithium-arm.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 2 chunks +68 lines, -12 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M src/token.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/assembler-x64.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/rotate.js View 1 1 chunk +224 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ulan
Please take a look. https://chromiumcodereview.appspot.com/11033005/diff/1/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://chromiumcodereview.appspot.com/11033005/diff/1/src/hydrogen-instructions.h#newcode902 src/hydrogen-instructions.h:902: bool deleteable_operation = IsBitwiseBinaryOperation(); danno, ...
8 years, 2 months ago (2012-10-01 18:15:19 UTC) #1
Jay Conrod
LGTM. I was worried having pattern matching inside the graph building phase would overcomplicate things, ...
8 years, 2 months ago (2012-10-01 19:40:40 UTC) #2
Jay Conrod
lgtm http://codereview.chromium.org/11033005/diff/2001/src/arm/simulator-arm.cc File src/arm/simulator-arm.cc (right): http://codereview.chromium.org/11033005/diff/2001/src/arm/simulator-arm.cc#newcode1503 src/arm/simulator-arm.cc:1503: } else { Erik Corry expressed some suspicion ...
8 years, 2 months ago (2012-10-01 19:41:17 UTC) #3
ulan
I uploaded a new patch set that addresses the comments and fixes a representation bug. ...
8 years, 2 months ago (2012-10-02 12:20:26 UTC) #4
ulan
I rebased to ToT and remove unused instruction elimination since it was landed separately in ...
8 years, 2 months ago (2012-10-11 11:54:30 UTC) #5
danno
lgtm
8 years, 1 month ago (2012-10-25 15:24:55 UTC) #6
ulan
8 years, 1 month ago (2012-11-05 09:49:37 UTC) #7
Rebased to ToT, landing.

Powered by Google App Engine
This is Rietveld 408576698