5087a6057a
sce*_testN.* corresponds to the original testN/test.* *.vuasm : MICRO code *.dvpasm : DMAtag and VIF code description *.out_gif.dat : GIF output values for the corresponding testcase. sce_main.c : driver file for the SCE testcases sce_macro.s : SCE provided macro file needed by the SCE (feb28) testcases refresh.s : Needed by sce_main.c Makefile.in : Updated to run make and run the SCE testsuite. : ----------------------------------------------------------------------
150 lines
4.9 KiB
Plaintext
150 lines
4.9 KiB
Plaintext
.include "sce_macros.s"
|
|
|
|
.global My_dma_start
|
|
.text
|
|
My_dma_start:
|
|
.DmaPackVif 0
|
|
|
|
|
|
DMAref *, data0
|
|
|
|
.section ".dmadata", "aw"
|
|
.DmaData data0
|
|
STCYCL 4, 4
|
|
STMASK 0x00000000
|
|
STMOD direct
|
|
.EndDmaData
|
|
|
|
.text
|
|
DMAcnt *
|
|
MPG *, *
|
|
.include "sce_test52.vuasm"
|
|
.endmpg
|
|
.EndDmaData
|
|
|
|
DMAcnt *
|
|
DIRECT *
|
|
GIFpacked REGS={A_D}, NLOOP=13, EOP
|
|
iwzyx 0x00000000, 0x0000004c, 0x00000000, 0x000a0000
|
|
iwzyx 0x00000000, 0x00000040, 0x01df0000, 0x027f0000
|
|
iwzyx 0x00000000, 0x0000001a, 0x00000000, 0x00000001
|
|
iwzyx 0x00000000, 0x0000004e, 0x00000000, 0x01000096
|
|
iwzyx 0x00000000, 0x00000046, 0x00000000, 0x00000001
|
|
iwzyx 0x00000000, 0x00000047, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000018, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x00000006
|
|
iwzyx 0x00000000, 0x00000001, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000004, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000004, 0x00000000, 0x1e002800
|
|
iwzyx 0x00000000, 0x00000047, 0x00000000, 0x00070000
|
|
iwzyx 0x00000000, 0x00000018, 0x00007100, 0x00006c00
|
|
.endgif
|
|
.EndDirect
|
|
.EndDmaData
|
|
|
|
DMAcnt *
|
|
unpack V4_32, 0, *
|
|
iwzyx 0x00000000, 0xbf333333, 0x00000000, 0x3f333333
|
|
iwzyx 0x00000000, 0xbf333333, 0x00000000, 0xbf333333
|
|
iwzyx 0x3f800000, 0x44800000, 0x00000000, 0x00000000
|
|
.EndUnpack
|
|
.EndDmaData
|
|
|
|
|
|
DMAcnt *
|
|
unpack V4_32, 22, *
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x3f800000
|
|
iwzyx 0x00000000, 0x00000000, 0x3f800000, 0x00000000
|
|
iwzyx 0x00000000, 0x3f800000, 0x00000000, 0x00000000
|
|
iwzyx 0x3f800000, 0x44000000, 0x00000000, 0x00000000
|
|
.EndUnpack
|
|
unpack V4_32, 26, *
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x44000000
|
|
iwzyx 0x00000000, 0x00000000, 0x44000000, 0x00000000
|
|
iwzyx 0x3f800000, 0x46746000, 0x45000000, 0x45000000
|
|
iwzyx 0x00000000, 0x4e746119, 0x00000000, 0x00000000
|
|
.EndUnpack
|
|
unpack V4_32, 30, *
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
|
iwzyx 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
|
.EndUnpack
|
|
MSCAL 0
|
|
BASE 40
|
|
OFFSET 30
|
|
.EndDmaData
|
|
|
|
DMAcnt *
|
|
unpack[r] V4_32, 0, *
|
|
iwzyx 0x00000000, 0x00000041, 0x20064000, 0x00008008
|
|
.EndUnpack
|
|
unpack[r] V4_32, 1, *
|
|
iwzyx 0x00000000, 0x42800000, 0x437f0000, 0x437f0000
|
|
iwzyx 0x00000000, 0x437f0000, 0x42800000, 0x437f0000
|
|
iwzyx 0x00000000, 0x437f0000, 0x437f0000, 0x42800000
|
|
iwzyx 0x00000000, 0x42800000, 0x42800000, 0x437f0000
|
|
iwzyx 0x00000000, 0x42800000, 0x437f0000, 0x42800000
|
|
iwzyx 0x00000000, 0x437f0000, 0x42800000, 0x42800000
|
|
iwzyx 0x00000000, 0x437f0000, 0x437f0000, 0x437f0000
|
|
iwzyx 0x00000000, 0x42800000, 0x42800000, 0x42800000
|
|
.EndUnpack
|
|
unpack[r] V4_32, 9, *
|
|
iwzyx 0x3f800000, 0xc2c80000, 0x42c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0xc2c80000, 0x42c80000, 0xc2c80000
|
|
iwzyx 0x3f800000, 0xc2c80000, 0xc2c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0xc2c80000, 0xc2c80000, 0xc2c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0xc2c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0xc2c80000, 0xc2c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0x42c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0x42c80000, 0xc2c80000
|
|
.EndUnpack
|
|
unpack[r] V4_32, 17, *
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0x3f13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0x3f13d07d, 0xbf13d07d
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0xbf13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0xbf13d07d, 0xbf13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0xbf13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0xbf13d07d, 0xbf13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0x3f13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0x3f13d07d, 0xbf13d07d
|
|
.EndUnpack
|
|
MSCNT
|
|
unpack[r] V4_32, 0, *
|
|
iwzyx 0x00000000, 0x00000041, 0x20064000, 0x00008008
|
|
.EndUnpack
|
|
unpack[r] V4_32, 1, *
|
|
iwzyx 0x00000000, 0x42800000, 0x437f0000, 0x437f0000
|
|
iwzyx 0x00000000, 0x437f0000, 0x42800000, 0x437f0000
|
|
iwzyx 0x00000000, 0x437f0000, 0x437f0000, 0x42800000
|
|
iwzyx 0x00000000, 0x42800000, 0x42800000, 0x437f0000
|
|
iwzyx 0x00000000, 0x42800000, 0x437f0000, 0x42800000
|
|
iwzyx 0x00000000, 0x437f0000, 0x42800000, 0x42800000
|
|
iwzyx 0x00000000, 0x437f0000, 0x437f0000, 0x437f0000
|
|
iwzyx 0x00000000, 0x42800000, 0x42800000, 0x42800000
|
|
.EndUnpack
|
|
unpack[r] V4_32, 9, *
|
|
iwzyx 0x3f800000, 0xc2c80000, 0xc2c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0xc2c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0xc2c80000, 0x42c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0x42c80000, 0x42c80000
|
|
iwzyx 0x3f800000, 0xc2c80000, 0x42c80000, 0xc2c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0x42c80000, 0xc2c80000
|
|
iwzyx 0x3f800000, 0xc2c80000, 0xc2c80000, 0xc2c80000
|
|
iwzyx 0x3f800000, 0x42c80000, 0xc2c80000, 0xc2c80000
|
|
.EndUnpack
|
|
unpack[r] V4_32, 17, *
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0x3f13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0x3f13d07d, 0xbf13d07d
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0xbf13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0xbf13d07d, 0xbf13d07d, 0xbf13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0xbf13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0xbf13d07d, 0xbf13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0x3f13d07d, 0x3f13d07d
|
|
iwzyx 0x3f800000, 0x3f13d07d, 0x3f13d07d, 0xbf13d07d
|
|
.EndUnpack
|
|
MSCNT
|
|
.EndDmaData
|
|
|
|
DMAend ; ADDED
|