* COP2 test case update.
This commit is contained in:
parent
4cc9cd5474
commit
4118c63ccd
|
@ -1,4 +1,11 @@
|
|||
Wed Apr 8 18:07:41 1998 Frank Ch. Eigler <fche@cygnus.com>
|
||||
|
||||
* t-cop2.s (mpg): Put END/NOP VU instructions to give something to
|
||||
VCALLMS to run.
|
||||
(end,error): Store rc for exit trap explicitly in $4.
|
||||
|
||||
* Makefile.in: Zap ".s.run" target before update attempt.
|
||||
|
||||
Wed Apr 8 16:53:00 1998 Jillian Ye <jillian@cygnus.com>
|
||||
|
||||
* c_gen.pl: Added subroutin perform_test_read_only.
|
||||
|
|
|
@ -224,6 +224,7 @@ sce%.ok: sce%.exe
|
|||
rm -f $@
|
||||
-env VIF1_TRACE_FILE=$@ $(RUN_FOR_TARGET) $<
|
||||
.s.run:
|
||||
rm -f $@
|
||||
$(AS_FOR_TARGET) -mcpu=r5900 -o $@ $<
|
||||
|
||||
|
||||
|
|
|
@ -7,11 +7,29 @@ stuff:
|
|||
.set noat
|
||||
|
||||
# enable COP2
|
||||
cop2:
|
||||
mfc0 $1,$12
|
||||
dli $2,0x40000000
|
||||
or $1,$2,$2
|
||||
mtc0 $1,$12
|
||||
|
||||
|
||||
# put some END/NOPs into VU0 uMEM
|
||||
mpg:
|
||||
dli $1,0x400002ff
|
||||
dli $4,0x000002ff
|
||||
dli $2,0x8000033c
|
||||
dli $3,0x11000000
|
||||
sw $2,0($3)
|
||||
sw $1,4($3)
|
||||
sw $2,8($3)
|
||||
sw $4,12($3)
|
||||
sw $2,16($3)
|
||||
sw $4,20($3)
|
||||
sw $2,24($3)
|
||||
sw $4,28($3)
|
||||
sw $2,32($3)
|
||||
sw $1,36($3)
|
||||
|
||||
# start whacking away
|
||||
lqc2 vf01,128($6)
|
||||
qmfc2 $5,vf2
|
||||
|
@ -1571,7 +1589,18 @@ blah:
|
|||
|
||||
end:
|
||||
7:
|
||||
# exit with RC=0
|
||||
dli $4,0x0000
|
||||
break 1023
|
||||
nop
|
||||
b 7b
|
||||
nop
|
||||
|
||||
error:
|
||||
8:
|
||||
# exit with RC=16
|
||||
dli $4,0x0010
|
||||
break 1023
|
||||
nop
|
||||
b 8b
|
||||
nop
|
||||
|
|
Loading…
Reference in New Issue