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

Issue 2947783002: Avoid unaligned access fault in Int32x4/Float32x4::value() on ARM. (Closed)

Created:
3 years, 6 months ago by rmacnak
Modified:
3 years, 6 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[arm] Avoid unaligned access fault in Int32x4/Float32x4::value(). R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/dddd96cfd2984f4c157b8c3632ad2b5dcb25b9fc

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -20 lines) Patch
M runtime/platform/globals.h View 1 2 chunks +23 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +2 lines, -16 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M tests/lib/typed_data/float32x4_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/typed_data/float64x2_functional_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/typed_data/int32x4_test.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
rmacnak
Tried using a temp marked with 4 byte alignment, but gcc generated the same code.
3 years, 6 months ago (2017-06-20 00:50:11 UTC) #2
zra
https://codereview.chromium.org/2947783002/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2947783002/diff/1/runtime/vm/object.cc#newcode22355 runtime/vm/object.cc:22355: #if defined(HOST_ARCH_ARM) I think you should be able to ...
3 years, 6 months ago (2017-06-20 17:44:34 UTC) #3
rmacnak
Expanded on ReadUnaligned from globals.h.
3 years, 6 months ago (2017-06-21 01:07:00 UTC) #4
zra
lgtm
3 years, 6 months ago (2017-06-21 06:40:29 UTC) #5
rmacnak
3 years, 6 months ago (2017-06-21 16:11:10 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
dddd96cfd2984f4c157b8c3632ad2b5dcb25b9fc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698