Up to [cvs.NetBSD.org] / pkgsrc / devel / binaryen
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
binaryen: fix PLIST for new test option
binaryen: update to 116. v116 ---- - "I31New" changed to "RefI31" everywhere it appears in the C API and similarly "i31.new" has been replaced with "ref.i31" in the JS API and in printed output (#5930, #3931). - The standard WasmGC opcodes are now on by default (#5873). v115 ---- - The nonstandard, experimental gc-nn-locals feature has been removed now that standard non-nullable locals are supported. (#5080) - Print all debug annotations when `BINARYEN_PRINT_FULL`. (#5904) - Use the standard text format for WasmGC now that things are stable there. (#5894, #5889, #5852, #5801) - Rename multimemory flag to `--multimemory` to match its naming in LLVM. (#5890) - Allow opting into standard GC encodings at compile time. (#5868) - Remove legacy WasmGC instructions. (#5861) - GUFA: Infer using TrapsNeverHappen. (#5850) - Add a pass to reorder functions by name, which can be useful for debugging (e.g. comparisons after optimizations), `--reorder-functions-by-name`. (#5811) - C API: Add `BinaryenAddFunctionWithHeapType` which is like `BinaryenAddFunction` but takes a heap type. The old function is kept for backwards compatibility and as a convenience. (#5829) - Work on new optimization framework using lattices. (#5784, #5794, #5800, #5817, #5831, #5849) - Heap types are now final by default and openness must be opted into both in the text and binary formats as well as in the TypeBuilder API. (#5918)
binaryen: update to 113. v113 ---- - Add a `wasm-merge` tool. This is a full rewrite of the previous `wasm-merge` tool that was removed from the tree in the past. The new version is much simpler after recent improvements to multi-memory and multi-table. The rewrite was motivated by new use cases for merging modules in the context of WasmGC. - Some C and JS API functions now refer to data and element segments by name instead of index. - The `--nominal` and `--hybrid` command line options and related API functions have been removed. The only supported type system is now the standard isorecursive (i.e. hybrid) type system. - Add a "mayNotReturn" effect. - Disable the memory64 feature in Memory64Lowering.cpp. - Disable sign extension in SignExtLowering.cpp.
binaryen: update to 106. v106 ---- - [wasm2js] Support exports of Globals (#4523) - MergeSimilarFunctions optimization pass (#4414) - Various wasm-ctor-eval improvements, including support for GC.
binaryen: update to 103. v103 ---- - The EffectAnalyzer now takes advantage of immutability of globals. To achieve that it must have access to the module. That is already the case in the C++ API, but the JS API allowed one to optionally not add a module when calling `getSideEffects()`. It is now mandatory to pass in the module. - JS and Wasm builds now emit ECMAScript modules. New usage is: ```js import Binaryen from "path/to/binaryen.js"; const binaryen = await Binaryen(); ... ``` - CallIndirect changed from storing a Signature to storing a HeapType
binaryen: update to 102. v102 ---- - Add `BinaryenUpdateMaps` to the C API. - Adds a TrapsNeverHappen mode (#4059). This has many of the benefits of IgnoreImplicitTraps, but can be used safely in more cases. IgnoreImplicitTraps is now deprecated. - Adds type argument for BinaryenAddTable method (#4107). For the binaryen.js api this parameter is optional and by default is set to funcref type. - Replace `BinaryenExpressionGetSideEffects`'s features parameter with a module parameter.
binaryen: update to 100. v100 ---- - `wasm-dis` now supports options to enable or disable Wasm features. - Reference types support has been improved by allowing multiple tables in a module. - `call_indirect` and `return_call_indirect` now take an additional table name parameter. This is necessary for reference types support. - New getter/setter methods have been introduced for `call_indirect` table name: - `BinaryenCallIndirectGetTable` - `BinaryenCallIndirectSetTable` - JS API `CallIndirect.table` - New APIs have been added to add and manipulate multiple tables in a module: - `BinaryenAddTable` - `BinaryenRemoveTable` - `BinaryenGetNumTables` - `BinaryenGetTable` - `BinaryenGetTableByIndex` - `BinaryenTableGetName` - `BinaryenTableGetInitial` - `BinaryenTableHasMax` - `BinaryenTableGetMax` - `BinaryenTableImportGetModule` - `BinaryenTableImportGetBase` - `module.addTable` - `module.removeTable` - `module.getTable` - `module.getTableByIndex` - `module.getNumTables` - `binaryen.getTableInfo`
devel/binaryen: import binaryen-99. Binaryen is a compiler and toolchain infrastructure library for WebAssembly, written in C++. It aims to make compiling to WebAssembly easy, fast, and effective. * Easy: Binaryen has a simple C API in a single header, and can also be used from JavaScript. It accepts input in WebAssembly-like form but also accepts a general control flow graph for compilers that prefer that. * Fast: Binaryen's internal IR uses compact data structures and is designed for completely parallel codegen and optimization, using all available CPU cores. Binaryen's IR also compiles down to WebAssembly extremely easily and quickly because it is essentially a subset of WebAssembly. * Effective: Binaryen's optimizer has many passes (see an overview later down) that can improve code size and speed. These optimizations aim to make Binaryen powerful enough to be used as a compiler backend by itself. One specific area of focus is on WebAssembly-specific optimizations (that general-purpose compilers might not do), which you can think of as wasm minification, similar to minification for JavaScript, CSS, etc., all of which are language-specific.