Skip to content

acctress/amd64

Repository files navigation

amd64

A C++ JIT compiler, a port of zjit targeting x86_64.

Overview

amd64 is a just-in-time compiler emitting native x86-64 machine code at runtime, which is a port of my Zig JIT compiler zjit.

Features

  • Executable memory allocation
    • Windows
    • Linux
  • x86-64 instruction encoding
  • SSA IR
  • Linear scan register allocation

Building

Requirements

  • C++23 compiler
  • CMake 3.2x

Build

$ git clone https://github.com/acctress/amd64
$ cd amd64
$ cmake -B build
$ cmake --build build

License

MIT

About

A C++ JIT compiler, a port of zjit targeting x86-64.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors