Skip to content

snippy-3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Jun 15:47
· 132 commits to main since this release

The binaries are built against LLVM 21.1.8 and tested on Ubuntu 24.04 LTS and Rocky 8

New Features

  • Added initial AArch64 support to llvm-snippy.
  • Added support for histogram-based generation patterns.
  • Implemented a basic block layout scheme.
  • Added support for memory initialization.
  • Implemented basic self-modifying code generation.
  • Added random scheduling deoptimization, which reorders generated instructions while preserving the final architectural state.
  • Implemented the Snippy Trace Format (SNTF).

Improvements

  • Added support for regular expressions in register reservation rules.
  • Added configuration support for per-opcode operand reinitialization.
  • Added support for stack-relative instructions when redefine-sp is used together with honor-target-abi.
  • Added support for vector instructions in burst mode.
  • Added support for non-intersecting RVV memory accesses for strided stores.
  • Added VXRM randomization support for RVV.
  • Added support for per-operand immediate histograms.
  • Allowed X0 to be used as a base address register.
  • Added bit-range support for value histograms.
  • Allowed return address redefinition.
  • Added the preserve-ra option.
  • Implemented immediate randomization for JALR, C_JALR, and C_JR.
  • Added support for the Zmmul extension.
  • Added support for the Zcmp extension.
  • Added initial support for the Zcmt extension.
  • Allowed mode-change-bias::P in RVV configurations to be deduced from the histogram.
  • Implemented base register groups in burst mode.

Fixes

  • Avoid reserving SP when a stack area is specified, unless such reservation is required.
  • Canonicalized lld paths and simplified relative path lookup.
  • Added support for arbitrary instructions in custom burst groups.
  • Added diagnostics for invalid target triples.
  • Fixed generation when the histogram contains only calls and branches.
  • Report all-zero and negative vl/vm weights in the RISC-V vector unit as configuration errors.
  • Fixed access size handling for atomic instructions.
  • Added support for strided and indexed vector loads and stores in burst mode.
  • Fixed sign and zero extension in valuegram handling.
  • Made the configured VLMAX value compliant with the RVV specification.
  • Fixed unintended instruction compression in the RISC-V backend.
  • Fixed 32-bit address overflow.
  • Fixed RVV burst generation to take the RVV configuration into account when selecting opcodes.