Added support for one big regression test.

This commit is contained in:
Jean-Paul Chaput 2012-05-02 14:52:48 +00:00
parent aac539856b
commit 6d1d235333
6 changed files with 65 additions and 27 deletions

View File

@ -2,10 +2,10 @@
for B in addaccu16 adder4 amd2901 amd2901-vasy digi divcas4 \
multi16b-reg multi4b multi8 multi8b pgcd sqrt32 sqrt8 \
mipsR3000 hadamard
mipsR3000
do
if [ -d $B ]
then echo "----- BENCH $B ----- "
(cd $B && make clean && make)
(cd $B && make clean && make ALLIANCE_EXAMPLES=/dsk/l1/alliance/alliance/src/documentation/alliance-examples)
fi
done

View File

@ -0,0 +1,8 @@
all:
cd sce; make
cd asm; ./go-all.sh
clean:
cd sce; make clean

View File

@ -1,7 +1,7 @@
-- description generated by Pat driver
-- date : Mon May 24 00:00:10 2004
-- date : Tue May 1 19:36:58 2012
-- revision : v109
-- sequence : mips_cpu
@ -56,18 +56,18 @@ begin
-- c _ c _ c c
-- c c
< 0 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?3fc00080 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 50000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?3fc00080 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 100000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?3fc00080 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 150000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?3fc00080 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 200000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 250000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 300000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 350000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 400000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 450000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 500000 ps> : 0 0 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 550000 ps> : 0 0 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 0 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?uuuuuuuu ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 50000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?uuuuuuuu ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 100000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?uuuuuuuu ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 150000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?00000000 ?00000000 ?uuuuuuuu ?uuuuuuuu ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 200000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?u ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 250000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?u ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 300000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?u ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 350000 ps> : 0 1 0 0 0 1 0 ?1 ?00 ?0 ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?uuuuuuuu ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?u ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 400000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 450000 ps> : 1 1 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?bfc00000 ?111111 ?0 ?0 ?0 ?1 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 500000 ps> : 0 0 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?bfc00000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 550000 ps> : 0 0 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?bfc00000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;
< 600000 ps> : 1 0 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?00000000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 650000 ps> : 1 0 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?00000000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?1 ?1 ;
< 700000 ps> : 0 0 0 0 0 1 0 ?1 ?00 ?0 ?3c1ec000 ?bfc00000 ?bfc00000 ?3c1ec000 ?00000000 ?111111 ?0 ?0 ?0 ?0 ?0 ?00 ?1 ?1 ?0000000000000000 ?1111111111111111 ?0 ?0 ;

View File

@ -20,13 +20,12 @@ begin
with address (5 downto 0) select
rom_out <=
X"2001000a" when B"000000",
X"20020002" when B"000001",
X"00411820" when B"000010",
X"2005000c" when B"000011",
X"10a3002f" when B"000100",
X"08100036" when B"000101",
X"00000021" when B"000110",
X"3801002d" when B"000000",
X"283e002d" when B"000001",
X"13c00031" when B"000010",
X"00000021" when B"000011",
X"08100036" when B"000100",
X"00000021" when B"000101",
X"08100034" when B"110100",
X"00000021" when B"110101",
X"08100036" when B"110110",

View File

@ -1,4 +1,6 @@
TECHNO_REAL = prol10
ALLIANCE_TOP ?= /usr/lib/alliance
TECHNO_REAL = prol10
#
@ -11,12 +13,20 @@
STANDART_BIN = /usr/local/bin:/labo/gnu/bin:/usr/bin:/bin
STANDART_PATH = PATH=$(STANDART_BIN); export PATH
ifeq ($(ALLIANCE_TOP),/usr/lib/alliance)
# Standart Alliance binary access paths.
ALLIANCE_BIN = /usr/bin
SYSCONF_TOP = /etc/alliance
CELLS_TOP = /usr/share/alliance/cells
ALLIANCE_BIN = /usr/bin
SYSCONF_TOP = /etc/alliance
CELLS_TOP = /usr/share/alliance/cells
ALLIANCE_EXAMPLES = /usr/share/doc/alliance-doc-5.0/alliance-examples
else
ALLIANCE_TOP = $(HOME)/alliance/Linux.slsoc6x/install
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
SYSCONF_TOP = $(ALLIANCE_TOP)/etc
CELLS_TOP = $(ALLIANCE_TOP)/cells
endif
ALLIANCE_EXAMPLES = /usr/share/doc/alliance-doc-5.0/alliance-examples
# --------------------------------------------------------------------
# Standarts binaries.

View File

@ -0,0 +1,21 @@
#!/bin/sh
if [ -z "$ALLIANCE_TOP" ]; then
ALLIANCE_TOP="${HOME}/alliance/Linux.slsoc6x/install"
alcEnv="${ALLIANCE_TOP}/etc/profile.d/alc_env.sh"
if [ ! -d "${alcEnv}" ]; then
alcEnv="${ALLIANCE_TOP}/etc/alc_env.sh"
else
echo "[ERROR] Cannot find alc_env.sh."
exit 1
fi
. ${alcEnv}
fi
pushd alliance-run
./bench.sh
popd
pushd alliance-examples
./go-all.sh
popd