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

Issue 1702293002: Add asm.js stdlib portion implementable as wasm opcodes. (Closed)

Created:
4 years, 10 months ago by bradnelson
Modified:
4 years, 10 months ago
Reviewers:
titzer, aseemgarg, bradn
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 asm.js stdlib portion implementable as wasm opcodes. Lost in the repo shuffle: https://github.com/WebAssembly/v8-native-prototype/pull/102 BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=mjsunit/asm-wasm R=aseemgarg@chromium.org,titzer@chromium.org LOG=N Committed: https://crrev.com/af903021c6d6f7fbd186d1fb82e434e9156d2e50 Cr-Commit-Position: refs/heads/master@{#34218}

Patch Set 1 #

Patch Set 2 : !./to #

Patch Set 3 : reflow #

Total comments: 10

Patch Set 4 : fixes #

Patch Set 5 : fix win #

Total comments: 10

Patch Set 6 : fixes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -34 lines) Patch
M src/wasm/asm-wasm-builder.h View 3 chunks +3 lines, -1 line 0 comments Download
M src/wasm/asm-wasm-builder.cc View 1 2 3 4 5 10 chunks +253 lines, -30 lines 2 comments Download
M src/wasm/wasm-js.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M test/mjsunit/wasm/asm-wasm.js View 1 2 3 4 5 1 chunk +92 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702293002/20001
4 years, 10 months ago (2016-02-17 09:37:38 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702293002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702293002/40001
4 years, 10 months ago (2016-02-17 09:39:30 UTC) #4
bradnelson
Lost in the repo shuffle, was LGed, but PTAL as I should be asleep now...
4 years, 10 months ago (2016-02-17 09:39:56 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_compile_rel/builds/10485)
4 years, 10 months ago (2016-02-17 09:43:55 UTC) #7
titzer
https://codereview.chromium.org/1702293002/diff/40001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1702293002/diff/40001/src/wasm/asm-wasm-builder.cc#newcode928 src/wasm/asm-wasm-builder.cc:928: current_function_builder_->Emit(kExprF32Min); Can you double check that the JS min/max ...
4 years, 10 months ago (2016-02-17 09:49:33 UTC) #8
aseemgarg
lgtm after taking care of Ben's comments
4 years, 10 months ago (2016-02-17 19:30:18 UTC) #9
aseemgarg
ignore lgtm. Want to discuss the part of code to deal with functions too. https://codereview.chromium.org/1702293002/diff/40001/src/wasm/asm-wasm-builder.cc ...
4 years, 10 months ago (2016-02-17 19:44:07 UTC) #10
bradn
PTAL https://codereview.chromium.org/1702293002/diff/40001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1702293002/diff/40001/src/wasm/asm-wasm-builder.cc#newcode448 src/wasm/asm-wasm-builder.cc:448: return; On 2016/02/17 19:44:06, aseemgarg wrote: > get ...
4 years, 10 months ago (2016-02-19 07:16:53 UTC) #13
bradn
Ping? I have a change stacked on top to route the other Math methods thru ...
4 years, 10 months ago (2016-02-22 06:01:17 UTC) #14
aseemgarg
Please see inline comments https://codereview.chromium.org/1702293002/diff/80001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1702293002/diff/80001/src/wasm/asm-wasm-builder.cc#newcode388 src/wasm/asm-wasm-builder.cc:388: current_function_builder_->EmitCode(code, sizeof(code)); move the EmitCode ...
4 years, 10 months ago (2016-02-22 22:15:53 UTC) #15
bradnelson
PTAL https://codereview.chromium.org/1702293002/diff/80001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1702293002/diff/80001/src/wasm/asm-wasm-builder.cc#newcode388 src/wasm/asm-wasm-builder.cc:388: current_function_builder_->EmitCode(code, sizeof(code)); On 2016/02/22 22:15:53, aseemgarg wrote: > ...
4 years, 10 months ago (2016-02-23 09:48:55 UTC) #16
titzer
lgtm https://codereview.chromium.org/1702293002/diff/100001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1702293002/diff/100001/src/wasm/asm-wasm-builder.cc#newcode919 src/wasm/asm-wasm-builder.cc:919: // TODO(bradnelson): Change wasm to match Math.min in ...
4 years, 10 months ago (2016-02-23 15:57:58 UTC) #17
bradn
https://codereview.chromium.org/1702293002/diff/100001/src/wasm/asm-wasm-builder.cc File src/wasm/asm-wasm-builder.cc (right): https://codereview.chromium.org/1702293002/diff/100001/src/wasm/asm-wasm-builder.cc#newcode919 src/wasm/asm-wasm-builder.cc:919: // TODO(bradnelson): Change wasm to match Math.min in asm.js ...
4 years, 10 months ago (2016-02-23 16:17:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702293002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702293002/100001
4 years, 10 months ago (2016-02-23 16:17:40 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-23 16:22:59 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 16:23:37 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/af903021c6d6f7fbd186d1fb82e434e9156d2e50
Cr-Commit-Position: refs/heads/master@{#34218}

Powered by Google App Engine
This is Rietveld 408576698