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

Issue 2784253002: MIPS: Fix `[builtins] Reland of Port TypedArrayInitialize to CodeStubAssembler.` (Closed)

Created:
3 years, 8 months ago by ivica.bogosavljevic
Modified:
3 years, 8 months ago
CC:
v8-mips-ports_googlegroups.com, v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS: Fix `[builtins] Reland of Port TypedArrayInitialize to CodeStubAssembler.` Fix ff8b1abb1a8e609b7786d0f6cd6577cc9083d262 This fixes the problem with the alignment of typed arrays in turbofan. Namely, Float64 typed arrays weren't properly aligned on 32bit architectures, and this causes crashes on those architectures that do not support misaligned memory access. TEST=mjsunit/es6/typedarray-* BUG=v8:6075 Review-Url: https://codereview.chromium.org/2784253002 Cr-Commit-Position: refs/heads/master@{#44366} Committed: https://chromium.googlesource.com/v8/v8/+/74b8ef6cea108d55d479afe16ffa2b0e7bf90074

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address code review remarks. #

Patch Set 3 : Fix failure on CSA bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -57 lines) Patch
M src/builtins/builtins-typedarray-gen.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/code-stub-assembler.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 6 chunks +73 lines, -54 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
ivica.bogosavljevic
PTAL This enables double alignment for typed array allocation and also fixes some issues in ...
3 years, 8 months ago (2017-03-30 09:10:37 UTC) #2
petermarshall
LGTM, can you wait for cbruni to review as well? Thanks!
3 years, 8 months ago (2017-03-30 11:51:36 UTC) #3
ivica.bogosavljevic
On 2017/03/30 11:51:36, petermarshall wrote: > LGTM, can you wait for cbruni to review as ...
3 years, 8 months ago (2017-03-30 12:02:09 UTC) #4
Camillo Bruni
some more comments https://codereview.chromium.org/2784253002/diff/1/src/builtins/builtins-typedarray-gen.cc File src/builtins/builtins-typedarray-gen.cc (right): https://codereview.chromium.org/2784253002/diff/1/src/builtins/builtins-typedarray-gen.cc#newcode230 src/builtins/builtins-typedarray-gen.cc:230: Node* elements = Allocate(total_size.value(), kDoubleAlignment); not: ...
3 years, 8 months ago (2017-03-30 12:08:24 UTC) #9
ivica.bogosavljevic
PTAL https://codereview.chromium.org/2784253002/diff/1/src/builtins/builtins-typedarray-gen.cc File src/builtins/builtins-typedarray-gen.cc (right): https://codereview.chromium.org/2784253002/diff/1/src/builtins/builtins-typedarray-gen.cc#newcode230 src/builtins/builtins-typedarray-gen.cc:230: Node* elements = Allocate(total_size.value(), kDoubleAlignment); On 2017/03/30 12:08:23, ...
3 years, 8 months ago (2017-03-30 13:47:57 UTC) #10
ivica.bogosavljevic
Applied changes PTAL
3 years, 8 months ago (2017-03-31 10:00:18 UTC) #17
ivica.bogosavljevic
On 2017/03/31 10:00:18, ivica.bogosavljevic wrote: > Applied changes PTAL ping...
3 years, 8 months ago (2017-04-03 15:51:49 UTC) #20
Camillo Bruni
Sorry for the late response and thanks for addressing my nits! LGTM
3 years, 8 months ago (2017-04-04 08:40:32 UTC) #23
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/2784253002/40001
3 years, 8 months ago (2017-04-04 08:53:15 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 09:19:02 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/74b8ef6cea108d55d479afe16ffa2b0e7bf...

Powered by Google App Engine
This is Rietveld 408576698