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. : ----------------------------------------------------------------------
424 lines
11 KiB
Text
424 lines
11 KiB
Text
.vu
|
|
NOP IADDIU VI14, VI00, 1024
|
|
NOP IADDIU VI01, VI00, 0
|
|
NOP IADDIU VI02, VI00, 16
|
|
NOP BAL VI15, RotMatrix
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 20
|
|
NOP IADDIU VI02, VI00, 16
|
|
NOP IADDIU VI03, VI00, 24
|
|
NOP BAL VI15, MulMatrix
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 8
|
|
NOP IADDIU VI02, VI00, 16
|
|
NOP IADDIU VI03, VI00, 12
|
|
NOP BAL VI15, MulMatrix
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP[e] NOP
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 24
|
|
NOP IADDIU VI02, VI00, 12
|
|
NOP IADDIU VI03, VI00, 4
|
|
NOP LQI.xyzw VF08, (VI01++)
|
|
NOP LQI.xyzw VF09, (VI01++)
|
|
NOP LQI.xyzw VF10, (VI01++)
|
|
NOP LQI.xyzw VF11, (VI01++)
|
|
NOP LQI.xyzw VF13, (VI02++)
|
|
NOP LQI.xyzw VF14, (VI02++)
|
|
NOP LQI.xyzw VF15, (VI02++)
|
|
NOP LQI.xyzw VF16, (VI03++)
|
|
NOP LQI.xyzw VF17, (VI03++)
|
|
NOP LQI.xyzw VF18, (VI03++)
|
|
NOP LQI.xyzw VF19, (VI03++)
|
|
NOP LQ.xyzw VF22, 29(VI00)
|
|
NOP LQ.xyzw VF23, 28(VI00)
|
|
NOP ILW.w VI13, 32(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
LOOPE: NOP NOP
|
|
NOP XTOP VI05
|
|
NOP NOP
|
|
MUL.z VF05z, VF00, VF00 ILW.x VI02, 0(VI05)
|
|
NOP IADDIU VI03, VI00, 0x7fff
|
|
NOP IADDIU VI07, VI05, 1
|
|
NOP LQ.xyzw VF01, 0(VI05)
|
|
NOP IAND VI11, VI02, VI03
|
|
NOP IADD VI08, VI07, VI11
|
|
NOP IADD VI09, VI08, VI11
|
|
NOP IADD VI10, VI09, VI11
|
|
NOP IADD VI12, VI10, VI11
|
|
NOP IADDIU VI12, VI12, 8
|
|
NOP SQ.xyzw VF01, 30(VI00)
|
|
NOP ISW.x VI12, 31(VI00)
|
|
NOP IADDIU VI12, VI12, 1
|
|
NOP NOP
|
|
NOP NOP
|
|
LOOP: NOP LQI.xyzw VF01, (VI09++)
|
|
NOP LQI.xyzw VF28, (VI08++)
|
|
NOP LOI 255.0
|
|
NOP LQI.xyzw VF27, (VI10++)
|
|
NOP ISUBIU VI11, VI11, 1
|
|
MULAx.xyzw ACC, VF08, VF28x LQI.xyzw VF12, (VI07++)
|
|
MADDAy.xyzw ACC, VF09, VF28y NOP
|
|
MADDAz.xyzw ACC, VF10, VF28z NOP
|
|
MADDw.xyzw VF28, VF11, VF28w NOP
|
|
MULAx.xyzw ACC, VF13, VF01x NOP
|
|
MADDAy.xyzw ACC, VF14, VF01y NOP
|
|
MADDz.xyz VF26xyz, VF15, VF01z NOP
|
|
NOP DIV Q, VF00w, VF28w
|
|
NOP NOP
|
|
NOP NOP
|
|
MAXx.xyzw VF26, VF26, VF00x NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MUL.xyzw VF26, VF26, VF26 NOP
|
|
MULq.xyz VF31xyz, VF28, Q NOP
|
|
MULq.xyzw VF30, VF27, Q NOP
|
|
NOP NOP
|
|
MUL.xyzw VF26, VF26, VF26 NOP
|
|
NOP MOVE.xy VF07xy, VF31
|
|
NOP SQ.xyz VF30, 0(VI12)
|
|
NOP NOP
|
|
MULAx.xyzw ACC, VF16, VF26x NOP
|
|
MADDAy.xyzw ACC, VF17, VF26y NOP
|
|
MADDAz.xyzw ACC, VF18, VF26z NOP
|
|
MADDw.xyzw VF29, VF19, VF26w NOP
|
|
MULAw.xyzw ACC, VF22, VF00w NOP
|
|
MADDq.w VF31w, VF23, Q NOP
|
|
NOP NOP
|
|
MUL.xyzw VF29, VF29, VF12 NOP
|
|
NOP NOP
|
|
MINIi.w VF31w, VF31, I NOP
|
|
NOP LOI 255.0
|
|
MINIi.xyzw VF29, VF29, I NOP
|
|
NOP NOP
|
|
MAXx.w VF31w, VF31, VF00x NOP
|
|
NOP NOP
|
|
FTOI0.xyzw VF29, VF29 NOP
|
|
NOP NOP
|
|
FTOI4.xyzw VF31, VF31 NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF29, 1(VI12)
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 2(VI12)
|
|
NOP IADDIU VI12, VI12, 3
|
|
NOP IBNE VI11, VI00, LOOP
|
|
NOP NOP
|
|
NOP LQ.xyzw VF01, 30(VI00)
|
|
NOP ILW.x VI01, 31(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF01, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP XGKICK VI01
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP[e] NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP B LOOPE
|
|
NOP NOP
|
|
MulMatrix: NOP SQD.xyzw VF04, (--VI14)
|
|
NOP SQD.xyzw VF05, (--VI14)
|
|
NOP SQD.xyzw VF06, (--VI14)
|
|
NOP SQD.xyzw VF07, (--VI14)
|
|
NOP SQD.xyzw VF08, (--VI14)
|
|
NOP SQD.xyzw VF09, (--VI14)
|
|
NOP SQD.xyzw VF10, (--VI14)
|
|
NOP SQD.xyzw VF11, (--VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI01, 0(VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI03, 0(VI14)
|
|
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++)
|
|
MULAx.xyzw ACC, VF04, VF08x NOP
|
|
MADDAy.xyzw ACC, VF05, VF08y NOP
|
|
MADDAz.xyzw ACC, VF06, VF08z NOP
|
|
MADDw.xyzw VF12, VF07, VF08w NOP
|
|
MULAx.xyzw ACC, VF04, VF09x NOP
|
|
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 NOP
|
|
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 ILW.x VI03, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP ILW.x VI01, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP LQI.xyzw VF11, (VI14++)
|
|
NOP LQI.xyzw VF10, (VI14++)
|
|
NOP LQI.xyzw VF09, (VI14++)
|
|
NOP LQI.xyzw VF08, (VI14++)
|
|
NOP LQI.xyzw VF07, (VI14++)
|
|
NOP LQI.xyzw VF06, (VI14++)
|
|
NOP LQI.xyzw VF05, (VI14++)
|
|
NOP LQI.xyzw VF04, (VI14++)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
RotMatrix: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP LOI 1.5707963
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP SQD.xyzw VF03, (--VI14)
|
|
NOP SQD.xyzw VF04, (--VI14)
|
|
MULx.xyzw VF04, VF00, VF00x SQD.xyzw VF05, (--VI14)
|
|
MULx.xyzw VF05, VF00, VF00x SQD.xyzw VF06, (--VI14)
|
|
MULx.xyzw VF06, VF00, VF00x SQD.xyzw VF07, (--VI14)
|
|
MULx.xyzw VF07, VF00, VF00x SQD.xyzw VF08, (--VI14)
|
|
MULx.xyzw VF08, VF00, VF00x SQD.xyzw VF09, (--VI14)
|
|
MULx.xyzw VF09, VF00, VF00x SQD.xyzw VF10, (--VI14)
|
|
MULx.xyzw VF10, VF00, VF00x SQD.xyzw VF11, (--VI14)
|
|
MULx.xyzw VF11, VF00, VF00x SQD.xyzw VF12, (--VI14)
|
|
MULx.xyzw VF12, VF00, VF00x ISUBIU VI14, VI14, 1
|
|
ADDw.x VF04x, VF04, VF00w ISW.x VI01, 0(VI14)
|
|
ADDw.y VF08y, VF08, VF00w ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
ADDw.z VF12z, VF12, VF00w LQI.xyzw VF01, (VI01++)
|
|
NOP LQI.xyzw VF02, (VI01++)
|
|
NOP LQI.xyzw VF03, (VI01++)
|
|
NOP NOP
|
|
NOP ESIN P, VF01x
|
|
ADDi.xyzw VF02, VF02, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP WAITP
|
|
NOP MFP.y VF06y, P
|
|
NOP MFP.z VF05z, P
|
|
NOP ESIN P, VF02x
|
|
NOP NOP
|
|
MULz.xyzw VF06, VF06, VF00z NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP WAITP
|
|
NOP MFP.y VF05y, P
|
|
NOP MFP.z VF06z, P
|
|
NOP ESIN P, VF01y
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP WAITP
|
|
NOP MFP.z VF07z, P
|
|
NOP MFP.x VF09x, P
|
|
NOP ESIN P, VF02y
|
|
NOP NOP
|
|
MULz.xyzw VF07, VF07, VF00z NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP WAITP
|
|
NOP MFP.x VF07x, P
|
|
NOP MFP.z VF09z, P
|
|
NOP ESIN P, VF01z
|
|
NOP NOP
|
|
MULAx.xyzw ACC, VF04, VF07x NOP
|
|
MADDAy.xyzw ACC, VF05, VF07y NOP
|
|
MADDz.xyzw VF07, VF06, VF07z NOP
|
|
MULAx.xyzw ACC, VF04, VF08x NOP
|
|
MADDAy.xyzw ACC, VF05, VF08y NOP
|
|
MADDz.xyzw VF08, VF06, VF08z NOP
|
|
MULAx.xyzw ACC, VF04, VF09x NOP
|
|
MADDAy.xyzw ACC, VF05, VF09y NOP
|
|
MADDz.xyzw VF09, VF06, VF09z NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP WAITP
|
|
NOP MFP.x VF11x, P
|
|
NOP MFP.y VF10y, P
|
|
NOP ESIN P, VF02z
|
|
NOP NOP
|
|
MULz.xyzw VF11, VF11, VF00z NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP WAITP
|
|
NOP MFP.x VF10x, P
|
|
NOP MFP.y VF11y, P
|
|
NOP NOP
|
|
NOP NOP
|
|
MULAx.xyzw ACC, VF07, VF10x NOP
|
|
MADDAy.xyzw ACC, VF08, VF10y NOP
|
|
MADDz.xyzw VF10, VF09, VF10z NOP
|
|
MULAx.xyzw ACC, VF07, VF11x NOP
|
|
MADDAy.xyzw ACC, VF08, VF11y NOP
|
|
MADDz.xyzw VF11, VF09, VF11z NOP
|
|
MULAx.xyzw ACC, VF07, VF12x SQI.xyz VF10, (VI02++)
|
|
MADDAy.xyzw ACC, VF08, VF12y NOP
|
|
MADDz.xyzw VF12, VF09, VF12z NOP
|
|
NOP SQI.xyz VF11, (VI02++)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQI.xyz VF12, (VI02++)
|
|
NOP SQI.xyz VF03, (VI02++)
|
|
NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP ILW.x VI01, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP LQI.xyzw VF12, (VI14++)
|
|
NOP LQI.xyzw VF11, (VI14++)
|
|
NOP LQI.xyzw VF10, (VI14++)
|
|
NOP LQI.xyzw VF09, (VI14++)
|
|
NOP LQI.xyzw VF08, (VI14++)
|
|
NOP LQI.xyzw VF07, (VI14++)
|
|
NOP LQI.xyzw VF06, (VI14++)
|
|
NOP LQI.xyzw VF05, (VI14++)
|
|
NOP LQI.xyzw VF04, (VI14++)
|
|
NOP LQI.xyzw VF03, (VI14++)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|