x86-64bit: Runtime code generation for x86 64 bit machine code

[ bsd3, code-generation, library ] [ Propose Tags ]

The primary goal of x86-64bit is to provide a lightweight assembler for machine generated 64 bit x86 assembly instructions. See README.md for further details.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1, 0.1.1,, 0.1.2, 0.1.3, 0.1.4, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6,,
Change log CHANGELOG.md
Dependencies base (>=4.8 && <4.17), deepseq, monads-tf (>=0.1 && <0.2), tardis (>=0.4 && <0.5), vector (>=0.11 && <0.13), Win32 [details]
License BSD-3-Clause
Author Péter Diviánszky
Maintainer divipp@gmail.com
Category Code Generation
Home page https://github.com/divipp/x86-64
Source repo head: git clone https://github.com/divipp/x86-64
Uploaded by PeterDivianszky at 2021-12-20T10:05:37Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 9244 total (29 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-12-20 [all 1 reports]

Readme for x86-64bit-

[back to package description]


The primary goal of x86-64 is to provide a lightweight assembler for machine generated 64 bit x86 assembly instructions.


  • The size of operands are statically checked. For example, exchanging rax with eax raises a compile time error rather than a code-generation time error. As a consequence, code generation is faster because the sizes are statically known.
  • Quickcheck tests: You can quickcheck your x86 processor! Please report failures, there is a higher chance that the error is in this library rather than in your processor.
  • Immediate values are automatically converted to smaller size if possible.
  • Automatic calculation of short and near distances

The package is available on HackageDB: http://hackage.haskell.org/package/x86-64bit