Getting Started with Unison
Unison is a simple, flexible, and potentially optimal software tool that performs register allocation and instruction scheduling in integration using combinatorial optimization.
apt-get install haskell-platform libqt4-dev libgraphviz-dev
The source of Gecode can be fetched with:
Just go to the
src directory and run:
Unison contains a test suite with a few functions where different targets and optimization goals are exercised. To execute the tests just run:
The building process generates three binaries. The installation process consists
in copying the binaries into the appropriate system directory. To install the
binaries under the default directory
usr/local just run:
The installation directory is specified by the Makefile variable
install the binaries under an alternative directory
$DIR just run:
make install PREFIX=$DIR
Unison can be run as a standalone tool but is only really useful as a complement
to a full-fledged compiler such as LLVM. Our LLVM
fork includes a Unison driver built on top
llc code generator. To try it out, just clone the LLVM fork and
follow the instructions in the
README.md file from any of the branches with a
Unison is licensed under the BSD3 license, see the LICENSE.md file for details.
Check the Unison website.