Skip to content


Subversion checkout URL

You can clone with
Download ZIP
"libcpu" is an open source library that emulates several CPU architectures
C++ C Scala Assembly Python Shell
Branch: master

x86: Fix decode_rel to use rel_data

Signed-off-by: Pekka Enberg <>
latest commit d624f5863f
@penberg penberg authored
Failed to load latest commit information.
CMake CMake: Simplify llvm-config search
arch x86: Fix decode_rel to use rel_data
libcpu Fix LLVM function attributes
test x86: MOV immediate -> register/memory
upcl Fix missing <stddef.h> includes
.travis.yml Use PPA for LLVM 3.3 packages
CMakeLists.txt CMakeLists: Don't build the upcl module
LICENSE.txt err 2010 is in 2 days...
Makefile add extra warnings, also recreate the build directory if Add project summary to README
TODO Test commit.


Build Status

Libcpu logo

"libcpu" is an open source library that emulates several CPU architectures, allowing itself to be used as the CPU core for different kinds of emulator projects. It uses its own frontends for the different CPU types, and uses LLVM for the backend. libcpu is supposed to be able to do user mode and system emulation, and dynamic as well as static recompilation.


CMake version 2.8 or higher is required.

On Ubuntu:

sudo apt-get install flex bison libreadline-dev

On Fedora:

sudo yum install flex bison readline-devel

To build libcpu:



To run the x86 front-end tests:



Copyright (c) 2009-2010, the libcpu developers

Libcpu is distributed under the 2-clause BSD license.

Something went wrong with that request. Please try again.