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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
# Pierre Nguyen Tuong
# 19 octobre 1999
# Makefile pour l'automate ; verification des misc
#
# Derniere modification : 19 octobre 1999
# Version : 1.0
#
tests : misc
misc : brk mftc0 mfthi mftlo syscall
brk:
@echo "**************************************************************************" >> res_test ; \
cp break_00.e rome.e ; \
mips_asm rome.e rome toto > /dev/null ; \
cp break_00.u rome.u ; \
mips_asm rome.u romu toto > /dev/null ; \
./go-bench.sh break_00 > tmp_test ; \
cat tmp_test ; \
cat tmp_test >> res_test ; \
echo "test de break" >> res_test ; \
echo "test de break"
mftc0:
@cp mftc0_00.e rome.e ; \
mips_asm rome.e rome toto > /dev/null ; \
cp mftc0_00.u rome.u ; \
mips_asm rome.u romu toto > /dev/null ; \
./go-bench.sh mftc0_00 > tmp_test ; \
cat tmp_test ; \
cat tmp_test >> res_test ; \
echo "test de mftc0" >> res_test ; \
echo "test de mftc0"
mfthi:
@cp mfthi_00.e rome.e ; \
mips_asm rome.e rome toto > /dev/null ; \
cp mfthi_00.u rome.u ; \
mips_asm rome.u romu toto > /dev/null ; \
./go-bench.sh mfthi_00 > tmp_test ; \
cat tmp_test ; \
cat tmp_test >> res_test ; \
echo "test de mfthi" >> res_test ; \
echo "test de mfthi"
mftlo:
@cp mftlo_00.e rome.e ; \
mips_asm rome.e rome toto > /dev/null ; \
cp mftlo_00.u rome.u ; \
mips_asm rome.u romu toto > /dev/null ; \
./go-bench.sh mftlo_00 > tmp_test ; \
cat tmp_test ; \
cat tmp_test >> res_test ; \
echo "test de mftlo" >> res_test ; \
echo "test de mftlo"
syscall:
@cp syscall_00.e rome.e ; \
mips_asm rome.e rome toto > /dev/null ; \
cp syscall_00.u rome.u ; \
mips_asm rome.u romu toto > /dev/null ; \
./go-bench.sh syscall_00 > tmp_test ; \
cat tmp_test ; \
cat tmp_test >> res_test ; \
echo "test de syscall" >> res_test ; \
echo "test de syscall"
|