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

Issue 1896813003: [turbofan] store block id with instruction (Closed)

Created:
4 years, 8 months ago by Mircea Trofin
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] store block id with instruction GetInstructionBlock shows up in some compile time-intensive profiles. Changing it to a O(1) operation. The compile benchmark confirms the improvement. BUG= Committed: https://crrev.com/81c965d475a51bb9a8df4c4035ccc3ddae1c8980 Cr-Commit-Position: refs/heads/master@{#35711}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -34 lines) Patch
M src/compiler/instruction.h View 1 2 3 4 5 chunks +15 lines, -1 line 0 comments Download
M src/compiler/instruction.cc View 1 2 3 4 5 8 chunks +18 lines, -31 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 22 (9 generated)
Mircea Trofin
Note that Compile shows the improvement in red, because of an error in reporting (some ...
4 years, 8 months ago (2016-04-19 05:19:40 UTC) #3
titzer
https://codereview.chromium.org/1896813003/diff/20001/src/compiler/instruction.cc File src/compiler/instruction.cc (right): https://codereview.chromium.org/1896813003/diff/20001/src/compiler/instruction.cc#newcode619 src/compiler/instruction.cc:619: instructions()[instr_index]->set_block_id(block_id); Can you pull instructions() out of the loop? ...
4 years, 8 months ago (2016-04-19 08:05:17 UTC) #4
Mircea Trofin
https://codereview.chromium.org/1896813003/diff/20001/src/compiler/instruction.cc File src/compiler/instruction.cc (right): https://codereview.chromium.org/1896813003/diff/20001/src/compiler/instruction.cc#newcode619 src/compiler/instruction.cc:619: instructions()[instr_index]->set_block_id(block_id); On 2016/04/19 08:05:17, titzer wrote: > Can you ...
4 years, 8 months ago (2016-04-19 15:39:13 UTC) #5
titzer
https://codereview.chromium.org/1896813003/diff/40001/src/compiler/instruction.cc File src/compiler/instruction.cc (right): https://codereview.chromium.org/1896813003/diff/40001/src/compiler/instruction.cc#newcode614 src/compiler/instruction.cc:614: void InstructionSequence::FinishInstructionMap() { Is it possible to set the ...
4 years, 8 months ago (2016-04-19 16:39:50 UTC) #6
Mircea Trofin
https://codereview.chromium.org/1896813003/diff/40001/src/compiler/instruction.cc File src/compiler/instruction.cc (right): https://codereview.chromium.org/1896813003/diff/40001/src/compiler/instruction.cc#newcode614 src/compiler/instruction.cc:614: void InstructionSequence::FinishInstructionMap() { On 2016/04/19 16:39:50, titzer wrote: > ...
4 years, 8 months ago (2016-04-19 16:56:27 UTC) #7
titzer
On 2016/04/19 16:56:27, Mircea Trofin wrote: > https://codereview.chromium.org/1896813003/diff/40001/src/compiler/instruction.cc > File src/compiler/instruction.cc (right): > > https://codereview.chromium.org/1896813003/diff/40001/src/compiler/instruction.cc#newcode614 ...
4 years, 8 months ago (2016-04-20 09:05:48 UTC) #8
titzer
lgtm
4 years, 8 months ago (2016-04-20 09:06:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896813003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896813003/60001
4 years, 8 months ago (2016-04-20 20:07:08 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/479) v8_linux64_avx2_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 8 months ago (2016-04-20 20:20:20 UTC) #14
Mircea Trofin
On 2016/04/20 20:20:20, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-04-21 01:04:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896813003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896813003/100001
4 years, 8 months ago (2016-04-21 22:41:11 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-21 23:06:38 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:14:59 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/81c965d475a51bb9a8df4c4035ccc3ddae1c8980
Cr-Commit-Position: refs/heads/master@{#35711}

Powered by Google App Engine
This is Rietveld 408576698