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. : ----------------------------------------------------------------------
876 lines
23 KiB
Text
876 lines
23 KiB
Text
.vu
|
|
main: NOP IADDIU VI14, VI00, 1024
|
|
NOP IADDIU VI01, VI00, 0
|
|
NOP IADDIU VI02, VI00, 22
|
|
NOP NOP
|
|
NOP BAL VI15, RotMatrix
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 26
|
|
NOP IADDIU VI02, VI00, 22
|
|
NOP IADDIU VI03, VI00, 30
|
|
NOP NOP
|
|
NOP BAL VI15, MulMatrix
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 8
|
|
NOP IADDIU VI02, VI00, 22
|
|
NOP IADDIU VI03, VI00, 12
|
|
NOP NOP
|
|
NOP BAL VI15, MulMatrix
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP[e] NOP
|
|
NOP NOP
|
|
LOOPE: NOP BAL VI15, GetNLOOP
|
|
NOP NOP
|
|
NOP IADDIU VI11, VI01, 0
|
|
NOP XTOP VI05
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADDIU VI06, VI05, 1
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADD VI07, VI06, VI11
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADD VI08, VI07, VI11
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADD VI10, VI08, VI11
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADDIU VI09, VI00, 0
|
|
NOP IADDIU VI13, VI00, 2
|
|
STRIP: NOP IBNE VI09, VI00, BUF1
|
|
NOP NOP
|
|
NOP IADDIU VI12, VI00, 602
|
|
NOP B START
|
|
NOP NOP
|
|
BUF1: NOP IADDIU VI12, VI12, 1
|
|
START: NOP ISUBIU VI01, VI12, 3
|
|
NOP LQ.xyzw VF31, 0(VI05)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI01)
|
|
NOP ISW.x VI01, 35(VI00)
|
|
LOOP: NOP NOP
|
|
NOP IADDIU VI01, VI07, 0
|
|
NOP IADDIU VI02, VI00, 30
|
|
NOP IADDIU VI03, VI00, 34
|
|
NOP BAL VI15, ApplyMatrix4
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 34
|
|
NOP IADDIU VI02, VI00, 21
|
|
NOP IADDIU VI03, VI00, 16
|
|
NOP IADDIU VI04, VI00, 34
|
|
NOP BAL VI15, PerspectFog
|
|
NOP NOP
|
|
NOP LQ.xyzw VF01, 51(VI00)
|
|
NOP LQ.xyzw VF02, 52(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF01, 50(VI00)
|
|
NOP SQ.xyzw VF02, 51(VI00)
|
|
NOP SQ.xyzw VF31, 52(VI00)
|
|
NOP IBGTZ VI13, NO_NORMAL_CLIP
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 50
|
|
NOP IADDIU VI02, VI00, 51
|
|
NOP IADDIU VI03, VI00, 52
|
|
NOP IADDIU VI04, VI00, 53
|
|
NOP BAL VI15, NormalClip
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 1
|
|
NOP IAND VI01, VI01, VI13
|
|
NOP IBNE VI01, VI00, ODD
|
|
NOP NOP
|
|
EVEN: NOP IADDIU VI01, VI00, 0x0022
|
|
NOP FMAND VI02, VI01
|
|
NOP IBNE VI02, VI00, NORMAL_CLIP
|
|
NOP NOP
|
|
NOP B NO_NORMAL_CLIP
|
|
NOP NOP
|
|
ODD: NOP IADDIU VI01, VI00, 0x0020
|
|
NOP FMAND VI02, VI01
|
|
NOP IBEQ VI02, VI00, NORMAL_CLIP
|
|
NOP NOP
|
|
NOP B NO_NORMAL_CLIP
|
|
NOP NOP
|
|
NORMAL_CLIP: NOP NOP
|
|
NOP LQ.xyzw VF31, 34(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
FTOI4.xyzw VF31, VF31 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ILW.x VI01, 60(VI00)
|
|
NOP MTIR.w VI02, VF31w ;WAS: MTIR VI02, VF31w
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IOR VI02, VI02, VI01
|
|
NOP MFIR.w VF31, VI02
|
|
NOP B STORE_COORD
|
|
NOP NOP
|
|
NO_NORMAL_CLIP: NOP NOP
|
|
NOP LQ.xyzw VF31, 34(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
FTOI4.xyzw VF31, VF31 NOP
|
|
STORE_COORD: NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI12)
|
|
NOP LQI.xyzw VF01, (VI10++)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MULq.xyz VF31, VF01, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ISUBIU VI01, VI12, 2
|
|
NOP SQ.xyzw VF31, 0(VI01)
|
|
NOP IADDIU VI01, VI08, 0
|
|
NOP IADDIU VI02, VI00, 12
|
|
NOP IADDIU VI03, VI00, 34
|
|
NOP BAL VI15, ApplyMatrix3
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 34
|
|
NOP IADDIU VI02, VI00, 34
|
|
NOP BAL VI15, Limit0
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 34
|
|
NOP IADDIU VI02, VI00, 4
|
|
NOP IADDIU VI03, VI00, 34
|
|
NOP BAL VI15, ApplyMatrix4
|
|
NOP NOP
|
|
NOP LQ.xyzw VF02, 0(VI06)
|
|
NOP LQ.xyzw VF01, 17(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
MUL.xyzw VF31, VF31, VF02 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MINI.xyzw VF31, VF31, VF01 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
FTOI0.xyzw VF31, VF31 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ISUBIU VI01, VI12, 1
|
|
NOP SQ.xyzw VF31, 0(VI01)
|
|
NOP IADDIU VI06, VI06, 1
|
|
NOP IADDIU VI07, VI07, 1
|
|
NOP IADDIU VI08, VI08, 1
|
|
NOP IADDIU VI12, VI12, 3
|
|
NOP IADDI VI11, VI11, -1
|
|
NOP IADDI VI13, VI13, -1
|
|
NOP IBNE VI11, VI00, LOOP
|
|
NOP NOP
|
|
NOP ILW.x VI03, 35(VI00)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP XGKICK VI03
|
|
NOP IADDIU VI01, VI00, 1
|
|
NOP ISUB VI09, VI01, VI09
|
|
NOP[e] 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 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 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 JR VI15
|
|
NOP NOP
|
|
RotMatrix: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP SQD.xyzw VF03, (--VI14)
|
|
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 SQD.xyzw VF12, (--VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI01, 0(VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
MULx.xyzw VF04, VF00, VF00x LQI.xyzw VF01, (VI01++)
|
|
MULx.xyzw VF05, VF00, VF00x LQI.xyzw VF02, (VI01++)
|
|
MULx.xyzw VF06, VF00, VF00x LQI.xyzw VF03, (VI01++)
|
|
NOP LOI 1.5707963
|
|
ADDw.x VF04, VF04, VF00w ESIN P, VF01x
|
|
NOP NOP
|
|
NOP NOP
|
|
ADDi.xyzw VF02, VF02, I NOP
|
|
NOP WAITP
|
|
NOP MFP.z VF05z, P
|
|
NOP MFP.y VF06y, P
|
|
NOP ESIN P, VF02x
|
|
NOP NOP
|
|
NOP NOP
|
|
MULz.xyzw VF06, VF06, VF00z NOP
|
|
NOP WAITP
|
|
NOP MFP.y VF05y, P
|
|
NOP MFP.z VF06z, P
|
|
MULx.xyzw VF07, VF00, VF00x ESIN P, VF01y
|
|
MULx.xyzw VF08, VF00, VF00x NOP
|
|
MULx.xyzw VF09, VF00, VF00x NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
ADDw.y VF08, VF08, VF00w 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 WAITP
|
|
NOP MFP.x VF07x, P
|
|
NOP MFP.z VF09z, P
|
|
MULx.xyzw VF10, VF00, VF00x ESIN P, VF01z
|
|
MULx.xyzw VF11, VF00, VF00x NOP
|
|
MULx.xyzw VF12, VF00, VF00x NOP
|
|
MULAx.xyz ACC, VF04, VF07x NOP
|
|
MADDAy.xyz ACC, VF05, VF07y NOP
|
|
MADDz.xyz VF07, VF06, VF07z NOP
|
|
ADDw.z VF12, VF12, VF00w NOP
|
|
MULAx.xyz ACC, VF04, VF08x NOP
|
|
MADDAy.xyz ACC, VF05, VF08y NOP
|
|
MADDz.xyz VF08, VF06, VF08z NOP
|
|
MULAx.xyz ACC, VF04, VF09x NOP
|
|
MADDAy.xyz ACC, VF05, VF09y NOP
|
|
MADDz.xyz VF09, VF06, VF09z NOP
|
|
NOP WAITP
|
|
NOP MFP.y VF10y, P
|
|
NOP MFP.x VF11x, P
|
|
NOP ESIN P, VF02z
|
|
NOP NOP
|
|
NOP NOP
|
|
MULz.xyzw VF11, VF11, VF00z NOP
|
|
NOP WAITP
|
|
NOP MFP.x VF10x, P
|
|
NOP MFP.y VF11y, P
|
|
NOP NOP
|
|
NOP NOP
|
|
MULAx.xyz ACC, VF07, VF10x NOP
|
|
MADDAy.xyz ACC, VF08, VF10y NOP
|
|
MADDz.xyz VF10, VF09, VF10z NOP
|
|
MULAx.xyz ACC, VF07, VF11x NOP
|
|
MADDAy.xyz ACC, VF08, VF11y NOP
|
|
MADDz.xyz VF11, VF09, VF11z NOP
|
|
MULAx.xyz ACC, VF07, VF12x NOP
|
|
MADDAy.xyz ACC, VF08, VF12y NOP
|
|
MADDz.xyz VF12, VF09, VF12z NOP
|
|
NOP NOP
|
|
NOP SQI.xyz VF10, (VI02++)
|
|
NOP SQI.xyz VF11, (VI02++)
|
|
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 JR VI15
|
|
NOP NOP
|
|
ApplyMatrix4: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP SQD.xyzw VF03, (--VI14)
|
|
NOP SQD.xyzw VF04, (--VI14)
|
|
NOP SQD.xyzw VF05, (--VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
NOP LQ.xyzw VF01, 0(VI01)
|
|
NOP LQI.xyzw VF02, (VI02++)
|
|
NOP LQI.xyzw VF03, (VI02++)
|
|
NOP LQI.xyzw VF04, (VI02++)
|
|
NOP LQI.xyzw VF05, (VI02++)
|
|
MULAx.xyzw ACC, VF02, VF01x NOP
|
|
MADDAy.xyzw ACC, VF03, VF01y NOP
|
|
MADDAz.xyzw ACC, VF04, VF01z NOP
|
|
MADDw.xyzw VF31, VF05, VF01w NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI03)
|
|
NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
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 JR VI15
|
|
NOP NOP
|
|
ApplyMatrix3: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP SQD.xyzw VF03, (--VI14)
|
|
NOP SQD.xyzw VF04, (--VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
MULw.xyzw VF31, VF00, VF00 LQ.xyzw VF01, 0(VI01)
|
|
NOP LQI.xyzw VF02, (VI02++)
|
|
NOP LQI.xyzw VF03, (VI02++)
|
|
NOP LQI.xyzw VF04, (VI02++)
|
|
MULAx.xyz ACC, VF02, VF01 NOP
|
|
MADDAy.xyz ACC, VF03, VF01 NOP
|
|
MADDz.xyz VF31, VF04, VF01 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI03)
|
|
NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP LQI.xyzw VF04, (VI14++)
|
|
NOP LQI.xyzw VF03, (VI14++)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
Perspect: NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP DIV Q, VF00w, VF31w
|
|
NOP WAITQ
|
|
MULq.xyzw VF31, VF31, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI02)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PerspectFog: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP DIV Q, VF00w, VF31w
|
|
NOP WAITQ
|
|
MULq.xyzw VF31, VF31, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP LQ.xyzw VF01, 0(VI02)
|
|
NOP LQ.xyzw VF02, 0(VI03)
|
|
NOP LOI 255.0
|
|
NOP NOP
|
|
MULA.w ACC, VF01, VF00 NOP
|
|
MADDq.w VF31, VF02, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MINIi.w VF31, VF31, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MAXx.w VF31, VF31, VF00 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI04)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PerspectDynamicZbufFog: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP DIV Q, VF00w, VF31w
|
|
NOP WAITQ
|
|
MULq.xyz VF31, VF31, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
SUBi.w VF30, VF31, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADDIU VI01, VI00, 16
|
|
NOP FMAND VI01, VI01
|
|
NOP IBNE VI01, VI00, NON_LINEAR
|
|
NOP NOP
|
|
LINEAR: NOP LQ.z VF31, 2(VI05)
|
|
NOP LQ.z VF30, 3(VI05)
|
|
NOP NOP
|
|
NOP NOP
|
|
MULw.z VF31, VF31, VF31 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
ADD.z VF31, VF31, VF30 NOP
|
|
NON_LINEAR: NOP LQ.xyzw VF01, 0(VI02)
|
|
NOP LQ.xyzw VF02, 0(VI03)
|
|
NOP LOI 255.0
|
|
NOP NOP
|
|
MULA.w ACC, VF01, VF00 NOP
|
|
MADDq.w VF31, VF02, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MINIi.w VF31, VF31, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MAXx.w VF31, VF31, VF00 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI04)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PerspectLinearZbufFog: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP DIV Q, VF00w, VF31w
|
|
NOP WAITQ
|
|
MULq.xyw VF31, VF31, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP LQ.xyzw VF01, 0(VI02)
|
|
NOP LQ.xyzw VF02, 0(VI03)
|
|
NOP LOI 255.0
|
|
NOP NOP
|
|
MULA.w ACC, VF01, VF00 NOP
|
|
MADDq.w VF31, VF02, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MINIi.w VF31, VF31, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MAXx.w VF31, VF31, VF00 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI04)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PerspectLinearFog: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP DIV Q, VF00w, VF31w
|
|
NOP WAITQ
|
|
MULq.xyz VF31, VF31, Q NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP LQ.xyzw VF01, 0(VI02)
|
|
NOP LQ.xyzw VF02, 0(VI03)
|
|
NOP LOI 255.0
|
|
NOP NOP
|
|
MULA.w ACC, VF01, VF00 NOP
|
|
MADD.w VF31, VF02, VF31 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MINIi.w VF31, VF31, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MAXx.w VF31, VF31, VF00 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI04)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
Limit0: NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MAXx.xyzw VF31, VF31, VF00x NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI02)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
GetNLOOP: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI03, 0(VI14)
|
|
NOP XTOP VI01
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ILW.x VI02, 0(VI01)
|
|
NOP IADDIU VI03, VI00, 0x7fff
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IAND VI01, VI02, VI03
|
|
NOP ILW.x VI03, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
ChangeNLOOP: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI03, 0(VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI04, 0(VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI05, 0(VI14)
|
|
NOP XTOP VI03
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ILW.x VI04, 0(VI03)
|
|
NOP IADDIU VI05, VI00, 0x7fff
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IADDIU VI05, VI05, 1
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IAND VI04, VI04, VI05
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IOR VI04, VI04, VI01
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ISW.x VI04, 0(VI02)
|
|
NOP ILW.x VI05, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP ILW.x VI04, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP ILW.x VI03, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
VectorNormal: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP ERLENG P, VF31
|
|
NOP WAITP
|
|
NOP MFP.x VF01, P
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MULx.xyz VF31, VF31, VF01 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI02)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
VectorAverage: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP LQ.xyzw VF01, 0(VI01)
|
|
NOP LQ.xyzw VF02, 0(VI02)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
ADD.xyzw VF01, VF01, VF02 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MULy.xyzw VF31, VF01, VF00 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI03)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
VectorPower: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI04, 0(VI14)
|
|
NOP LQ.xyzw VF01, 0(VI01)
|
|
NOP LQ.xyzw VF31, 0(VI01)
|
|
NOP ISUBIU VI02, VI02, 1
|
|
NOP NOP
|
|
NOP NOP
|
|
POWER: NOP ISUBIU VI02, VI02, 1
|
|
MUL.xyzw VF31, VF31, VF01 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP IBNE VI02, VI00, POWER
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI03)
|
|
NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
VectorHalf: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP LQ.xyzw VF01, 0(VI01)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MULi.xyzw VF31, VF01, I NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI02)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
VectorMAX: NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP LQ.xyzw VF01, 0(VI01)
|
|
NOP LQ.xyzw VF02, 0(VI02)
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
MAX.xyzw VF31, VF01, VF02 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI03)
|
|
NOP LQI.xyzw VF02, (VI14++)
|
|
NOP LQI.xyzw VF01, (VI14++)
|
|
NOP NOP
|
|
NOP JR VI15
|
|
NOP NOP
|
|
NormalClip: NOP NOP
|
|
NOP SQD.xyzw VF01, (--VI14)
|
|
NOP SQD.xyzw VF02, (--VI14)
|
|
NOP SQD.xyzw VF03, (--VI14)
|
|
NOP SQD.xyzw VF04, (--VI14)
|
|
NOP SQD.xyzw VF05, (--VI14)
|
|
NOP LQ.xyzw VF01, 0(VI01)
|
|
NOP LQ.xyzw VF02, 0(VI02)
|
|
NOP LQ.xyzw VF03, 0(VI03)
|
|
NOP NOP
|
|
SUB.xy VF04, VF02, VF01 NOP
|
|
SUB.xy VF05, VF03, VF01 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
OPMULA.xyz ACC, VF04, VF05 NOP
|
|
OPMSUB.xyz VF31, VF05, VF04 NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP NOP
|
|
NOP SQ.xyzw VF31, 0(VI04)
|
|
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 JR VI15
|
|
NOP NOP
|
|
PushVI01: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI01, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI02: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI02, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI03: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI03, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI04: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI04, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI05: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI05, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI06: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI06, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI07: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI07, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI08: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI08, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI09: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI09, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI10: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI10, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI11: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI11, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI12: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI12, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PushVI13: NOP ISUBIU VI14, VI14, 1
|
|
NOP ISW.x VI13, 0(VI14)
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI01: NOP ILW.x VI01, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI02: NOP ILW.x VI02, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI03: NOP ILW.x VI03, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI04: NOP ILW.x VI04, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI05: NOP ILW.x VI05, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI06: NOP ILW.x VI06, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI07: NOP ILW.x VI07, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI08: NOP ILW.x VI08, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI09: NOP ILW.x VI09, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI10: NOP ILW.x VI10, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI11: NOP ILW.x VI11, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI12: NOP ILW.x VI12, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|
|
PopVI13: NOP ILW.x VI13, 0(VI14)
|
|
NOP IADDIU VI14, VI14, 1
|
|
NOP JR VI15
|
|
NOP NOP
|