* COP2 testing changes.

[ChangeLog]

Mon Apr 13 16:51:00 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* Makefile.in (*): Added .vuout/.vuexpect/.vuok test targets
	for confirming VU instruction trace.
	(t-cop2): Test COP2 sim using above facility.

	* t-cop2.vuexpect: New file.
This commit is contained in:
Frank Ch. Eigler 1998-04-13 20:55:26 +00:00
parent 991e950245
commit 1e83118b79
4 changed files with 1550 additions and 3 deletions

View File

@ -211,6 +211,7 @@ sce_test9.vuasm
sce_test9_out_gif.dat
sky.ld
t-cop2.s
t-cop2.vuexpect
t-dma.c
t-pke2.trc
t-pke2.vif1expect

View File

@ -1,3 +1,11 @@
Mon Apr 13 16:51:00 1998 Frank Ch. Eigler <fche@cygnus.com>
* Makefile.in (*): Added .vuout/.vuexpect/.vuok test targets
for confirming VU instruction trace.
(t-cop2): Test COP2 sim using above facility.
* t-cop2.vuexpect: New file.
Thu Apr 9 16:26:17 1998 Frank Ch. Eigler <fche@cygnus.com>
* t-pke3.trc: Additional test for MASK=0 MODE=2 UNPACK.

View File

@ -88,9 +88,9 @@ GCC_FOR_TARGET = `\
C_GEN = perl $(srcdir)/c_gen.pl
.SUFFIXES: .trc .c .run .ok \
.vif0out .vif0ok \
.vif0expect \
.vif0out .vif0ok .vif0expect \
.vif1out .vif1ok .vif1expect \
.vuout .vuok .vuexpect \
.uu \
.dvpasm .vuasm
@ -109,7 +109,7 @@ TESTS = \
tsv408_0.ok tsv408_1.ok \
tsv416_0.ok tsv416_1.ok \
tsv432_0.ok tsv432_1.ok \
t-cop2.ok
t-cop2.vuok
#SCE_TESTS := $(patsubst %.dvpasm, %.ok, $(wildcard sce*.dvpasm))
SCE_TESTS = \
@ -206,6 +206,9 @@ sce%.ok: sce%.exe
.vif1out.vif1ok:
diff $(srcdir)/$*.vif1expect $<
touch $@
.vuout.vuok:
diff $(srcdir)/$*.vuexpect $<
#------------------------------------
# Rules for building the TESTS
@ -223,6 +226,9 @@ sce%.ok: sce%.exe
.run.vif1out:
rm -f $@
-env VIF1_TRACE_FILE=$@ $(RUN_FOR_TARGET) $<
.run.vuout:
rm -f $@
-env SKY_DEBUG=inst_trace $(RUN_FOR_TARGET) $< > $@
.s.run:
rm -f $@
$(AS_FOR_TARGET) -mcpu=r5900 -o $@ $<

File diff suppressed because it is too large Load Diff