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

Issue 278593003: Don't use a float32list as storage for simd. (Closed)

Created:
6 years, 7 months ago by floitsch
Modified:
6 years, 5 months ago
CC:
reviews_dartlang.org, Cutch
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fixes and tests. #

Total comments: 4

Patch Set 3 : Address comments. Fix tests. #

Patch Set 4 : Fix typo. #

Total comments: 28

Patch Set 5 : Address comments. #

Patch Set 6 : Merge master. #

Patch Set 7 : Remove stale TODOs. #

Total comments: 3

Patch Set 8 : Reupload after revert. #

Patch Set 9 : Use Int32Lists as storage for Int32x4Lists. #

Patch Set 10 : Add more tests and fix buffer.asInt32x4List. #

Patch Set 11 : Upload after revert. #

Patch Set 12 : Update status file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+820 lines, -467 lines) Patch
M sdk/lib/_internal/lib/native_typed_data.dart View 1 2 3 4 5 6 7 8 9 13 chunks +476 lines, -467 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/typed_data/float32x4_list_test.dart View 1 2 3 4 5 6 7 8 9 2 chunks +95 lines, -0 lines 0 comments Download
M tests/lib/typed_data/float32x4_test.dart View 1 2 3 4 2 chunks +105 lines, -0 lines 0 comments Download
M tests/lib/typed_data/int32x4_list_test.dart View 1 2 3 4 5 6 7 8 9 3 chunks +55 lines, -0 lines 0 comments Download
A tests/lib/typed_data/int32x4_test.dart View 1 2 3 4 1 chunk +88 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
floitsch
6 years, 5 months ago (2014-07-09 20:30:22 UTC) #1
Cutch
https://codereview.chromium.org/278593003/diff/20001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart File sdk/lib/typed_data/dart2js/typed_data_dart2js.dart (right): https://codereview.chromium.org/278593003/diff/20001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart#newcode1464 sdk/lib/typed_data/dart2js/typed_data_dart2js.dart:1464: var view = new Uint32List.view(_list.buffer); This view can be ...
6 years, 5 months ago (2014-07-09 20:35:10 UTC) #2
floitsch
https://codereview.chromium.org/278593003/diff/20001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart File sdk/lib/typed_data/dart2js/typed_data_dart2js.dart (right): https://codereview.chromium.org/278593003/diff/20001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart#newcode1464 sdk/lib/typed_data/dart2js/typed_data_dart2js.dart:1464: var view = new Uint32List.view(_list.buffer); On 2014/07/09 20:35:10, Cutch ...
6 years, 5 months ago (2014-07-09 23:00:08 UTC) #3
Lasse Reichstein Nielsen
LGTM with comments. https://codereview.chromium.org/278593003/diff/60001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart File sdk/lib/typed_data/dart2js/typed_data_dart2js.dart (right): https://codereview.chromium.org/278593003/diff/60001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart#newcode1267 sdk/lib/typed_data/dart2js/typed_data_dart2js.dart:1267: /// All arguments must be non-null ...
6 years, 5 months ago (2014-07-10 09:34:12 UTC) #4
floitsch
https://codereview.chromium.org/278593003/diff/60001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart File sdk/lib/typed_data/dart2js/typed_data_dart2js.dart (right): https://codereview.chromium.org/278593003/diff/60001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart#newcode1267 sdk/lib/typed_data/dart2js/typed_data_dart2js.dart:1267: /// All arguments must be non-null doubles. On 2014/07/10 ...
6 years, 5 months ago (2014-07-10 16:41:59 UTC) #5
floitsch
PTAL. Rebase was painful... And I have one question. https://codereview.chromium.org/278593003/diff/100002/sdk/lib/_internal/lib/native_typed_data.dart File sdk/lib/_internal/lib/native_typed_data.dart (right): https://codereview.chromium.org/278593003/diff/100002/sdk/lib/_internal/lib/native_typed_data.dart#newcode1307 sdk/lib/_internal/lib/native_typed_data.dart:1307: ...
6 years, 5 months ago (2014-07-10 20:25:30 UTC) #6
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/278593003/diff/100002/sdk/lib/_internal/lib/native_typed_data.dart File sdk/lib/_internal/lib/native_typed_data.dart (right): https://codereview.chromium.org/278593003/diff/100002/sdk/lib/_internal/lib/native_typed_data.dart#newcode1307 sdk/lib/_internal/lib/native_typed_data.dart:1307: static final Uint32List _uint32view = _list.buffer.asUint32List(); It shouldn't ...
6 years, 5 months ago (2014-07-11 11:59:12 UTC) #7
floitsch
https://codereview.chromium.org/278593003/diff/100002/sdk/lib/_internal/lib/native_typed_data.dart File sdk/lib/_internal/lib/native_typed_data.dart (right): https://codereview.chromium.org/278593003/diff/100002/sdk/lib/_internal/lib/native_typed_data.dart#newcode1307 sdk/lib/_internal/lib/native_typed_data.dart:1307: static final Uint32List _uint32view = _list.buffer.asUint32List(); On 2014/07/11 11:59:12, ...
6 years, 5 months ago (2014-07-11 12:02:36 UTC) #8
floitsch
Committed patchset #7 manually as r38153 (presubmit successful).
6 years, 5 months ago (2014-07-11 12:03:40 UTC) #9
floitsch
Still running the tests, but switching the storage of Int32x4Lists to Int32List (instead of Uint32List) ...
6 years, 5 months ago (2014-07-11 13:27:27 UTC) #10
floitsch
Added tests and fixed buffer.asInt32x4List.
6 years, 5 months ago (2014-07-11 15:54:14 UTC) #11
Lasse Reichstein Nielsen
lgtm
6 years, 5 months ago (2014-07-11 23:56:27 UTC) #12
floitsch
Committed patchset #10 manually as r38194 (presubmit successful).
6 years, 5 months ago (2014-07-14 15:02:45 UTC) #13
Bill Hesse
The test lib/typed_data/int32x4_test is failing on Safari after this commit: http://chromegw.corp.google.com/i/client.dart/builders/dart2js-safari-mac10.7-2-3-be/builds/5843/steps/dart2js-safari%20tests%20failures/logs/stdio
6 years, 5 months ago (2014-07-15 11:17:04 UTC) #14
floitsch
Updated status file.
6 years, 5 months ago (2014-07-15 14:56:54 UTC) #15
floitsch
Committed patchset #12 manually as r38236 (presubmit successful).
6 years, 5 months ago (2014-07-15 14:58:27 UTC) #16
sra1
6 years, 5 months ago (2014-07-15 18:59:33 UTC) #17
Message was sent while issue was closed.
What is the motivation for this change?

This change adds 4k to swarm.  Can it be done less expensively?

Powered by Google App Engine
This is Rietveld 408576698