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

Issue 1729833002: Add wasm internal opcodes for asm.js stdlib functions we're missing. (Closed)

Created:
4 years, 10 months ago by bradnelson
Modified:
4 years, 9 months ago
Reviewers:
titzer, aseemgarg, bradn, Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add wasm internal opcodes for asm.js stdlib functions we're missing. BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=mjsunit/asm-wasm R=aseemgarg@chromium.org,titzer@chromium.org,yangguo@chromium.org LOG=N Committed: https://crrev.com/4db99810da9e2cc02dda10faa2be7ae896318ba3 Cr-Commit-Position: refs/heads/master@{#34452}

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 5

Patch Set 3 : fix #

Patch Set 4 : switch to opcodes #

Patch Set 5 : fix #

Total comments: 1

Patch Set 6 : fix #

Patch Set 7 : fix #

Patch Set 8 : fix #

Patch Set 9 : delta #

Patch Set 10 : fix 2 param #

Patch Set 11 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -91 lines) Patch
M src/assembler.h View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +98 lines, -0 lines 0 comments Download
M src/compiler/wasm-compiler.h View 1 2 3 2 chunks +14 lines, -2 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 4 chunks +156 lines, -27 lines 0 comments Download
M src/snapshot/serializer-common.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M src/wasm/asm-wasm-builder.cc View 1 2 3 7 chunks +54 lines, -53 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 2 chunks +16 lines, -1 line 0 comments Download
M src/wasm/wasm-opcodes.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/wasm/asm-wasm.js View 1 2 3 4 5 6 7 8 3 chunks +34 lines, -8 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
bradnelson
4 years, 10 months ago (2016-02-24 00:32:18 UTC) #1
bradnelson
4 years, 10 months ago (2016-02-24 07:16:17 UTC) #2
titzer
https://codereview.chromium.org/1729833002/diff/20001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1729833002/diff/20001/src/wasm/asm-wasm-builder.cc#newcode986 src/wasm/asm-wasm-builder.cc:986: case AsmTyper::kMathAbs: { We're going to need some more ...
4 years, 10 months ago (2016-02-24 17:54:11 UTC) #3
bradn
https://codereview.chromium.org/1729833002/diff/20001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1729833002/diff/20001/src/wasm/asm-wasm-builder.cc#newcode986 src/wasm/asm-wasm-builder.cc:986: case AsmTyper::kMathAbs: { On 2016/02/24 17:54:11, titzer wrote: > ...
4 years, 10 months ago (2016-02-24 18:07:29 UTC) #5
aseemgarg
This seems fine. But I am not too sure of the design choice. If we ...
4 years, 10 months ago (2016-02-25 22:38:37 UTC) #6
bradnelson
https://codereview.chromium.org/1729833002/diff/80001/src/assembler.cc File src/assembler.cc (right): https://codereview.chromium.org/1729833002/diff/80001/src/assembler.cc#newcode1281 src/assembler.cc:1281: if (std::isinf(x) && std::isinf(y)) { This is lifted from ...
4 years, 9 months ago (2016-03-02 03:49:12 UTC) #8
titzer
On 2016/03/02 03:49:12, bradnelson wrote: > https://codereview.chromium.org/1729833002/diff/80001/src/assembler.cc > File src/assembler.cc (right): > > https://codereview.chromium.org/1729833002/diff/80001/src/assembler.cc#newcode1281 > ...
4 years, 9 months ago (2016-03-02 19:16:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729833002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729833002/200001
4 years, 9 months ago (2016-03-02 19:17:19 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/11798)
4 years, 9 months ago (2016-03-02 19:20:50 UTC) #13
bradn
+yangguo for OWNERS in src/snapshot
4 years, 9 months ago (2016-03-02 19:29:32 UTC) #16
Yang
On 2016/03/02 19:29:32, bradn wrote: > +yangguo for OWNERS in src/snapshot lgtm
4 years, 9 months ago (2016-03-02 19:39:46 UTC) #17
yangguo
On 2016/03/02 19:39:46, Yang wrote: > On 2016/03/02 19:29:32, bradn wrote: > > +yangguo for ...
4 years, 9 months ago (2016-03-02 19:41:44 UTC) #18
yangguo
On 2016/03/02 19:41:44, yangguo wrote: > On 2016/03/02 19:39:46, Yang wrote: > > On 2016/03/02 ...
4 years, 9 months ago (2016-03-02 19:42:11 UTC) #19
titzer
On 2016/03/02 19:41:44, yangguo wrote: > On 2016/03/02 19:39:46, Yang wrote: > > On 2016/03/02 ...
4 years, 9 months ago (2016-03-02 20:12:39 UTC) #20
aseemgarg
lgtm I see a lot of code repetition. Should we use macros for some of ...
4 years, 9 months ago (2016-03-03 01:17:04 UTC) #21
bradn
Perhaps. Although as these have snapshot footprint, explicit might be good.
4 years, 9 months ago (2016-03-03 01:19:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729833002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729833002/200001
4 years, 9 months ago (2016-03-03 01:19:32 UTC) #24
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-03-03 01:22:10 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 01:23:30 UTC) #28
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/4db99810da9e2cc02dda10faa2be7ae896318ba3
Cr-Commit-Position: refs/heads/master@{#34452}

Powered by Google App Engine
This is Rietveld 408576698