#!/bin/sh set -e for test in INLINE_DIV PATCHED_DIV OUTOFLINE_DIV LIBGCC_DIV; do gcc -o divtest_$test divtest.S -D$test echo "Testing $test ..." time ./divtest_$test echo rm -f divtest_$test done