summaryrefslogtreecommitdiff
path: root/include/wabt/interp
Commit message (Collapse)AuthorAgeFilesLines
* interp: Implement EHv4 (#2512)Soni L.2024-11-201-0/+2
| | | Continuation of #2470
* Add support for the custom-page-sizes proposal (#2502)Keith Winstein2024-11-082-4/+6
| | | | This adds support in the binary/text parsers and writers, the validator and interpreter, and objdump (but not wasm2c).
* Update testsuite and implement table64 (#2418)Sam Clegg2024-05-151-0/+3
| | | | | See https://github.com/WebAssembly/memory64/issues/51 Includes workaround for #2422
* Share reading/validation code between elem exprs & other const exprs (#2288)Keith Winstein2023-09-061-8/+2
| | | | | | This continues the work from #1783 and reduces special handling of elem exprs, by treating them the same as other const expressions (init expressions).
* C++20 compatibility fixesShravan Narayan2023-07-021-2/+2
|
* Add ARM64 windows compatibility (#2140)Changqing Jing2023-02-091-2/+2
| | | Fixes #2139
* Reduce code duplication in MemcpyEndianAware definition. NFC (#2087)Sam Clegg2022-12-011-10/+10
|
* Implement Relaxed SIMD proposal (#1994)Marcus Better2022-11-301-0/+6
| | | | | | | | This adds support for the new opcodes from the Relaxed SIMD proposal (https://github.com/WebAssembly/relaxed-simd) behind the "--enable-relaxed-simd" flag. The exception is the f32x4.relaxed_dot_bf16x8_add_f32x4 instruction which is not yet implemented.
* interp: Replace condition for including `type` field in `Value` (#2071)Remko Tronçon2022-11-161-1/+2
| | | | | | | | | Value's `type` field was compiled conditionally on the `NDEBUG` define. This causes problems with programs compiling against libwabt that don't define this macro, as the Value layout no longer matches. Using a condition in config.h. Fixes #2069
* Prefer `constexpr` over `static const`. NFC (#2065)Sam Clegg2022-11-152-6/+6
| | | IIUC this is preferred in modern C++ and expresses indent better.
* Convert type checks to assertions in the interpreter. NFC (#2055)Sam Clegg2022-11-111-1/+1
| | | | | | | | All of these checks represent cases where a validation error would prevent the type mismatch. When debugging #2054 this check actually worked against me since it was resulting a false-positive "out-of-bound" error reports when really it was an internal type inconsistency (a bug).
* Fix WITH_WASI build (#2017)Sam Clegg2022-10-061-28/+0
| | | | | Also, make sure we test this configuration. Fixes: #2016
* Move headers to include/wabt/ (#1998)Alex Reinking2022-09-288-0/+3016
This makes things easier for users and packagers of libwabt.