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

Issue 13520004: [NOT FOR COMMIT] Native Client builds of V8 on ia32 and x64. (Closed)

Created:
7 years, 8 months ago by Brad Chen
Modified:
7 years, 5 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Native Client builds of V8 on ia32 and x64. [NOTE: This master CL includes all the intended changes for NaCl support on V8. It is useful to see things the whole and for verification, although for commit I am creating smaller CLs that are hopefully easier to review.] This port uses the ARM code generator and interpreter to allow a temporary low-performance solution pending availability of NaCl JIT ports or a fast portable interpreter. This patch supports V8-style build and test targets, e.g. make nacl_ia32.check nacl_x64.check All unit tests should pass, modulo skipped tests as per mjsunit.status and cctests.status. BUG=

Patch Set 1 #

Patch Set 2 : A couple minor cleanups #

Total comments: 1

Patch Set 3 : Unfied paths for 32- and 64-bit runtime calls. #

Patch Set 4 : minor cleanup #

Patch Set 5 : More cleanups. #

Patch Set 6 : Minor cruft removal. #

Patch Set 7 : Re-enable snapshot; update mjsunit.status #

Patch Set 8 : Minor updates to Makefile and nacl-run.py #

Patch Set 9 : More test adjustments #

Patch Set 10 : Remove V=1 from build #

Patch Set 11 : rebase #

Patch Set 12 : rebase #

Patch Set 13 : A few parameter name improvements #

Patch Set 14 : rebase #

Patch Set 15 : Fixing a couple nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -4 lines) Patch
M Makefile View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +42 lines, -3 lines 0 comments Download
M build/common.gypi View 2 chunks +9 lines, -1 line 0 comments Download
M src/globals.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Brad Chen
PTAL
7 years, 8 months ago (2013-04-03 23:39:47 UTC) #1
Brad Chen
On 2013/04/03 23:39:47, Brad Chen wrote: > PTAL I was thinking on the way home ...
7 years, 8 months ago (2013-04-04 03:17:16 UTC) #2
danno
That's fine. I briefly looked at the changes, and the one thing that sticks out ...
7 years, 8 months ago (2013-04-04 11:36:26 UTC) #3
Brad Chen
On 2013/04/04 11:36:26, danno wrote: > That's fine. > > I briefly looked at the ...
7 years, 8 months ago (2013-04-04 14:28:05 UTC) #4
danno
ulan, can you please help answer some of Brad's questions?
7 years, 8 months ago (2013-04-04 14:29:18 UTC) #5
ulan
> I would need to know the variety of function prototypes that need to be ...
7 years, 8 months ago (2013-04-04 14:53:46 UTC) #6
Brad Chen
On 2013/04/04 14:53:46, ulan wrote: > > I would need to know the variety of ...
7 years, 8 months ago (2013-04-04 15:23:08 UTC) #7
ulan
https://codereview.chromium.org/13520004/diff/2001/src/arm/simulator-arm.cc File src/arm/simulator-arm.cc (right): https://codereview.chromium.org/13520004/diff/2001/src/arm/simulator-arm.cc#newcode1767 src/arm/simulator-arm.cc:1767: UNREACHABLE(); > Is it obvious that these are the ...
7 years, 8 months ago (2013-04-04 16:38:17 UTC) #8
Brad Chen
On 2013/04/04 16:38:17, ulan wrote: > https://codereview.chromium.org/13520004/diff/2001/src/arm/simulator-arm.cc > File src/arm/simulator-arm.cc (right): > > https://codereview.chromium.org/13520004/diff/2001/src/arm/simulator-arm.cc#newcode1767 > ...
7 years, 8 months ago (2013-04-04 16:42:26 UTC) #9
Brad Chen
7 years, 8 months ago (2013-04-09 15:20:06 UTC) #10
Thanks for your help getting the first four patches landed. The next few will
be:
- change native function invocation from simulator-arm.cc to use accurate
function prototypes
- exclude one more test in mjsunit
- build system changes

Unlike the previous CLs, some of these change paths used by all systems, so I
expect you will want to stare at them a little bit longer. Land the build
changes last. Once that's done hopefully setting up bots will follow naturally.

Brad

On 2013/04/04 16:42:26, Brad Chen wrote:
> On 2013/04/04 16:38:17, ulan wrote:
> > https://codereview.chromium.org/13520004/diff/2001/src/arm/simulator-arm.cc
> > File src/arm/simulator-arm.cc (right):
> > 
> >
>
https://codereview.chromium.org/13520004/diff/2001/src/arm/simulator-arm.cc#n...
> > src/arm/simulator-arm.cc:1767: UNREACHABLE();
> > > Is it obvious that these are the only prototypes that can be used?
> > Yes, I think so because of this line.
> > > If so, the next question would be how to distinguish
> > BUILTIN_FP_INT_CALL from the others in simulator-arm.cc
> > If I understood the question correctly, you can check redirection->type()
like
> > it is done in this switch statement.
> 
> Thanks; makes sense now.

Powered by Google App Engine
This is Rietveld 408576698