Skip to content

v2.2.1

Latest

Choose a tag to compare

@raoxiaojia raoxiaojia released this 12 Oct 20:30
58a3d3f

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 ZArith only in all files that are part of the extraction.
  • Added a Nix configuration built with coq-nix-toolbox with 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_e from the context update function ctx_update_valid_ccs in 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 int instead, which is 63-bit on 64-bit OCaml. A shim file is added to facilitate conversion between the extracted integer type Z.t and int (since some of OCaml's Array operations only take int as 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_projection failing to generate the correct eliminator for lists in some cases.
  • Fixed a parser typo where return_call/return_call_indirect are 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_gen when the block length is zero to guard for the requirement stated in Parray.mli.

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1