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

Issue 12303013: Simd128Float32, Simd128Mask, and Simd128Float32List additions for dart:scalarlist (Closed)

Created:
7 years, 10 months ago by Cutch
Modified:
7 years, 10 months ago
Reviewers:
sra1, srdjan, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Simd128Float32, Simd128Mask, and Simd128Float32List additions for dart:scalarlist Committed: https://code.google.com/p/dart/source/detail?r=19001

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing sra review feedback #

Patch Set 3 : Remove commented out code used for testing #

Total comments: 34

Patch Set 4 : Incorporating Kasper's review #

Total comments: 15

Patch Set 5 : Srdjan's review #

Patch Set 6 : Final type names #

Patch Set 7 : Fix strict aliasing warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2949 lines, -18 lines) Patch
M runtime/lib/byte_array.cc View 1 2 3 4 5 3 chunks +54 lines, -0 lines 0 comments Download
M runtime/lib/byte_array.dart View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/lib/scalarlist_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A runtime/lib/simd128.cc View 1 2 3 4 5 6 1 chunk +612 lines, -0 lines 0 comments Download
A runtime/lib/simd128.dart View 1 2 3 4 5 6 1 chunk +756 lines, -0 lines 0 comments Download
A runtime/tests/vm/dart/simd128float32_array_test.dart View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A runtime/tests/vm/dart/simd128float32_test.dart View 1 2 3 4 5 1 chunk +372 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 4 chunks +65 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 3 chunks +183 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 11 chunks +278 lines, -0 lines 0 comments Download
M runtime/vm/object_store.h View 1 2 3 4 5 6 chunks +32 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 7 chunks +58 lines, -17 lines 0 comments Download
M runtime/vm/raw_object.cc View 1 2 3 4 5 4 chunks +42 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 5 chunks +165 lines, -1 line 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 4 chunks +7 lines, -0 lines 0 comments Download
M sdk/lib/scalarlist/byte_arrays.dart View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M sdk/lib/scalarlist/scalarlist.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/scalarlist/scalarlist_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A sdk/lib/scalarlist/simd128.dart View 1 2 3 4 5 1 chunk +189 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Cutch
Final API Simd128Float32, Simd128Mask, Simd128Float32List additions to dart:scalarlist. Kasper, I'm hoping to get your review ...
7 years, 10 months ago (2013-02-18 23:44:24 UTC) #1
sra1
DBC https://codereview.chromium.org/12303013/diff/1/runtime/lib/simd128.dart File runtime/lib/simd128.dart (right): https://codereview.chromium.org/12303013/diff/1/runtime/lib/simd128.dart#newcode50 runtime/lib/simd128.dart:50: final Float32List storage = new Float32List(4); Should storage ...
7 years, 10 months ago (2013-02-19 01:13:45 UTC) #2
Cutch
On 2013/02/19 01:13:45, sra1 wrote: > DBC > > https://codereview.chromium.org/12303013/diff/1/runtime/lib/simd128.dart > File runtime/lib/simd128.dart (right): > ...
7 years, 10 months ago (2013-02-19 16:00:03 UTC) #3
Cutch
New patch set changes: Storage is private. Simd128Float32 now Simd128Float32x4. setX now withX. Comparison operators ...
7 years, 10 months ago (2013-02-19 19:44:08 UTC) #4
kasperl
LGTM with comments. Do you feel like the test coverage is good enough that you ...
7 years, 10 months ago (2013-02-21 11:28:15 UTC) #5
Cutch
I think the test coverage for most operations is good enough. There are some floating ...
7 years, 10 months ago (2013-02-21 18:45:15 UTC) #6
srdjan
Here are some comments, let me know when you have uploaded changes. https://codereview.chromium.org/12303013/diff/19002/runtime/lib/simd128.dart File runtime/lib/simd128.dart ...
7 years, 10 months ago (2013-02-21 21:43:25 UTC) #7
Cutch
https://codereview.chromium.org/12303013/diff/19002/runtime/lib/simd128.dart File runtime/lib/simd128.dart (right): https://codereview.chromium.org/12303013/diff/19002/runtime/lib/simd128.dart#newcode44 runtime/lib/simd128.dart:44: double _sqrt(double x) native "Math_sqrt"; On 2013/02/21 21:43:25, srdjan ...
7 years, 10 months ago (2013-02-22 03:30:55 UTC) #8
kasperl
https://codereview.chromium.org/12303013/diff/19002/sdk/lib/scalarlist/simd128.dart File sdk/lib/scalarlist/simd128.dart (right): https://codereview.chromium.org/12303013/diff/19002/sdk/lib/scalarlist/simd128.dart#newcode65 sdk/lib/scalarlist/simd128.dart:65: // TODO(johnmccutchan): Add all 256 possible combinations. On 2013/02/22 ...
7 years, 10 months ago (2013-02-22 06:38:47 UTC) #9
srdjan
lgtm
7 years, 10 months ago (2013-02-22 18:27:24 UTC) #10
Cutch
Before I push, can we decide on the final names. My current thinking: Float32x4 Float32x4List ...
7 years, 10 months ago (2013-02-22 19:57:29 UTC) #11
Cutch
Committed patchset #7 manually as r19001 (presubmit successful).
7 years, 10 months ago (2013-02-25 21:13:12 UTC) #12
kasperl
Forgot to mention that I think the tests ended up in the wrong place. There's ...
7 years, 10 months ago (2013-02-26 06:54:59 UTC) #13
Cutch
7 years, 10 months ago (2013-02-26 16:05:51 UTC) #14
Message was sent while issue was closed.
On 2013/02/26 06:54:59, kasperl wrote:
> Forgot to mention that I think the tests ended up in the wrong place. There's
> nothing VM-specific about the tests, right? They should go in the tests/
> directory and they should be marked failing on dart2js for now. That will
allow
> us to start making progress on enabling the functionality in dart2js.

Kasper, I agree the tests should be moved and renamed. I will send a CL later
this week for that.

Powered by Google App Engine
This is Rietveld 408576698