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

Issue 2473553002: Fix unaligned access to TypedData from native code. (Closed)

Created:
4 years, 1 month ago by rmacnak
Modified:
4 years, 1 month ago
Reviewers:
zra, Cutch
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix unaligned access to TypedData from native code. Split unaligned access test and mark the float half as failing on Android. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/d5580f3b00f1631b6e735e9b757be09a9eb72896

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -268 lines) Patch
M runtime/vm/object.h View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 chunk +3 lines, -0 lines 0 comments Download
D tests/language/vm/unaligned_access_literal_index_test.dart View 1 chunk +0 lines, -132 lines 0 comments Download
D tests/language/vm/unaligned_access_register_index_test.dart View 1 chunk +0 lines, -84 lines 0 comments Download
A tests/language/vm/unaligned_float_access_literal_index_test.dart View 1 chunk +46 lines, -0 lines 0 comments Download
A tests/language/vm/unaligned_float_access_register_index_test.dart View 1 chunk +30 lines, -0 lines 0 comments Download
A + tests/language/vm/unaligned_integer_access_literal_index_test.dart View 2 chunks +0 lines, -34 lines 0 comments Download
A + tests/language/vm/unaligned_integer_access_register_index_test.dart View 2 chunks +0 lines, -18 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
rmacnak
4 years, 1 month ago (2016-11-01 21:41:39 UTC) #3
zra
https://codereview.chromium.org/2473553002/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2473553002/diff/1/runtime/vm/object.h#newcode7937 runtime/vm/object.h:7937: memmove(&result, DataAddr(byte_offset), sizeof(type)); \ Should we specialize this by ...
4 years, 1 month ago (2016-11-01 21:46:01 UTC) #4
Cutch
https://codereview.chromium.org/2473553002/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2473553002/diff/1/runtime/vm/object.h#newcode7937 runtime/vm/object.h:7937: memmove(&result, DataAddr(byte_offset), sizeof(type)); \ On 2016/11/01 21:46:01, zra wrote: ...
4 years, 1 month ago (2016-11-01 21:48:22 UTC) #5
rmacnak
Ifdef'd about Intel.
4 years, 1 month ago (2016-11-01 22:39:15 UTC) #6
Cutch
https://codereview.chromium.org/2473553002/diff/20001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2473553002/diff/20001/runtime/vm/object.h#newcode7938 runtime/vm/object.h:7938: memmove(&result, DataAddr(byte_offset), sizeof(type)); \ You are still calling memmove ...
4 years, 1 month ago (2016-11-01 22:45:09 UTC) #7
rmacnak
https://codereview.chromium.org/2473553002/diff/20001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2473553002/diff/20001/runtime/vm/object.h#newcode7938 runtime/vm/object.h:7938: memmove(&result, DataAddr(byte_offset), sizeof(type)); \ On 2016/11/01 22:45:09, Cutch wrote: ...
4 years, 1 month ago (2016-11-01 23:25:15 UTC) #8
zra
lgtm It looks like the arm benchmark bot is going again (albeit slowly). We need ...
4 years, 1 month ago (2016-11-02 22:26:28 UTC) #9
rmacnak
On 2016/11/02 22:26:28, zra wrote: > lgtm > > It looks like the arm benchmark ...
4 years, 1 month ago (2016-11-02 22:52:56 UTC) #10
rmacnak
4 years, 1 month ago (2016-11-02 22:53:31 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
d5580f3b00f1631b6e735e9b757be09a9eb72896 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698