macel 0.0.0

Multi-Architecture Code Emission Library
Documentation
  • Coverage
  • 0%
    0 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 1.53 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 961.79 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • merryhime

macel

Multi-Architecture Code Emission Library (macel) is a library which implements a low-level intermediate representation meant to expose machine-level details such as registers, intended for use as a compiler backend.

Macel functions are represented with a Proc which represents a CFG of basic blocks. Each block comprises of a sequence of Insts.

Macel is intended as superset of the supported architectures: Instructions from all possible target CPUs are representable. Users of this library are able to query whether each instruction form is valid for a given backend and pick the appropriate form. If such control is not required and performance is not a concern, renormalization can be done so that the instruction is appropriately emulated on the target.