Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | interpreter debug and asserts fixing | Alon Zakai | 2016-09-07 | 1 | -29/+5 | |
| | ||||||
* | SetGlobal should not return a value | Alon Zakai | 2016-09-07 | 1 | -1/+1 | |
| | ||||||
* | call_indirect is now structural, so no need to pass the type name around | Alon Zakai | 2016-09-07 | 1 | -2/+2 | |
| | ||||||
* | loops no longer have an out label and other upstream loop updates | Alon Zakai | 2016-09-07 | 1 | -2/+1 | |
| | ||||||
* | call_indirect now has the target at the end | Alon Zakai | 2016-09-07 | 1 | -2/+2 | |
| | ||||||
* | add drop and tee expressions | Alon Zakai | 2016-09-07 | 1 | -3/+9 | |
| | ||||||
* | Merge pull request #668 from WebAssembly/tables_n_memories | Alon Zakai | 2016-08-16 | 1 | -17/+10 | |
|\ | | | | | Tables and memories | |||||
| * | offset support in table | Alon Zakai | 2016-08-15 | 1 | -14/+7 | |
| | | ||||||
| * | support expressions in segment offsets | Alon Zakai | 2016-08-12 | 1 | -3/+3 | |
| | | ||||||
* | | interpreter debugging fixes (#672) | Alon Zakai | 2016-08-15 | 1 | -11/+13 | |
|/ | ||||||
* | in DemoteFloat64, if the truncated value is exactly at the limit, return it ↵ | Alon Zakai | 2016-08-08 | 1 | -0/+6 | |
| | | | | | (#665) and update spec tests | |||||
* | support wasm globals (#650) | Alon Zakai | 2016-07-21 | 1 | -0/+42 | |
| | ||||||
* | fix wasm interpreter bug on checking indirect call params | Alon Zakai | 2016-06-29 | 1 | -2/+4 | |
| | ||||||
* | Merge pull request #590 from WebAssembly/precompute | Alon Zakai | 2016-06-18 | 1 | -413/+429 | |
|\ | | | | | Precompute expressions at compile time when possible | |||||
| * | add a precompute pass | Alon Zakai | 2016-06-18 | 1 | -37/+1 | |
| | | ||||||
| * | refactor interpreter code to provide expression executors for both ↵ | Alon Zakai | 2016-06-18 | 1 | -411/+463 | |
| | | | | | | | | standalone and full funtime execution | |||||
* | | fix interpreter on indirect calls, do arguments before checking and doing ↵ | Alon Zakai | 2016-06-17 | 1 | -3/+3 | |
|/ | | | | the call (they might flow) | |||||
* | make call_indirect type a name, so that it is not a dependency on the ↵ | Alon Zakai | 2016-06-03 | 1 | -1/+1 | |
| | | | | module, which would break consistency and make some parallel passes tricky (#568) | |||||
* | trap on invalid call_indirects with bad arguments when no type provided | Alon Zakai | 2016-06-03 | 1 | -0/+4 | |
| | ||||||
* | handle stack frames we skip over by jumping up the stack, and update wasm.js | Alon Zakai | 2016-06-01 | 1 | -16/+25 | |
| | ||||||
* | store locals in a vector in the interpreter and update wasm.js. also fix ↵ | Alon Zakai | 2016-05-18 | 1 | -10/+11 | |
| | | | | address usage in wasm.js | |||||
* | use separate internal opcodes for binary variants | Alon Zakai | 2016-05-18 | 1 | -63/+63 | |
| | ||||||
* | use separate internal opcodes for unary variants | Alon Zakai | 2016-05-18 | 1 | -22/+22 | |
| | ||||||
* | Introduce a separate type for linear memory addresses (#477) | Derek Schuff | 2016-05-11 | 1 | -6/+6 | |
| | | | | | | | We've been using size_t (and other things) for addresses, which is generally wrong because it depends on the host, when it should in fact depend on the target. This is a partial fix for #278 (i.e. it's the right fix, I don't think it's applied quite everywhere yet). | |||||
* | Harmonize the internal opcodes with the binary format (#433) | Alon Zakai | 2016-05-03 | 1 | -12/+20 | |
| | | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API | |||||
* | f32.demote/f64 fix UB (#423) | JF Bastien | 2016-05-02 | 1 | -1/+8 | |
| | | | Another fix for #404. | |||||
* | Fix {i32,i64}.trunc_{s,u}/{f32,f64} in interpreter (#421) | Ben Smith | 2016-05-02 | 1 | -8/+22 | |
| | | | | Check the binary representation of the float instead of converting it to a float first. | |||||
* | grow_memory now returns in units of page size | Alon Zakai | 2016-04-18 | 1 | -1/+1 | |
| | ||||||
* | current_memory now returns in units of page size | Alon Zakai | 2016-04-18 | 1 | -1/+1 | |
| | ||||||
* | update MemorySize => CurrentMemory | Alon Zakai | 2016-04-18 | 1 | -1/+1 | |
| | ||||||
* | fix br_table order of evaluation, the value is first | Alon Zakai | 2016-04-18 | 1 | -9/+8 | |
| | ||||||
* | index locals, so that get_local and set_local have just an index, and local ↵ | Alon Zakai | 2016-04-18 | 1 | -13/+16 | |
| | | | | names are kept on the Function object (#354) | |||||
* | rename function locals, to params and vars, which together are all the ↵ | Alon Zakai | 2016-04-14 | 1 | -1/+1 | |
| | | | | locals. preparation for #336 (#349) | |||||
* | De-recurse traversals (#333) | Alon Zakai | 2016-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | * refactor core walking to not recurse * add a simplify-locals test * reuse parent's non-branchey scan logic in SimpleExecutionWalker, reduce code duplication * update wasm.js * rename things following comments | |||||
* | trap on bad callExport, don't assert | Alon Zakai | 2016-04-04 | 1 | -1/+1 | |
| | ||||||
* | clean up callExport types | Alon Zakai | 2016-04-04 | 1 | -1/+1 | |
| | ||||||
* | add apis for accessing module elements | Alon Zakai | 2016-04-04 | 1 | -4/+4 | |
| | ||||||
* | Fix the build with GCC 5.3.1 and Clang 3.8.0. | Csaba Osztrogonác | 2016-03-31 | 1 | -2/+2 | |
| | | | | Fixes #299 | |||||
* | Clean up src\wasm-interpreter.h(644): warning C4244: 'initializing': ↵ | Jukka Jylänki | 2016-03-28 | 1 | -2/+2 | |
| | | | | conversion from 'double' to 'int64_t', possible loss of data. | |||||
* | Clean up src\wasm-interpreter.h(307): warning C4244: 'argument': conversion ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | from 'int64_t' to 'unsigned int', possible loss of data | |||||
* | Clean up src\wasm-interpreter.h(286): warning C4800: 'int64_t': forcing ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | value to bool 'true' or 'false' (performance warning) | |||||
* | Fix function trapIfGt() to operate on 64-bit integers even when building a ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | 32-bit executable. | |||||
* | update spec tests, and new memory page size usage | Alon Zakai | 2016-03-25 | 1 | -13/+12 | |
| | ||||||
* | add function stack printing in interpreter | Alon Zakai | 2016-03-23 | 1 | -0/+16 | |
| | ||||||
* | fix float to int trap text | Alon Zakai | 2016-03-20 | 1 | -2/+2 | |
| | ||||||
* | update spec tests and support eqz | Alon Zakai | 2016-03-19 | 1 | -0/+2 | |
| | ||||||
* | de-recurse operations on nested blocks | Alon Zakai | 2016-03-10 | 1 | -3/+24 | |
| | ||||||
* | Implement rotates | Derek Schuff | 2016-03-09 | 1 | -0/+4 | |
| | ||||||
* | Make initial and max memory sizes be in pages instead of bytes | Derek Schuff | 2016-03-09 | 1 | -1/+1 | |
| | | | | | | | The AST and everything that uses it treats the values as pages. Javascript continues to use bytes. This matches v8 and sexpr-wasm, and the consensus from live discussion and PR209 in the spec. | |||||
* | br_table, no more cases | Alon Zakai | 2016-03-07 | 1 | -28/+12 | |
| |