mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* COP2 testing in progress.
Tue Apr 7 18:31:47 1998 Frank Ch. Eigler <fche@cygnus.com> * t-cop2.s: New test for COP2 function. * Makefile.in: Added rule to assemble self-contained R5900 asm tests.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
Tue Apr 7 18:31:47 1998 Frank Ch. Eigler <fche@cygnus.com>
|
||||
|
||||
* t-cop2.s: New test for COP2 function.
|
||||
|
||||
* Makefile.in: Added rule to assemble self-contained R5900 asm tests.
|
||||
|
||||
Tue Apr 7 16:18:46 1998 Ian Carmichael <iancarm@cygnus.com>
|
||||
|
||||
* test41.dvpasm, test42.dvpasm, test43.dvpasm,
|
||||
|
@ -40,8 +40,13 @@ RUNTEST_FOR_TARGET = `\
|
||||
fi; \
|
||||
fi`
|
||||
|
||||
# Note: we want to use dvp-elf-as for the SKY testcase,
|
||||
# not the mips64r5900 one.
|
||||
DVPAS_FOR_TARGET = `\
|
||||
if [ -x ${bindir}/dvp-elf-as ]; then \
|
||||
echo ${bindir}/dvp-elf-as ; \
|
||||
else \
|
||||
echo $(target_alias)-as ; \
|
||||
fi`
|
||||
|
||||
AS_FOR_TARGET = `\
|
||||
if [ -x ${bindir}/dvp-elf-as ]; then \
|
||||
echo ${bindir}/dvp-elf-as ; \
|
||||
@ -50,10 +55,10 @@ AS_FOR_TARGET = `\
|
||||
fi`
|
||||
|
||||
LD_FOR_TARGET = `\
|
||||
if [ -x ../../../ld/ld-new ]; then \
|
||||
echo ../../../ld/ld-new ; \
|
||||
if [ -x ../../../gas/as-new ]; then \
|
||||
echo ../../../gas/as-new ; \
|
||||
else \
|
||||
echo $(target_alias)-ld ; \
|
||||
echo $(target_alias)-as ; \
|
||||
fi`
|
||||
|
||||
OBJCOPY_FOR_TARGET = `\
|
||||
@ -64,7 +69,6 @@ OBJCOPY_FOR_TARGET = `\
|
||||
fi`
|
||||
|
||||
|
||||
|
||||
RUNOPTS =
|
||||
|
||||
RUN_FOR_TARGET = `\
|
||||
@ -104,7 +108,8 @@ TESTS = \
|
||||
tsv332_0.ok tsv332_1.ok \
|
||||
tsv408_0.ok tsv408_1.ok \
|
||||
tsv416_0.ok tsv416_1.ok \
|
||||
tsv432_0.ok tsv432_1.ok
|
||||
tsv432_0.ok tsv432_1.ok \
|
||||
t-cop2.ok
|
||||
|
||||
#SCE_TESTS := $(patsubst %.dvpasm, %.ok, $(wildcard sce*.dvpasm))
|
||||
SCE_TESTS = \
|
||||
@ -148,19 +153,19 @@ sce_main.o: sce_main.c
|
||||
$(GCC_FOR_TARGET) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
refresh.o: refresh.s
|
||||
$(AS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
$(DVPAS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
|
||||
sce_%.o: sce_%.dvpasm sce_%.vuasm
|
||||
$(AS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
$(DVPAS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
|
||||
sce2_%.o: sce2_%.dvpasm sce2_%.vubin
|
||||
$(AS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
$(DVPAS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
|
||||
sce2_%.vubin: sce2_%.vu.o
|
||||
$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
|
||||
sce2_%.vu.o: sce2_%.vuasm
|
||||
$(AS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
$(DVPAS_FOR_TARGET) $(ASFLAGS) -o $@ $<
|
||||
|
||||
sce%.ok: sce%.exe
|
||||
rm -f sce$*.ok
|
||||
@ -171,10 +176,9 @@ sce%.ok: sce%.exe
|
||||
diff -bitw sce$*_out_dif.dat sce$*_our_gif.dat > sce$*.ok; \
|
||||
fi
|
||||
|
||||
|
||||
#------------------------------------
|
||||
# Rules for running the TESTS
|
||||
#------------------------------------
|
||||
#------------------------
|
||||
# Rules for running tests
|
||||
#------------------------
|
||||
|
||||
.run.ok:
|
||||
rm -f tmp-$* $*.hi
|
||||
@ -213,7 +217,8 @@ sce%.ok: sce%.exe
|
||||
.run.vif1out:
|
||||
rm -f $@
|
||||
-env VIF1_TRACE_FILE=$@ $(RUN_FOR_TARGET) $<
|
||||
|
||||
.s.run:
|
||||
$(AS_FOR_TARGET) -mcpu=r5900 -o $@ $<
|
||||
|
||||
|
||||
#
|
||||
|
1577
sim/testsuite/sky/t-cop2.s
Normal file
1577
sim/testsuite/sky/t-cop2.s
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user