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

Issue 14856015: Bias commutative single-use register inputs and support lea adds (Closed)

Created:
7 years, 7 months ago by danno
Modified:
7 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Bias commutative single-use register inputs and support lea adds This improves register allocation for many common add and multiply patterns on ia32 and x64 by reducing register pressure. R=jkummerow@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=14587

Patch Set 1 #

Total comments: 1

Patch Set 2 : Review feedback and test #

Patch Set 3 : untangle merge #

Patch Set 4 : Fix merge #

Patch Set 5 : Double support #

Patch Set 6 : Review feedback and handling doubles #

Total comments: 8

Patch Set 7 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -88 lines) Patch
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 4 chunks +9 lines, -9 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 1 chunk +19 lines, -8 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 1 chunk +16 lines, -8 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 5 chunks +23 lines, -12 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 4 5 6 4 chunks +9 lines, -9 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 1 chunk +19 lines, -11 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 5 chunks +23 lines, -12 lines 0 comments Download
A + test/mjsunit/lea-add.js View 1 2 1 chunk +47 lines, -19 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jakob Kummerow
LGTM with comments. What about double representation? I think the same heuristics should apply in ...
7 years, 7 months ago (2013-05-03 09:01:37 UTC) #1
danno
Please take another look
7 years, 7 months ago (2013-05-07 11:29:05 UTC) #2
Sven Panne
Quick DBCs... https://codereview.chromium.org/14856015/diff/16001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/14856015/diff/16001/src/hydrogen-instructions.h#newcode3362 src/hydrogen-instructions.h:3362: if (IsCommutative()) { Starting with "if (!IsCommutative()) ...
7 years, 7 months ago (2013-05-07 11:38:40 UTC) #3
Jakob Kummerow
LGTM with Sven's comments addressed. All ia32 comments apply to x64 too. https://codereview.chromium.org/14856015/diff/16001/src/ia32/lithium-ia32.cc File src/ia32/lithium-ia32.cc ...
7 years, 7 months ago (2013-05-07 11:53:58 UTC) #4
danno
Feedback addressed https://codereview.chromium.org/14856015/diff/16001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/14856015/diff/16001/src/hydrogen-instructions.h#newcode3362 src/hydrogen-instructions.h:3362: if (IsCommutative()) { On 2013/05/07 11:38:40, Sven ...
7 years, 7 months ago (2013-05-08 08:37:18 UTC) #5
danno
7 years, 7 months ago (2013-05-08 08:37:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #7 manually as r14587 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698