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

Issue 2080213004: Fix int64 lowering on big-endian architectures. (Closed)

Created:
4 years, 6 months ago by ivica.bogosavljevic
Modified:
4 years, 6 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix int64 lowering on big-endian architectures. Lowering of Int64Load, Int64Store, BitcastInt64ToFloat64 and BitcastFloat64ToInt64 was using LE word ordering in memory, causing failures on some tests. BUG=mjsunit/regress/regress-599719,mjsunit/regress/regress-599717 Committed: https://crrev.com/42ac51c82e34bc47fd751f15fcb915d5a2b15fe6 Cr-Commit-Position: refs/heads/master@{#37213}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address code review remarks. Remove skipped tests #

Total comments: 2

Patch Set 3 : Use constants instead of get methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -25 lines) Patch
M src/compiler/int64-lowering.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/compiler/int64-lowering.cc View 1 2 7 chunks +41 lines, -18 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 1 chunk +0 lines, -2 lines 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 1 2 6 chunks +37 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
ivica.bogosavljevic
PTAL
4 years, 6 months ago (2016-06-21 13:22:50 UTC) #3
titzer
https://codereview.chromium.org/2080213004/diff/1/src/compiler/int64-lowering.cc File src/compiler/int64-lowering.cc (right): https://codereview.chromium.org/2080213004/diff/1/src/compiler/int64-lowering.cc#newcode120 src/compiler/int64-lowering.cc:120: #if defined(V8_TARGET_LITTLE_ENDIAN) Can you factor this out into a ...
4 years, 6 months ago (2016-06-21 21:22:59 UTC) #4
ivica.bogosavljevic
Fixed all, PTAL
4 years, 6 months ago (2016-06-22 09:11:00 UTC) #5
titzer
lgtm modulo final suggestion https://codereview.chromium.org/2080213004/diff/20001/src/compiler/int64-lowering.cc File src/compiler/int64-lowering.cc (right): https://codereview.chromium.org/2080213004/diff/20001/src/compiler/int64-lowering.cc#newcode116 src/compiler/int64-lowering.cc:116: int Int64Lowering::GetLowerWordOffset() { Can you ...
4 years, 6 months ago (2016-06-22 16:03:09 UTC) #6
ivica.bogosavljevic
https://codereview.chromium.org/2080213004/diff/20001/src/compiler/int64-lowering.cc File src/compiler/int64-lowering.cc (right): https://codereview.chromium.org/2080213004/diff/20001/src/compiler/int64-lowering.cc#newcode116 src/compiler/int64-lowering.cc:116: int Int64Lowering::GetLowerWordOffset() { On 2016/06/22 16:03:09, titzer wrote: > ...
4 years, 6 months ago (2016-06-23 10:56:54 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/2080213004/40001
4 years, 6 months ago (2016-06-23 10:57:07 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 11:35:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2080213004/40001
4 years, 6 months ago (2016-06-23 11:37:59 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-23 11:40:27 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 11:41:17 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/42ac51c82e34bc47fd751f15fcb915d5a2b15fe6
Cr-Commit-Position: refs/heads/master@{#37213}

Powered by Google App Engine
This is Rietveld 408576698