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

Issue 866843003: Contribution of PowerPC port (continuation of 422063005) - AIX Common1 (Closed)

Created:
5 years, 11 months ago by michael_dawson
Modified:
5 years, 10 months ago
Reviewers:
Sven Panne, danno, Yang
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Contribution of PowerPC port (continuation of 422063005) - AIX Common1 Contribution of PowerPC port (continuation of 422063005 and 817143002). This patch covers the key changes needed to the common files needed to support AIX. Subsequent patches will cover: - changes to update the ppc directories so they are current with the changes in the rest of the project. - remaining AIX changes not resolved by 4.8 compiler - individual optimizations for PPC This is based off of the GitHub repository https://github.com/andrewlow/v8ppc R=danno@chromium.org, svenpanne@chromium.org BUG= Committed: https://crrev.com/f1ba8d8f86ad1a5c8b4777f969506c88272549c3 Cr-Commit-Position: refs/heads/master@{#26343}

Patch Set 1 #

Total comments: 40

Patch Set 2 : Updates to address first set of review comments #

Patch Set 3 : Address second set of comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -116 lines) Patch
M build/standalone.gypi View 1 5 chunks +9 lines, -3 lines 0 comments Download
M build/toolchain.gypi View 1 7 chunks +34 lines, -5 lines 0 comments Download
M include/v8config.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 2 1 chunk +10 lines, -7 lines 0 comments Download
M src/base/atomicops.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/base/cpu.cc View 1 2 chunks +22 lines, -1 line 0 comments Download
M src/base/logging.h View 1 chunk +17 lines, -0 lines 0 comments Download
M src/base/macros.h View 1 chunk +4 lines, -0 lines 0 comments Download
A + src/base/platform/platform-aix.cc View 1 11 chunks +63 lines, -78 lines 0 comments Download
M src/base/platform/platform-posix.cc View 1 5 chunks +23 lines, -4 lines 0 comments Download
M src/base/sys-info.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/codegen.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
M src/d8.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/d8.gyp View 1 chunk +1 line, -1 line 0 comments Download
M src/debug.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/disassembler.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download
M src/globals.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/sampler.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M src/serialize.cc View 1 1 chunk +17 lines, -0 lines 2 comments Download
M src/utils.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/cctest.status View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-sampler-api.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M test/mjsunit/d8-os.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 chunks +6 lines, -3 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M tools/run-deopt-fuzzer.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/run-tests.py View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M tools/testrunner/local/statusfile.py View 1 chunk +2 lines, -1 line 0 comments Download
M tools/testrunner/local/utils.py View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
Sven Panne
[ Sorry for the delay, this CL slipped between the cracks somehow... ] First round ...
5 years, 11 months ago (2015-01-27 11:47:06 UTC) #1
michael_dawson
Have replied to each of the individual comments and uploaded patch that addresses comments where ...
5 years, 10 months ago (2015-01-29 00:08:29 UTC) #2
Sven Panne
Almost there... (Don't forget to rebase before upload, we're changing quite fast.) https://codereview.chromium.org/866843003/diff/1/src/assembler.cc File src/assembler.cc ...
5 years, 10 months ago (2015-01-29 09:54:33 UTC) #3
michael_dawson
On 2015/01/29 09:54:33, Sven Panne wrote: > Almost there... (Don't forget to rebase before upload, ...
5 years, 10 months ago (2015-01-29 18:20:22 UTC) #4
michael_dawson
In terms of re-basing, I've been addressing the comments, re-basing, running make quickcheck and then ...
5 years, 10 months ago (2015-01-29 18:21:59 UTC) #5
michael_dawson
In terms of re-basing, I've been addressing the comments, re-basing, running make quickcheck and then ...
5 years, 10 months ago (2015-01-29 18:21:59 UTC) #6
michael_dawson
On 2015/01/29 18:21:59, michael_dawson wrote: > In terms of re-basing, I've been addressing the comments, ...
5 years, 10 months ago (2015-01-29 22:13:02 UTC) #7
Sven Panne
lgtm
5 years, 10 months ago (2015-01-30 07:31:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866843003/40001
5 years, 10 months ago (2015-01-30 07:31:58 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-01-30 08:02:03 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f1ba8d8f86ad1a5c8b4777f969506c88272549c3 Cr-Commit-Position: refs/heads/master@{#26343}
5 years, 10 months ago (2015-01-30 08:02:20 UTC) #12
Yang
https://codereview.chromium.org/866843003/diff/40001/src/serialize.cc File src/serialize.cc (right): https://codereview.chromium.org/866843003/diff/40001/src/serialize.cc#newcode912 src/serialize.cc:912: if (rmode == RelocInfo::INTERNAL_REFERENCE) { I'm quite puzzled by ...
5 years, 10 months ago (2015-02-06 07:08:15 UTC) #14
michael_dawson
5 years, 10 months ago (2015-02-06 23:06:35 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/866843003/diff/40001/src/serialize.cc
File src/serialize.cc (right):

https://codereview.chromium.org/866843003/diff/40001/src/serialize.cc#newcode912
src/serialize.cc:912: if (rmode == RelocInfo::INTERNAL_REFERENCE) {
On 2015/02/06 07:08:14, Yang wrote:
> I'm quite puzzled by this. It is true that V8 currently does not use
> INTERNAL_REFERENCE. This however may change soon if we decide to implement
jump
> tables. I'm currently looking at ways to implement serialization in a
> generalized way.
> 
> I think what you are assuming here is that every INTERNAL_REFERENCE in PPC
code
> is a function descriptor (if I understood correctly, a pointer to self), so
you
> simply go through all internal references and replace them by the updated self
> pointer.
> 
> This would not work for arbitrary internal references, and I think this should
> be solved differently.
> 
> Furthermore, adding this piece of platform-dependent code here is bad style.

We are not surprised that there are some comments on this change.  If there is a
general
solution for INTERNAL_REFERENCE type (which it sounds like you are working on)
we expect 
that our code would be subsumed by the general case and our platform specific
code would be removed.  
If there are not already plans to have a general solution we could work to
generalize what we
have or move it to the PPC specific directories but we'd need some additional 
guidance/suggestions before starting on that.

Powered by Google App Engine
This is Rietveld 408576698