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

Issue 1375253002: [WIP][turbofan] Instruction scheduler for Turbofan. (Closed)

Created:
5 years, 2 months ago by baptiste.afsa1
Modified:
5 years ago
Reviewers:
Benedikt Meurer, Jarin
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Instruction scheduler for Turbofan. Implement machine instruction scheduling after instruction selection. Currently only works for arm64. R=danno@chromium.org, bmeurer@chromium.org, titzer@chromium.org Committed: https://crrev.com/e11bba3acd5188f0e12686b6fcf3e0ab22989216 Cr-Commit-Position: refs/heads/master@{#32858}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed issues and add support for a few other platforms. #

Total comments: 8

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : rebase the patch, trivial conflict in flag-definitions.h #

Patch Set 6 : fixed signed/unsigned comparison errors #

Patch Set 7 : rebase the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1324 lines, -39 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 chunks +8 lines, -0 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/arm/instruction-scheduler-arm.cc View 1 2 3 1 chunk +126 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/arm64/instruction-scheduler-arm64.cc View 1 2 3 1 chunk +221 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/ia32/instruction-scheduler-ia32.cc View 1 2 3 1 chunk +133 lines, -0 lines 0 comments Download
M src/compiler/instruction-codes.h View 1 1 chunk +37 lines, -33 lines 0 comments Download
A src/compiler/instruction-scheduler.h View 1 2 3 1 chunk +162 lines, -0 lines 0 comments Download
A src/compiler/instruction-scheduler.cc View 1 2 3 4 5 1 chunk +280 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 3 chunks +45 lines, -6 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/mips/instruction-scheduler-mips.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/mips64/instruction-scheduler-mips64.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/ppc/instruction-scheduler-ppc.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/x64/instruction-scheduler-x64.cc View 1 2 3 1 chunk +182 lines, -0 lines 0 comments Download
M src/compiler/x87/code-generator-x87.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/x87/instruction-scheduler-x87.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 9 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (12 generated)
baptiste.afsa1
Hi guys, This is the patch for instruction scheduling on arm64. This is not ready ...
5 years, 2 months ago (2015-09-30 14:35:02 UTC) #1
Benedikt Meurer
5 years, 1 month ago (2015-10-26 11:25:13 UTC) #3
Jarin
Very nice! The code needs a bit better explanations in comments, but that is expected ...
5 years, 1 month ago (2015-10-26 15:12:35 UTC) #4
Jarin
On 2015/10/26 15:12:35, Jarin wrote: > Very nice! The code needs a bit better explanations ...
5 years, 1 month ago (2015-10-26 15:41:42 UTC) #5
Jarin
https://codereview.chromium.org/1375253002/diff/1/src/compiler/instruction-scheduler.cc File src/compiler/instruction-scheduler.cc (right): https://codereview.chromium.org/1375253002/diff/1/src/compiler/instruction-scheduler.cc#newcode80 src/compiler/instruction-scheduler.cc:80: } This loop is worrisome: for a basic block ...
5 years, 1 month ago (2015-10-27 09:02:31 UTC) #6
baptiste.afsa1
I'll will regenerate some data including compilation time that I'll share with you. https://codereview.chromium.org/1375253002/diff/1/src/compiler/arm64/instruction-codes-arm64.h File ...
5 years, 1 month ago (2015-10-27 16:00:24 UTC) #7
Jarin
On 2015/10/27 16:00:24, baptiste.afsa1 wrote: > I'll will regenerate some data including compilation time that ...
5 years, 1 month ago (2015-10-30 12:22:43 UTC) #8
baptiste.afsa1
Hi Jarin, I uploaded a new patch set for the instruction scheduler. It should address ...
5 years, 1 month ago (2015-11-23 15:11:17 UTC) #9
Jarin
This is looking awesome! The only thing that really needs fixing is the flags on ...
5 years ago (2015-11-24 11:43:04 UTC) #10
baptiste.afsa1
Hi Jarin, I've uploaded a new patch set which should address the issues from your ...
5 years ago (2015-12-01 09:08:43 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375253002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375253002/40001
5 years ago (2015-12-02 08:27:11 UTC) #13
Jarin
lgtm; however, I would still like to see the performance numbers. https://codereview.chromium.org/1375253002/diff/40001/src/compiler/ppc/instruction-scheduler-ppc.cc File src/compiler/ppc/instruction-scheduler-ppc.cc (right): ...
5 years ago (2015-12-02 08:27:49 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel/builds/12528)
5 years ago (2015-12-02 08:30:22 UTC) #16
baptiste.afsa1
Hi Jarin, I've uploaded a new patch set. It includes the change you suggested about ...
5 years ago (2015-12-02 13:01:12 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375253002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375253002/60001
5 years ago (2015-12-02 13:03:27 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/10642) v8_linux64_rel on ...
5 years ago (2015-12-02 13:04:42 UTC) #21
Jarin
On 2015/12/02 13:01:12, baptiste.afsa1 wrote: > Hi Jarin, > > I've uploaded a new patch ...
5 years ago (2015-12-02 13:09:46 UTC) #22
baptiste.afsa1
On 2015/12/02 13:09:46, Jarin wrote: > On 2015/12/02 13:01:12, baptiste.afsa1 wrote: > > Hi Jarin, ...
5 years ago (2015-12-02 13:16:51 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375253002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375253002/80001
5 years ago (2015-12-02 13:25:32 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_compile_rel/builds/7632) v8_win_rel on ...
5 years ago (2015-12-02 13:40:28 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375253002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375253002/100001
5 years ago (2015-12-02 14:48:01 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 15:09:33 UTC) #31
baptiste.afsa1
Hi Jarin, Just to let you know in case you didn't notice that I've uploaded ...
5 years ago (2015-12-03 14:37:01 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375253002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375253002/120001
5 years ago (2015-12-15 10:20:43 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years ago (2015-12-15 10:59:59 UTC) #36
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/e11bba3acd5188f0e12686b6fcf3e0ab22989216 Cr-Commit-Position: refs/heads/master@{#32858}
5 years ago (2015-12-15 11:00:33 UTC) #38
Yang
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1526913002/ by yangguo@chromium.org. ...
5 years ago (2015-12-15 11:26:58 UTC) #39
Yang
5 years ago (2015-12-15 11:28:30 UTC) #40
Message was sent while issue was closed.
On 2015/12/15 11:26:58, Yang wrote:
> A revert of this CL (patchset #7 id:120001) has been created in
> https://codereview.chromium.org/1526913002/ by mailto:yangguo@chromium.org.
> 
> The reason for reverting is: Does not compile
> 
>
https://build.chromium.org/p/client.v8/builders/V8%20Arm%20-%20debug%20builde....

Why did a "[WIP]" CL end up committed anyways.

Powered by Google App Engine
This is Rietveld 408576698