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. : ----------------------------------------------------------------------
131 lines
4.3 KiB
Text
131 lines
4.3 KiB
Text
.vu
|
|
main: NOP IADDIU VI01, VI00, 500
|
|
NOP IADDIU VI02, VI00, 504
|
|
NOP IADDIU VI03, VI00, 516
|
|
NOP NOP
|
|
NOP BAL VI15, MulMatrix
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 512
|
|
NOP IADDIU VI02, VI00, 504
|
|
NOP IADDIU VI03, VI00, 520
|
|
NOP NOP
|
|
NOP BAL VI15, MulMatrix
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 520
|
|
NOP IADDIU VI02, VI00, 496
|
|
NOP IADDIU VI03, VI00, 516
|
|
NOP IADDIU VI04, VI00, 525
|
|
NOP IADDIU VI05, VI00, 495
|
|
NOP IADDIU VI08, VI00, 526
|
|
NOP LQI.xyzw VF04, (VI01++)
|
|
NOP LQI.xyzw VF05, (VI01++)
|
|
NOP LQI.xyzw VF06, (VI01++)
|
|
NOP LQI.xyzw VF07, (VI01++)
|
|
NOP LQI.xyzw VF08, (VI02++)
|
|
NOP LQI.xyzw VF09, (VI02++)
|
|
NOP LQI.xyzw VF10, (VI02++)
|
|
NOP LQI.xyzw VF11, (VI02++)
|
|
NOP LQI.xyzw VF12, (VI03++)
|
|
NOP LQI.xyzw VF13, (VI03++)
|
|
NOP LQI.xyzw VF14, (VI03++)
|
|
NOP LQI.xyzw VF15, (VI03++)
|
|
NOP LQI.xyzw VF01, (VI04++)
|
|
NOP NOP
|
|
NOP[e] NOP
|
|
NOP NOP
|
|
START0: NOP XITOP VI06
|
|
NOP IADDIU VI07, VI06, 123
|
|
NOP IADDIU VI09, VI06, 533
|
|
NOP IADDIU VI12, VI06, 533
|
|
NOP IADDIU VI13, VI06, 532
|
|
NOP IADDIU VI11, VI00, 120
|
|
START: NOP LQI.xyzw VF25, (VI07++)
|
|
NOP LQI.xyzw VF30, (VI06++)
|
|
ADDx.w VF26, VF00, VF00x LQ.xyzw VF02, 0(VI05)
|
|
NOP NOP
|
|
MULAx.xyz ACC, VF12, VF25x NOP
|
|
MADDAy.xyz ACC, VF13, VF25y NOP
|
|
MADDz.xyz VF26, VF14, VF25z NOP
|
|
MULAx.xyzw ACC, VF04, VF30x NOP
|
|
MADDAy.xyzw ACC, VF05, VF30y NOP
|
|
MADDAz.xyzw ACC, VF06, VF30z NOP
|
|
MADDw.xyzw VF31, VF07, VF30w NOP
|
|
MAXx.xyzw VF26, VF26, VF00x NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
LOOP: MULw.xyzw VF29, VF31, VF00w DIV Q, VF00w, VF31w
|
|
MULAx.xyzw ACC, VF08, VF26x LQI.xyzw VF25, (VI07++)
|
|
MADDAy.xyzw ACC, VF09, VF26y LQI.xyzw VF30, (VI06++)
|
|
MADDAz.xyzw ACC, VF10, VF26z NOP
|
|
MADDw.xyzw VF24, VF11, VF26w IADDI VI11, VI11, -1
|
|
MULAx.xyz ACC, VF12, VF25x IADDIU VI12, VI12, 2
|
|
MADDAy.xyz ACC, VF13, VF25y SQ.xyzw VF23, 0(VI13)
|
|
MULq.xyzw VF28, VF29, Q IADDIU VI13, VI13, 2
|
|
MUL.xyzw VF24, VF24, VF02 NOP
|
|
MADDz.xyz VF26, VF14, VF25z LQ.xyzw VF02, 0(VI05)
|
|
MULAx.xyzw ACC, VF04, VF30x NOP
|
|
FTOI4.xyzw VF27, VF28 NOP
|
|
MINI.xyzw VF24, VF24, VF01 NOP
|
|
MADDAy.xyzw ACC, VF05, VF30y NOP
|
|
MADDAz.xyzw ACC, VF06, VF30z NOP
|
|
MADDw.xyzw VF31, VF07, VF30w SQ.xyzw VF27, 0(VI12)
|
|
FTOI0.xyzw VF23, VF24 NOP
|
|
MAXx.xyzw VF26, VF26, VF00x IBNE VI11, VI00, LOOP
|
|
NOP NOP
|
|
MULw.xyzw VF29, VF31, VF00w DIV Q, VF00w, VF31w
|
|
MULAx.xyzw ACC, VF08, VF26x IADDIU VI12, VI12, 2
|
|
MADDAy.xyzw ACC, VF09, VF26y SQ.xyzw VF23, 0(VI13)
|
|
MADDAz.xyzw ACC, VF10, VF26z IADDIU VI13, VI13, 2
|
|
MADDw.xyzw VF24, VF11, VF26w LQ.xyzw VF20, 0(VI08)
|
|
NOP NOP
|
|
NOP NOP
|
|
MULq.xyzw VF28, VF29, Q NOP
|
|
MUL.xyzw VF24, VF24, VF02 SQ.xyzw VF20, 0(VI09)
|
|
NOP NOP
|
|
NOP NOP
|
|
FTOI4.xyzw VF27, VF28 NOP
|
|
MINI.xyzw VF24, VF24, VF01 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF27, 0(VI12)
|
|
FTOI0.xyzw VF23, VF24 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF23, 0(VI13)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP XGKICK VI09
|
|
NOP[e] NOP
|
|
NOP NOP
|
|
NOP B START0
|
|
NOP NOP
|
|
MulMatrix: NOP LQI.xyzw VF08, (VI02++)
|
|
NOP LQI.xyzw VF04, (VI01++)
|
|
NOP LQI.xyzw VF05, (VI01++)
|
|
NOP LQI.xyzw VF06, (VI01++)
|
|
NOP LQI.xyzw VF07, (VI01++)
|
|
MULAx.xyzw ACC, VF04, VF08x LQI.xyzw VF09, (VI02++)
|
|
MADDAy.xyzw ACC, VF05, VF08y NOP
|
|
MADDAz.xyzw ACC, VF06, VF08z NOP
|
|
MADDw.xyzw VF12, VF07, VF08w NOP
|
|
MULAx.xyzw ACC, VF04, VF09x LQI.xyzw VF10, (VI02++)
|
|
MADDAy.xyzw ACC, VF05, VF09y NOP
|
|
MADDAz.xyzw ACC, VF06, VF09z NOP
|
|
MADDw.xyzw VF13, VF07, VF09w SQI.xyzw VF12, (VI03++)
|
|
MULAx.xyzw ACC, VF04, VF10x LQI.xyzw VF11, (VI02++)
|
|
MADDAy.xyzw ACC, VF05, VF10y NOP
|
|
MADDAz.xyzw ACC, VF06, VF10z NOP
|
|
MADDw.xyzw VF14, VF07, VF10w SQI.xyzw VF13, (VI03++)
|
|
MULAx.xyzw ACC, VF04, VF11x NOP
|
|
MADDAy.xyzw ACC, VF05, VF11y NOP
|
|
MADDAz.xyzw ACC, VF06, VF11z NOP
|
|
MADDw.xyzw VF15, VF07, VF11w SQI.xyzw VF14, (VI03++)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQI.xyzw VF15, (VI03++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|