Repository navigation
Release 2.2.1
New Features
- Extended the persistent array interfaces to allow bulk update by byte generators. This avoids creating redundant historic versions of memories and should result in a slight speedup in memory update operations.
- Added an experimental host in OCaml containing a clock function for running benchmarks.
- Normalised binary arithmetic import to
ZArithonly in all files that are part of the extraction. - Added a Nix configuration built with
coq-nix-toolboxwith CI for Rocq 9.0-9.2. (#97, @womeier)
Improvements
- Bumped the Rocq version to support 9.0-9.2.
- Improved extraction of several numeric operations which were missed due to having two integer modules in the export (which might be hinting at a different problem under the hood).
- Avoided redundant calls to
split_vals_efrom the context update functionctx_update_valid_ccsin extraction. - Improved the batch testing script to run test files in parallel and reduced tmpfiles generation.
- Improved several brute force tactics to now match a general number of arguments.
Refactorings
- Removed dependency on the Uint63 module. The persistent array module now uses OCaml's
intinstead, which is 63-bit on 64-bit OCaml. A shim file is added to facilitate conversion between the extracted integer typeZ.tandint(since some of OCaml'sArrayoperations only takeintas arguments). - Refactored the parametric persistent array interface into a typeclass in a standalone file.
- Updated import syntaxes for Rocq 9.0+ to resolve deprecation warnings.
Bugfixes
- Corrected an erroneous type alias used in simd vector operations.
- Fixed a bug where the signed LEB128 encoder mishandled negative integers whose magnitude occupies a multiple of 7 bits (#83).
- Fixed
rect'_build_projectionfailing to generate the correct eliminator for lists in some cases. - Fixed a parser typo where
return_call/return_call_indirectare incorrectly parsed (#96, @womeier). - Fixed a bug where the parray interface assumed two inconsistent axioms (#99, @logan-gatlin).
- Added an early return for
Parray.set_genwhen the block length is zero to guard for the requirement stated inParray.mli.
What's Changed
- bump ci to 9.0 by @raoxiaojia in #79
- Fix typo of a type signature in
simd_execute.vby @yoshihiro503 in #81 - Persistent array updates with block generators by @raoxiaojia in #80
- Benchmark and extraction improvements by @raoxiaojia in #82
- bugfix for signed leb128 encoding of negative numbers at 7-bit boundaries by @raoxiaojia in #84
- tmp fix for incompatibility between compcert and menhir by @raoxiaojia in #85
- Avoided unnecessary operations in context update by @raoxiaojia in #86
- Misc updates for Rocq 9.x and infrastructural refacorings by @raoxiaojia in #88
- Tactic generalisation and fixes by @raoxiaojia in #89
- Vendor necessary compcert numerics files for OCaml 5, better CI and test runner by @raoxiaojia in #93
- Fix parser bug/typo by @womeier in #96
- Port the unvendoring from #95 by @raoxiaojia in #98
- Nix config and Rocq 9.2 compatibility by @womeier in #97
- Fix two inconsistent axioms in wasm_parray by @logan-gatlin in #99
- Add a guard for
Parray.set_genand handle changelogs for a new release by @raoxiaojia in #100
New Contributors
- @yoshihiro503 made their first contribution in #81
- @logan-gatlin made their first contribution in #99
Full Changelog: v2.2.0...v2.2.1