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

Issue 2929843002: PPC/s390: [compiler] Delay allocation of code-embedded heap numbers. (Closed)

Created:
3 years, 6 months ago by Sampson
Modified:
3 years, 5 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

PPC/s390: [compiler] Delay allocation of code-embedded heap numbers. Port 659e8f7b5cd318dd486f6853c4da47a9a8587aa6 Original Commit Message: Instead of allocating and embedding certain heap numbers into the code during code assembly, emit dummies but record the allocation requests. Later then, in Assembler::GetCode, allocate the heap numbers and patch the code by replacing the dummies with the actual objects. The RelocInfos for the embedded objects are already recorded correctly when emitting the dummies. R=neis@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, bjaideep@ca.ibm.com, michael_dawson@ca.ibm.com BUG=v8:6048 LOG=N Review-Url: https://codereview.chromium.org/2929843002 Cr-Commit-Position: refs/heads/master@{#45793} Committed: https://chromium.googlesource.com/v8/v8/+/ae947e26fe1a8c5ff490af93922f81c38f765f6f

Patch Set 1 #

Patch Set 2 : missing codegen changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -32 lines) Patch
M src/ppc/assembler-ppc.h View 2 chunks +5 lines, -1 line 0 comments Download
M src/ppc/assembler-ppc.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/ppc/codegen-ppc.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/regexp/ppc/regexp-macro-assembler-ppc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/regexp/s390/regexp-macro-assembler-s390.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/s390/assembler-s390.h View 2 chunks +5 lines, -1 line 0 comments Download
M src/s390/assembler-s390.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/s390/codegen-s390.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-assembler-ppc.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M test/cctest/test-assembler-s390.cc View 11 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
JaideepBajwa
lgtm
3 years, 6 months ago (2017-06-08 15:49:20 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2929843002/20001
3 years, 6 months ago (2017-06-08 16:39:49 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/42637)
3 years, 6 months ago (2017-06-08 16:42:40 UTC) #6
john.yan
lgtm
3 years, 6 months ago (2017-06-08 17:22:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2929843002/20001
3 years, 6 months ago (2017-06-08 17:40:21 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/ae947e26fe1a8c5ff490af93922f81c38f765f6f
3 years, 6 months ago (2017-06-08 17:42:05 UTC) #12
neis
For the record: Excluding the other changes (see https://codereview.chromium.org/2921473003/) is fine for now, but things ...
3 years, 6 months ago (2017-06-12 09:37:54 UTC) #13
Sampson
On 2017/06/12 09:37:54, neis wrote: > For the record: Excluding the other changes (see > ...
3 years, 6 months ago (2017-06-12 14:33:28 UTC) #14
neis
On 2017/06/12 14:33:28, Sampson wrote: > On 2017/06/12 09:37:54, neis wrote: > > For the ...
3 years, 6 months ago (2017-06-13 09:58:45 UTC) #15
neis
3 years, 5 months ago (2017-07-13 09:44:51 UTC) #16
Message was sent while issue was closed.
On 2017/06/13 09:58:45, neis wrote:
> On 2017/06/12 14:33:28, Sampson wrote:
> > On 2017/06/12 09:37:54, neis wrote:
> > > For the record: Excluding the other changes (see
> > > https://codereview.chromium.org/2921473003/) is fine for now, but things
> will
> > > break once I move the bulk of TF code generation to a background thread.
> > 
> > Those changes was causing some problems and I haven't figure out the cause
> yet.
> 
> Ok, let me know if I can help.
> 
> > Do you remember why mips also excluded those changes? What is missing in the
> > implementation?
> 
> They just haven't been ported yet.

In the meantime they have been ported to MIPS in
https://chromium-review.googlesource.com/558294, together with the "Delay
allocation of code stubs" changes. Other MIPS ports of changes that are also
still missing on PPC/S390 (as far as I can tell) are the following:

https://chromium-review.googlesource.com/565400
https://chromium-review.googlesource.com/565568
https://chromium-review.googlesource.com/566834
https://chromium-review.googlesource.com/566837

Best,
 Georg

Powered by Google App Engine
This is Rietveld 408576698