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

Issue 1191513003: [turbofan] Add CalleeSavedFPRegisters to CallDescriptor. (Closed)

Created:
5 years, 6 months ago by akos.palfi.imgtec
Modified:
5 years, 5 months ago
CC:
v8-dev, MTBrandyberry
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Add CalleeSavedFPRegisters to CallDescriptor. This change makes possible to save and restore the FP registers in the Prologue and Return parts for the CallAddress kind functions. TEST=test-simplified-lowering/RunNumberDivide_2_TruncatingToUint32, test-simplified-lowering/RunNumberMultiply_TruncatingToUint32 Committed: https://crrev.com/b4275a70eb1e6b6dc0f3c77b9be6bcfca3f80c20 Cr-Commit-Position: refs/heads/master@{#29378}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Added ports (except ppc). #

Total comments: 9

Patch Set 3 : Addressed comments. #

Total comments: 4

Patch Set 4 : Re-enabled tests. #

Patch Set 5 : Nits. #

Total comments: 6

Patch Set 6 : Fix win64 and nits. #

Patch Set 7 : Rebased on bleeding_edge (af4c4b04). #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -62 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 6 2 chunks +27 lines, -6 lines 0 comments Download
M src/compiler/arm/linkage-arm.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 2 chunks +27 lines, -5 lines 2 comments Download
M src/compiler/arm64/linkage-arm64.cc View 1 2 3 4 5 6 1 chunk +9 lines, -2 lines 0 comments Download
M src/compiler/ia32/linkage-ia32.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/linkage.h View 1 2 3 4 5 6 4 chunks +7 lines, -1 line 0 comments Download
M src/compiler/linkage-impl.h View 1 2 3 4 5 6 4 chunks +14 lines, -10 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 2 chunks +19 lines, -14 lines 0 comments Download
M src/compiler/mips/linkage-mips.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 6 2 chunks +19 lines, -14 lines 0 comments Download
M src/compiler/mips64/linkage-mips64.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/ppc/linkage-ppc.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 2 chunks +33 lines, -2 lines 0 comments Download
M src/compiler/x64/linkage-x64.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M test/cctest/cctest.status View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M test/unittests/compiler/tail-call-optimization-unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
paul.l...
This is going in the right direction, but please see the naming issue in comments ...
5 years, 6 months ago (2015-06-15 23:05:17 UTC) #2
akos.palfi.imgtec
Thanks for the review, I've uploaded the ports (except PPC). PTAL. Testing is in progress. ...
5 years, 6 months ago (2015-06-22 17:33:20 UTC) #3
paul.l...
nit: also change the title to CalleeSavedFPRegisters https://codereview.chromium.org/1191513003/diff/20001/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1191513003/diff/20001/src/compiler/arm64/code-generator-arm64.cc#newcode1081 src/compiler/arm64/code-generator-arm64.cc:1081: // Save ...
5 years, 6 months ago (2015-06-23 02:15:03 UTC) #4
akos.palfi.imgtec
Comments addressed, thanks! https://codereview.chromium.org/1191513003/diff/20001/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1191513003/diff/20001/src/compiler/arm64/code-generator-arm64.cc#newcode1081 src/compiler/arm64/code-generator-arm64.cc:1081: // Save registers. On 2015/06/23 02:15:02, ...
5 years, 6 months ago (2015-06-23 19:48:57 UTC) #5
paul.l...
LGTM. Please publish, and add v8-team and arm-team reviewers. If you could also make it ...
5 years, 6 months ago (2015-06-23 20:07:01 UTC) #6
akos.palfi.imgtec
Done. https://codereview.chromium.org/1191513003/diff/40001/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1191513003/diff/40001/src/compiler/arm64/code-generator-arm64.cc#newcode1082 src/compiler/arm64/code-generator-arm64.cc:1082: CPURegList callee_save_fp = On 2015/06/23 20:07:00, paul.l... wrote: ...
5 years, 6 months ago (2015-06-23 20:33:19 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191513003/80001
5 years, 6 months ago (2015-06-23 20:36:10 UTC) #10
akos.palfi.imgtec
Fixes a register corruption problem where TF generated code which is called directly from C ...
5 years, 6 months ago (2015-06-23 20:42:16 UTC) #12
akos.palfi.imgtec
5 years, 6 months ago (2015-06-23 20:54:34 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel/builds/6012)
5 years, 6 months ago (2015-06-23 21:04:37 UTC) #16
Benedikt Meurer
Looking good to me. Win64 seems to be unhappy tho. https://codereview.chromium.org/1191513003/diff/80001/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/1191513003/diff/80001/src/compiler/arm/code-generator-arm.cc#newcode954 ...
5 years, 6 months ago (2015-06-24 07:04:21 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/1191513003/100001
5 years, 6 months ago (2015-06-24 15:08:22 UTC) #20
akos.palfi.imgtec
Thanks for the review. I've addressed the nits and fixed the win64 build. PTAL. https://codereview.chromium.org/1191513003/diff/80001/src/compiler/arm/code-generator-arm.cc ...
5 years, 6 months ago (2015-06-24 15:36:05 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-24 15:39:23 UTC) #23
akos.palfi.imgtec
Rebased on master HEAD (af4c4b0427c44e74520d61f328f258b365ba233d).
5 years, 6 months ago (2015-06-26 12:05:37 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191513003/120001
5 years, 6 months ago (2015-06-26 16:26:20 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-26 17:00:44 UTC) #29
jbramley
LGTM (ARM + ARM64) Thanks! I think we should (later) investigate the saving of x30 ...
5 years, 5 months ago (2015-06-29 13:53:09 UTC) #30
Benedikt Meurer
LGTM
5 years, 5 months ago (2015-06-30 05:01:29 UTC) #31
akos.palfi.imgtec
Thanks for the explanation of the x30 (lr) usage. In this case I'll leave this ...
5 years, 5 months ago (2015-06-30 12:31:49 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191513003/120001
5 years, 5 months ago (2015-06-30 12:32:29 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-06-30 13:22:44 UTC) #35
commit-bot: I haz the power
5 years, 5 months ago (2015-06-30 13:23:03 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b4275a70eb1e6b6dc0f3c77b9be6bcfca3f80c20
Cr-Commit-Position: refs/heads/master@{#29378}

Powered by Google App Engine
This is Rietveld 408576698