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

Issue 2838943002: [wasm] Implement 128-bit endian swap for simd type (Closed)

Created:
3 years, 8 months ago by john.yan
Modified:
3 years, 7 months ago
CC:
v8-reviews_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Implement 128-bit endian swap for simd type BUG= Review-Url: https://codereview.chromium.org/2838943002 Cr-Commit-Position: refs/heads/master@{#45208} Committed: https://chromium.googlesource.com/v8/v8/+/18c33c504a9ba61df2fa3833210f83539d2569f4

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : address comment #

Patch Set 4 : add comments #

Patch Set 5 : fix error #

Patch Set 6 : make compiler happy #

Patch Set 7 : make compiler happy #

Patch Set 8 : fix unused function error #

Patch Set 9 : fix sign compare error #

Patch Set 10 : fix sign compare error #

Total comments: 4

Patch Set 11 : address comments #

Patch Set 12 : small fix to index #

Patch Set 13 : try to fix msvc error #

Total comments: 4

Patch Set 14 : address comments #

Total comments: 1

Patch Set 15 : address comments #

Total comments: 3

Patch Set 16 : rebase #

Patch Set 17 : reorder to get rid of compile error #

Patch Set 18 : address comments #

Patch Set 19 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -22 lines) Patch
M src/compiler/simd-scalar-lowering.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/simd-scalar-lowering.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +11 lines, -6 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +25 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +37 lines, -16 lines 0 comments Download

Messages

Total messages: 109 (68 generated)
john.yan
ptal
3 years, 8 months ago (2017-04-25 18:55:15 UTC) #3
john.yan
@clemensh@google.com Could you please take a look?
3 years, 8 months ago (2017-04-26 16:58:00 UTC) #8
Clemens Hammacher
Sorry for the delay! https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc#newcode1072 src/compiler/wasm-compiler.cc:1072: case 16: You can merge ...
3 years, 8 months ago (2017-04-26 18:40:06 UTC) #9
john.yan
On 2017/04/26 18:40:06, Clemens Hammacher wrote: > Sorry for the delay! > > https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc > ...
3 years, 8 months ago (2017-04-26 18:56:43 UTC) #10
bbudge
https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc#newcode1135 src/compiler/wasm-compiler.cc:1135: for (int lane = 0; lane < 4; lane++) ...
3 years, 8 months ago (2017-04-26 20:14:12 UTC) #11
john.yan
On 2017/04/26 20:14:12, bbudge wrote: > https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc > File src/compiler/wasm-compiler.cc (right): > > https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc#newcode1135 > ...
3 years, 7 months ago (2017-04-27 17:09:37 UTC) #12
bbudge
On 2017/04/27 17:09:37, john.yan wrote: > On 2017/04/26 20:14:12, bbudge wrote: > > > https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc ...
3 years, 7 months ago (2017-04-27 17:14:02 UTC) #13
bbudge
On 2017/04/27 17:09:37, john.yan wrote: > On 2017/04/26 20:14:12, bbudge wrote: > > > https://codereview.chromium.org/2838943002/diff/1/src/compiler/wasm-compiler.cc ...
3 years, 7 months ago (2017-04-27 17:14:03 UTC) #14
Clemens Hammacher
On 2017/04/27 at 17:14:02, bbudge wrote: > On 2017/04/27 17:09:37, john.yan wrote: > > On ...
3 years, 7 months ago (2017-04-27 17:22:45 UTC) #15
john.yan
https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc#newcode2193 test/cctest/wasm/test-run-wasm-simd.cc:2193: CHECK_EQ(*global, 13.5); I am not sure I am on ...
3 years, 7 months ago (2017-04-27 17:44:48 UTC) #16
Clemens Hammacher
https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc#newcode2193 test/cctest/wasm/test-run-wasm-simd.cc:2193: CHECK_EQ(*global, 13.5); On 2017/04/27 at 17:44:48, john.yan wrote: > ...
3 years, 7 months ago (2017-04-27 17:48:33 UTC) #17
bbudge
On 2017/04/27 17:48:33, Clemens Hammacher wrote: > https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc > File test/cctest/wasm/test-run-wasm-simd.cc (right): > > https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc#newcode2193 ...
3 years, 7 months ago (2017-04-27 18:06:55 UTC) #18
john.yan
On 2017/04/27 17:48:33, Clemens Hammacher wrote: > https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc > File test/cctest/wasm/test-run-wasm-simd.cc (right): > > https://codereview.chromium.org/2838943002/diff/20001/test/cctest/wasm/test-run-wasm-simd.cc#newcode2193 ...
3 years, 7 months ago (2017-04-27 20:09:59 UTC) #20
Clemens Hammacher
That looks much better now! Just a few minor comments. https://codereview.chromium.org/2838943002/diff/180001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2838943002/diff/180001/src/compiler/simd-scalar-lowering.cc#newcode203 ...
3 years, 7 months ago (2017-04-28 09:45:48 UTC) #49
john.yan
Thanks for comments! I will update soon. https://codereview.chromium.org/2838943002/diff/180001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2838943002/diff/180001/src/compiler/wasm-compiler.cc#newcode1142 src/compiler/wasm-compiler.cc:1142: graph()->NewNode(jsgraph()->machine()->S128And(), value, ...
3 years, 7 months ago (2017-04-28 15:01:28 UTC) #50
john.yan
On 2017/04/28 09:45:48, Clemens Hammacher wrote: > That looks much better now! Just a few ...
3 years, 7 months ago (2017-04-28 19:07:05 UTC) #51
john.yan
On 2017/04/28 19:07:05, john.yan wrote: > On 2017/04/28 09:45:48, Clemens Hammacher wrote: > > That ...
3 years, 7 months ago (2017-05-01 17:44:28 UTC) #61
bbudge
+Aseem for simd lowering changes. https://codereview.chromium.org/2838943002/diff/240001/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2838943002/diff/240001/test/cctest/wasm/test-run-wasm-simd.cc#newcode1968 test/cctest/wasm/test-run-wasm-simd.cc:1968: template <typename T, int ...
3 years, 7 months ago (2017-05-01 18:21:07 UTC) #63
john.yan
On 2017/05/01 18:21:07, bbudge wrote: > +Aseem for simd lowering changes. > > https://codereview.chromium.org/2838943002/diff/240001/test/cctest/wasm/test-run-wasm-simd.cc > ...
3 years, 7 months ago (2017-05-01 19:58:21 UTC) #68
Clemens Hammacher
wasm-compiler.cc LGTM with nit Also no concerns about the other changes, but please wait for ...
3 years, 7 months ago (2017-05-02 09:19:52 UTC) #69
aseemgarg
I am entirely sure if the scalar-lowering part is needed. As I understand, the BuildChangeEndianness ...
3 years, 7 months ago (2017-05-02 21:20:21 UTC) #70
aseemgarg
On 2017/05/02 21:20:21, aseemgarg wrote: > I am entirely sure if the scalar-lowering part is ...
3 years, 7 months ago (2017-05-02 21:20:59 UTC) #71
john.yan
On 2017/05/02 21:20:59, aseemgarg wrote: > On 2017/05/02 21:20:21, aseemgarg wrote: > > I am ...
3 years, 7 months ago (2017-05-02 21:40:46 UTC) #72
aseemgarg
On 2017/05/02 21:40:46, john.yan wrote: > On 2017/05/02 21:20:59, aseemgarg wrote: > > On 2017/05/02 ...
3 years, 7 months ago (2017-05-02 21:55:43 UTC) #73
john.yan
On 2017/05/02 21:55:43, aseemgarg wrote: > On 2017/05/02 21:40:46, john.yan wrote: > > On 2017/05/02 ...
3 years, 7 months ago (2017-05-03 17:53:35 UTC) #74
john.yan
Rebased on master. Could you please take another look? Thanks! https://codereview.chromium.org/2838943002/diff/280001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2838943002/diff/280001/src/compiler/simd-scalar-lowering.cc#newcode237 ...
3 years, 7 months ago (2017-05-03 19:39:40 UTC) #76
aseemgarg
On 2017/05/03 17:53:35, john.yan wrote: > On 2017/05/02 21:55:43, aseemgarg wrote: > > On 2017/05/02 ...
3 years, 7 months ago (2017-05-03 22:03:53 UTC) #85
aseemgarg
https://codereview.chromium.org/2838943002/diff/280001/src/compiler/simd-scalar-lowering.cc File src/compiler/simd-scalar-lowering.cc (right): https://codereview.chromium.org/2838943002/diff/280001/src/compiler/simd-scalar-lowering.cc#newcode237 src/compiler/simd-scalar-lowering.cc:237: rep_nodes[0]->ReplaceInput(1, indices[0]); On 2017/05/03 19:39:40, john.yan wrote: > On ...
3 years, 7 months ago (2017-05-03 22:04:14 UTC) #86
john.yan
On 2017/05/03 22:04:14, aseemgarg wrote: > https://codereview.chromium.org/2838943002/diff/280001/src/compiler/simd-scalar-lowering.cc > File src/compiler/simd-scalar-lowering.cc (right): > > https://codereview.chromium.org/2838943002/diff/280001/src/compiler/simd-scalar-lowering.cc#newcode237 > ...
3 years, 7 months ago (2017-05-04 14:38:07 UTC) #87
john.yan
On 2017/05/03 22:03:53, aseemgarg wrote: > On 2017/05/03 17:53:35, john.yan wrote: > > On 2017/05/02 ...
3 years, 7 months ago (2017-05-04 18:50:55 UTC) #88
aseemgarg
On 2017/05/04 18:50:55, john.yan wrote: > On 2017/05/03 22:03:53, aseemgarg wrote: > > On 2017/05/03 ...
3 years, 7 months ago (2017-05-04 21:35:23 UTC) #93
john.yan
On 2017/05/04 21:35:23, aseemgarg wrote: > On 2017/05/04 18:50:55, john.yan wrote: > > On 2017/05/03 ...
3 years, 7 months ago (2017-05-05 17:29:51 UTC) #94
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/2838943002/380001
3 years, 7 months ago (2017-05-05 18:41:26 UTC) #97
john.yan
On 2017/05/04 21:35:23, aseemgarg wrote: > On 2017/05/04 18:50:55, john.yan wrote: > > On 2017/05/03 ...
3 years, 7 months ago (2017-05-05 18:44:02 UTC) #98
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/40577)
3 years, 7 months ago (2017-05-05 18:44:37 UTC) #100
john.yan
On 2017/05/05 18:44:02, john.yan wrote: > On 2017/05/04 21:35:23, aseemgarg wrote: > > On 2017/05/04 ...
3 years, 7 months ago (2017-05-09 17:11:11 UTC) #101
aseemgarg
On 2017/05/09 17:11:11, john.yan wrote: > On 2017/05/05 18:44:02, john.yan wrote: > > On 2017/05/04 ...
3 years, 7 months ago (2017-05-09 18:32:34 UTC) #102
Jarin
lgtm (rubber-stamp).
3 years, 7 months ago (2017-05-09 18:55:20 UTC) #103
john.yan
On 2017/05/09 18:32:34, aseemgarg wrote: > On 2017/05/09 17:11:11, john.yan wrote: > > On 2017/05/05 ...
3 years, 7 months ago (2017-05-09 19:16:57 UTC) #104
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/2838943002/380001
3 years, 7 months ago (2017-05-09 19:17:15 UTC) #106
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 19:54:30 UTC) #109
Message was sent while issue was closed.
Committed patchset #19 (id:380001) as
https://chromium.googlesource.com/v8/v8/+/18c33c504a9ba61df2fa3833210f83539d2...

Powered by Google App Engine
This is Rietveld 408576698