#!/bin/sh llvm-gcc searchr.c search.c repeat.c next.c nextr.c history.c nexte.c quiesce.c evaluate.c movgen.c make.c unmake.c lookup.c store.c attacks.c swap.c boolean.c draw.c utility.c valid.c drawn.c edit.c enprise.c init.c input.c interupt.c iterate.c main.c option.c output.c phase.c ponder.c preeval.c root.c setboard.c time.c validate.c -o executable -DLINUX_PPC32 -DSPEC_CPU2000; echo "Producing exec_ln..."; llc -stats -f -regalloc=linearscan executable.bc -o ln.s; gcc ln.s -o exec_ln; echo "Producing exec_ch..."; llc -stats -f -regalloc=chordal executable.bc -o ch.s; gcc ch.s -o exec_ch; stats_sh ch.s ln.s; echo "Running exec_ch:"; time ./exec_ch < crafty.in > /dev/null; echo "Running exec_ln:"; time ./exec_ln < crafty.in > /dev/null;