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

Issue 1405673003: provides a mechanism for optimizing compilers to select the different Register configuration. (Closed)

Created:
5 years, 2 months ago by chunyang.dai
Modified:
5 years, 2 months ago
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

For some platform such as X87, Crankshaft and Turbofan needs to use different register configurations currently. This CL provides a mechanism so that optimizing compilers can select different Register Configuration. BUG= Committed: https://crrev.com/5978b926c607899752f515e291f28ac274be1f9f Cr-Commit-Position: refs/heads/master@{#31476}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : Add the TODO comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -83 lines) Patch
M src/arm/deoptimizer-arm.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm64/assembler-arm64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/deoptimizer-arm64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M src/compiler/graph-visualizer.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/instruction.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-gap-resolver-ia32.cc View 1 2 3 4 5 6 3 chunks +6 lines, -3 lines 0 comments Download
M src/crankshaft/lithium-allocator.cc View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M src/frames.cc View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/mips/deoptimizer-mips.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/mips64/deoptimizer-mips64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/ppc/deoptimizer-ppc.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/ppc/macro-assembler-ppc.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M src/register-configuration.h View 1 2 3 4 5 6 1 chunk +8 lines, -1 line 0 comments Download
M src/register-configuration.cc View 1 2 3 4 5 2 chunks +24 lines, -5 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/cctest.status View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M test/cctest/compiler/test-gap-resolver.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M test/cctest/compiler/test-multiple-return.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 1 2 3 4 14 chunks +56 lines, -33 lines 0 comments Download
M test/cctest/test-code-stubs-mips64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-code-stubs-x64.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 34 (10 generated)
chunyang.dai
5 years, 2 months ago (2015-10-15 13:36:15 UTC) #3
chunyang.dai
update the patch that we move the x87 platform specific change to registerconfiguration module.
5 years, 2 months ago (2015-10-15 14:38:53 UTC) #5
chunyang.dai
Danno & Titzer. please review this new patch for the the x87 double register issue ...
5 years, 2 months ago (2015-10-15 14:43:15 UTC) #7
titzer
https://codereview.chromium.org/1405673003/diff/80001/src/register-configuration.h File src/register-configuration.h (right): https://codereview.chromium.org/1405673003/diff/80001/src/register-configuration.h#newcode38 src/register-configuration.h:38: #if V8_TARGET_ARCH_X87 Seems like this check should be moved ...
5 years, 2 months ago (2015-10-15 16:44:43 UTC) #8
chunyang.dai
hi, Titzer. Thank you very much for your review. According to my understanding, if we ...
5 years, 2 months ago (2015-10-16 08:46:38 UTC) #9
danno
https://codereview.chromium.org/1405673003/diff/100001/src/register-configuration.cc File src/register-configuration.cc (right): https://codereview.chromium.org/1405673003/diff/100001/src/register-configuration.cc#newcode39 src/register-configuration.cc:39: ArchDefaultRegisterConfiguration() If you pass the enum value mentioned elsewhere ...
5 years, 2 months ago (2015-10-16 08:47:02 UTC) #10
chunyang.dai
hello, Danno & Titizer. I updated the patch. Please review it. thanks.
5 years, 2 months ago (2015-10-16 13:06:07 UTC) #11
danno
https://codereview.chromium.org/1405673003/diff/120001/src/register-configuration.h File src/register-configuration.h (right): https://codereview.chromium.org/1405673003/diff/120001/src/register-configuration.h#newcode14 src/register-configuration.h:14: enum JITCompiler { CRANKSHAFT, TURBOFAN }; Please put this ...
5 years, 2 months ago (2015-10-19 10:48:59 UTC) #12
chunyang.dai
Danno. Thanks for your review comments. I updated it according to your comments. PTAL. thanks
5 years, 2 months ago (2015-10-20 08:16:33 UTC) #14
Weiliang
On 2015/10/20 08:16:33, chunyang.dai wrote: > Danno. > > Thanks for your review comments. > ...
5 years, 2 months ago (2015-10-20 09:27:51 UTC) #15
chunyang.dai
hi,weiliang. Except for pipeline.cc file, all other changes are only for this patch. All of ...
5 years, 2 months ago (2015-10-20 10:00:20 UTC) #16
danno
On 2015/10/20 at 10:00:20, chunyang.dai wrote: > hi,weiliang. > > Except for pipeline.cc file, all ...
5 years, 2 months ago (2015-10-20 10:21:04 UTC) #17
chunyang.dai
hello, Danno. I changed it according to your suggestion. This CL provides the mechanism that ...
5 years, 2 months ago (2015-10-20 11:50:39 UTC) #19
danno
Getting close... https://codereview.chromium.org/1405673003/diff/160001/src/register-configuration.h File src/register-configuration.h (right): https://codereview.chromium.org/1405673003/diff/160001/src/register-configuration.h#newcode19 src/register-configuration.h:19: enum CompilerSelector { CRANKSHAFT, TURBOFAN }; Could ...
5 years, 2 months ago (2015-10-21 14:09:57 UTC) #20
chunyang.dai
Hello. Danno: Thank you very much for your patient review and adopting this temporary solution ...
5 years, 2 months ago (2015-10-21 14:55:44 UTC) #21
danno
On 2015/10/21 at 14:55:44, chunyang.dai wrote: > Hello. Danno: > Thank you very much for ...
5 years, 2 months ago (2015-10-22 12:34:58 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1405673003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1405673003/200001
5 years, 2 months ago (2015-10-22 12:35:14 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/6944)
5 years, 2 months ago (2015-10-22 12:38:19 UTC) #26
Michael Starzinger
LGTM (rubber-stamp for "compiler" directory, didn't look at the rest).
5 years, 2 months ago (2015-10-22 13:02:54 UTC) #28
chunyang.dai
hi, Titzer: Could you please review the latest patchset again? Danno gave LGTM but this ...
5 years, 2 months ago (2015-10-22 13:18:07 UTC) #29
chunyang.dai
Sorry, I did not notice LGTM from Michael.
5 years, 2 months ago (2015-10-22 13:18:58 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1405673003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1405673003/200001
5 years, 2 months ago (2015-10-22 13:22:08 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:200001)
5 years, 2 months ago (2015-10-22 13:24:34 UTC) #33
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 13:25:00 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5978b926c607899752f515e291f28ac274be1f9f
Cr-Commit-Position: refs/heads/master@{#31476}

Powered by Google App Engine
This is Rietveld 408576698