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

Issue 591343002: [turbofan] IA: support better left operand for commutative binops (Closed)

Created:
6 years, 3 months ago by Weiliang
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

[turbofan] IA: support better left operand for commutative binops

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -26 lines) Patch
M src/compiler/ia32/instruction-selector-ia32.cc View 1 3 chunks +21 lines, -13 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32-unittest.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 3 chunks +21 lines, -13 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64-unittest.cc View 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Weiliang
PTAL
6 years, 3 months ago (2014-09-23 04:41:01 UTC) #2
Benedikt Meurer
Thinking about the CanBeBetterLeftOperand thing again...maybe instead of making IsUsed() and IsDefined() public, we can ...
6 years, 3 months ago (2014-09-23 04:56:32 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/591343002/diff/1/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/591343002/diff/1/src/compiler/ia32/instruction-selector-ia32.cc#newcode315 src/compiler/ia32/instruction-selector-ia32.cc:315: Emit(kIA32Imul, g.DefineSameAsFirst(node), g.UseRegister(left), There should be no need to ...
6 years, 3 months ago (2014-09-23 04:57:37 UTC) #4
Weiliang
Good idea! Please see the patch set2. Thanks -Weiliang https://codereview.chromium.org/591343002/diff/1/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/591343002/diff/1/src/compiler/ia32/instruction-selector-ia32.cc#newcode41 src/compiler/ia32/instruction-selector-ia32.cc:41: ...
6 years, 3 months ago (2014-09-23 05:22:12 UTC) #5
Benedikt Meurer
lgtm
6 years, 3 months ago (2014-09-23 05:41:31 UTC) #6
Benedikt Meurer
6 years, 2 months ago (2014-09-25 07:43:11 UTC) #7
Message was sent while issue was closed.
Landed manually with r24205.

Powered by Google App Engine
This is Rietveld 408576698