/usr/share/doc/stalin/benchmarks/compile-and-run-stalin-benchmark is in stalin 0.11-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/bin/sh
unset noclobber
ulimit -s unlimited
ulimit -c 0
case `uname -m` in
i[3456]86)
s="-d0 -d1 -d5 -d6 -Ob -Om -On -Or -Ot -k -architecture IA32"
c="-copt -O3 -copt -fomit-frame-pointer -copt -Wall -copt -freg-struct-return";;
sun4*)
s="-d0 -d1 -d5 -d6 -Ob -Om -On -Or -Ot -k -architecture SPARC"
c="-copt -O3 -copt -fomit-frame-pointer -copt -Wall -copt -freg-struct-return";;
IP*)
s="-d0 -d1 -d5 -d6 -Ob -Om -On -Or -Ot -k -architecture MIPS"
c="-copt -O3 -copt -fomit-frame-pointer -copt -Wall -copt -freg-struct-return";;
alpha)
s="-d0 -d1 -d5 -d6 -Ob -Om -On -Or -Ot -k -architecture Alpha"
c="-copt -O3 -copt -fomit-frame-pointer -copt -Wall -copt -ieee";;
*)
echo "Cannot (yet) run Stalin on this architecture"
esac
o="$s $c"
echo compile $1
sed -f stalin.sed $1.sc >$1-stalin.sc
time ../stalin $o $2 $1-stalin
echo run $1
time ./$1-stalin >/dev/null
|