aseemgarg
cd646f88a1
refactor BlockVisitor in asm to wasm and fix tests
...
TEST=asm-wasm.js
R=titzer@chromium.org ,bradnelson@google.com
BUG=
Review URL: https://codereview.chromium.org/1584573002
Cr-Commit-Position: refs/heads/master@{#33253}
2016-01-12 21:59:53 +00:00
titzer
995c9fe3dc
[wasm] Rename the WASM object to _WASMEXP_.
...
R=ahaas@chromium.org ,bradnelson@chromium.org
LOG=Y
BUG=chromium:575167
Review URL: https://codereview.chromium.org/1577803002
Cr-Commit-Position: refs/heads/master@{#33251}
2016-01-12 20:16:46 +00:00
titzer
ed6fea15a9
[wasm] Fix double to int conversions.
...
R=ahaas@chromium.org
LOG=Y
BUG=chromium:576560
Review URL: https://codereview.chromium.org/1574063005
Cr-Commit-Position: refs/heads/master@{#33239}
2016-01-12 13:47:01 +00:00
titzer
d672ee30c9
[wasm] Fix empty asm.js function in ASM->WASM.
...
R=ahaas@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1574263002
Cr-Commit-Position: refs/heads/master@{#33238}
2016-01-12 13:34:19 +00:00
aseemgarg
210e65ed12
Add switch to asm to wasm
...
TEST=asm-wasm.js
R=titzer@chromium.org ,bradnelson@google.com
BUG=
Review URL: https://codereview.chromium.org/1573413002
Cr-Commit-Position: refs/heads/master@{#33220}
2016-01-12 02:02:51 +00:00
aseemgarg
7fdb0da001
Add do-while and conditional and mark non asm nodes as unreachable
...
TEST=asm-wasm.js
R=titzer@chromium.org ,bradnelson@chromium.org
BUG=
Add for loop to asm-to-wasm
TEST=asm-wasm.js
R=titzer@chromium.org ,bradnelson@google.com
Review URL: https://codereview.chromium.org/1530093002
Cr-Commit-Position: refs/heads/master@{#33101}
2016-01-04 23:47:08 +00:00
bradnelson
98d4fbfb2d
Add --enable-wasm to wasm tests.
...
In preparation for switching wasm from a compile to
a runtime option, add the runtime flag to all mjsunit tests.
R=ahaas@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1537643002
Cr-Commit-Position: refs/heads/master@{#32938}
2015-12-17 10:54:55 +00:00
aseemgarg
1c8130bd89
Add for loop to asm-to-wasm
...
TEST=asm-wasm.js
R=titzer@chromium.org ,bradnelson@google.com
BUG=
Review URL: https://codereview.chromium.org/1523843003
Cr-Commit-Position: refs/heads/master@{#32895}
2015-12-16 12:10:33 +00:00
bradnelson
40cb3ce5f9
Adding OWNERS files to test directories for wasm.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1526623002
Cr-Commit-Position: refs/heads/master@{#32839}
2015-12-14 14:22:15 +00:00
bradnelson
ff0cc4a4c1
Reland addition of init function for asm->wasm.
...
This relands this, in it's new home:
032faa8a90
R=titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1522473002
Cr-Commit-Position: refs/heads/master@{#32798}
2015-12-11 14:10:00 +00:00
titzer
4c5b3609fd
Initial import of v8-native WASM.
...
As discussed in person, this adds the code from v8-native-prototype into
V8 proper, guarded by GYP flags that do not build the code by default.
Passing wasm=on to 'make' or setting v8_wasm as a GYP flag activates
building of this code.
An additional header file is added to and exported from the compiler
directory, src/compiler/wasm-compiler.h. This exposes a limited interface
with opaque Node and Graph types to the decoder to build TF graphs, as
well as functions to compile WASM graphs.
The mjsunit tests added are blacklisted because they fail without the
WASM object exposed to JS, which is also disabled by the build config
option.
This corresponds closely to 5981e06ebc
, with some formatting fixes and moving some files into src/compiler.
R=mstarzinger@chromium.org , bradnelson@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1504713014
Cr-Commit-Position: refs/heads/master@{#32794}
2015-12-11 12:27:05 +00:00