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

[ bsd3, code-generation, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1, 0.1.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, 0.4.6.1, 0.4.6.2, 0.4.6.3
Change log CHANGELOG.md
Dependencies base (>=4.8 && <4.14), deepseq, monads-tf (>=0.1 && <0.2), tardis (>=0.4 && <0.5), vector (>=0.11 && <0.13), Win32 [details]
Tested with ghc ==8.0.1
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 2020-03-06T10:12:27Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 9981 total (64 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 2020-03-06 [all 1 reports]

Readme for x86-64bit-0.4.6

[back to package description]

x86-64

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

Features:

  • 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