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

Issue 551803004: Endian changes, support 64bit big endian (Closed)

Created:
6 years, 3 months ago by andrew_low
Modified:
6 years, 2 months ago
Reviewers:
Sven Panne, danno, rmcilroy
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Endian changes, support 64bit big endian These are some changes split off from https://codereview.chromium.org/422063005 frames-inl.h, frames.h based on https://github.com/andrewlow/v8ppc/commit/05db7d2d714c44bd4e0b710fdaa51d34938aaa27 On 64bit big endian systems, the integer value is in the second slot, thus we need a new offset. objects-inl.h, objects.h based on https://github.com/andrewlow/v8ppc/commit/09b680b2af7412fe8fa5a3a01f1b8e29698d7797 Similarly, the hash slot is an integer field and we need to do the right thing on 64bit big endian systems objects.cc based on: https://github.com/andrewlow/v8ppc/commit/065742b0783b0705d9f9711198248a92bac11d85 Prettier printing of constant pools test-strings.cc based on: https://github.com/andrewlow/v8ppc/commit/9889d60cd6e68e0d248c4a362ffdff0755b92aec endian fixes BUG= R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24365

Patch Set 1 #

Total comments: 9

Patch Set 2 : Updates based on comments #

Patch Set 3 : Updated to latest code level #

Patch Set 4 : Forwarded internalized strings use hash field slot, not offset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -46 lines) Patch
M src/frames.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/frames-inl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 5 chunks +48 lines, -12 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 3 5 chunks +39 lines, -30 lines 0 comments Download
M test/mjsunit/nans.js View 3 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
andrew_low
6 years, 3 months ago (2014-09-15 17:33:51 UTC) #2
Sven Panne
https://codereview.chromium.org/551803004/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/551803004/diff/1/src/objects-inl.h#newcode3298 src/objects-inl.h:3298: WRITE_INTPTR_FIELD(this, kHashFieldSlot, value); Hmmm, this is a bit brittle ...
6 years, 3 months ago (2014-09-16 10:48:40 UTC) #3
rmcilroy
https://codereview.chromium.org/551803004/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/551803004/diff/1/src/objects.h#newcode3171 src/objects.h:3171: kExtendedInt64CountOffset + kInt32Size; On 2014/09/16 10:48:40, Sven Panne wrote: ...
6 years, 3 months ago (2014-09-18 10:54:44 UTC) #4
andrew_low
I've updated the patch to reflect the comments. https://codereview.chromium.org/551803004/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/551803004/diff/1/src/objects-inl.h#newcode3298 src/objects-inl.h:3298: WRITE_INTPTR_FIELD(this, ...
6 years, 3 months ago (2014-09-22 17:49:18 UTC) #5
andrew_low
Update to the latest code level. All comments addressed. Anything else you guys need to ...
6 years, 2 months ago (2014-09-30 19:45:08 UTC) #6
Sven Panne
LGTM, although I still had a slight brain explosion trying to visualize the object layouts ...
6 years, 2 months ago (2014-10-01 13:12:16 UTC) #7
Sven Panne
6 years, 2 months ago (2014-10-01 13:14:26 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 24365 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698