summaryrefslogtreecommitdiff
path: root/.gitmodules
Commit message (Collapse)AuthorAgeFilesLines
* wasm2c: add SIMD support (#2119)Willy R. Vasquez2023-01-291-0/+3
| | | This change incorporates [simd-everywhere](https://github.com/simd-everywhere/simde) into the wasm2c output, which maps wasm SIMD C intrinsics to any supported target architecture.
* wasm2c: serialize types at wasm2c-time (#2120)Keith Winstein2023-01-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This makes wasm2c serialize each function type, rather than registering function types at module-initialization time. The serialized function type is the SHA-256 of the mangled param and result types (with a space between params and results). At runtime in call_indirect, a known (immediate) function type is compared against the function type stored in a funcref structure. For call_indirects to functions local to the module, or for any call_indirect when the toolchain merges string constants across compilation units (generally, GCC and clang), this can be done by comparing the pointers to each function type. Otherwise, the actual 32-byte values are compared. The function type IDs can be looked up at runtime with `Z_[modname]_get_func_type`, which matches the API from `wasm_rt_register_func_type`. A new `callback` example demos this. wasm2c does the SHA-256 either by linking against libcrypto or, if not available or if requested via `cmake -DUSE_INTERNAL_SHA256=ON`, by using a vendored (header-only) PicoSHA2. There is no runtime dependency on SHA-256 in the wasm2c runtime or generated modules. This eliminates the last of the per-module state, so this commit also removes the [modname]_init_module() function and the s_module_initialized bool.
* update uvwasi repo (#1597)Colin Ihrig2021-01-291-1/+1
| | | | uvwasi was transferred into the Node.js GitHub org. This commit updates the project's source repo.
* Add initial MVP of WASI API support to wasm-interp (#1411)Sam Clegg2020-05-121-0/+3
| | | | | | | | | | This is proof of concept that only implements the `proc_exit` and `fd_write` APIs. Extending this to the full WASI API will to follow assuming this approach seems reasonable. Fixes #1409
* Initial WASM C API implementation. (#1250)Sam Clegg2020-01-161-0/+3
| | | | All tests except `threads` pass.
* remove squirrel stuffBen Smith2016-09-061-3/+0
| | | | It was an interesting experiment, but it is not maintained or tested.
* remove JavaScript engine testing (#89)Ben Smith2016-06-171-3/+0
| | | | | It's not really the appropriate place to handle it. Now that we have wasm-wast and wasm-interp, we can at least verify that the tools are internally consistent.
* copy FindRE2C.cmake from CMakeXFindBen Smith2016-05-051-3/+0
| | | | | This makes it easier to build for users who don't run `git submodule update --init`.
* add {run-,}gen-wasm.py; used to generate .wasmBen Smith2016-04-271-0/+3
| | | | These will be useful for testing the binary reader.
* lex using re2c instead of flexBen Smith2016-04-211-0/+3
|
* squirrel interpreter works for simple casesBen Smith2016-04-111-0/+3
| | | | It's pretty clunky though
* rewrite hexfloat_test w/ gtestBen Smith2016-03-191-0/+3
|
* use upstream v8 instead of v8-native-prototypeBen Smith2015-12-171-3/+3
|
* use the testsuite repo for spec testsBen Smith2015-11-041-3/+3
|
* add spec repo as submoduleBen Smith2015-09-251-0/+3
|
* v8-native-prototype submoduleBen Smith2015-09-081-0/+3
Also added script to build d8 from source