236 lines
7 KiB
Text
236 lines
7 KiB
Text
|
.vu
|
||
|
NOP IADDIU VI01, VI00, 912
|
||
|
NOP IADDIU VI02, VI00, 904
|
||
|
NOP IADDIU VI03, VI00, 920
|
||
|
NOP NOP
|
||
|
NOP BAL VI15, MulMatrix
|
||
|
NOP NOP
|
||
|
NOP IADDIU VI01, VI00, 900
|
||
|
NOP IADDIU VI02, VI00, 904
|
||
|
NOP IADDIU VI03, VI00, 916
|
||
|
NOP NOP
|
||
|
NOP BAL VI15, MulMatrix
|
||
|
NOP NOP
|
||
|
NOP IADDIU VI01, VI00, 920
|
||
|
NOP IADDIU VI02, VI00, 896
|
||
|
NOP IADDIU VI03, VI00, 916
|
||
|
NOP IADDIU VI04, VI00, 925
|
||
|
NOP IADDIU VI05, VI00, 895
|
||
|
NOP IADDIU VI06, VI00, 926
|
||
|
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 LQI.xyzw VF02, (VI05++)
|
||
|
NOP LQI.xyzw VF03, (VI06++)
|
||
|
NOP NOP
|
||
|
NOP[e] NOP
|
||
|
NOP NOP
|
||
|
START0: NOP NOP
|
||
|
NOP NOP
|
||
|
NOP XITOP VI07
|
||
|
NOP IADDIU VI13, VI00, 4
|
||
|
NOP IADDIU VI08, VI00, 0
|
||
|
START: NOP IADDIU VI02, VI00, 0
|
||
|
NOP IADDIU VI10, VI00, 9
|
||
|
NOP IADDIU VI12, VI00, 320
|
||
|
NOP IADD VI06, VI00, VI07
|
||
|
LOOPv: NOP IADDIU VI01, VI00, 0
|
||
|
NOP IADDIU VI11, VI00, 9
|
||
|
NOP LQ.xyzw VF16, 0(VI02)
|
||
|
NOP LQI.xyzw VF19, (VI06++)
|
||
|
NOP LQI.xyzw VF20, (VI06++)
|
||
|
NOP LQI.xyzw VF21, (VI06++)
|
||
|
NOP LQI.xyzw VF22, (VI06++)
|
||
|
MULAx.xyzw ACC, VF19, VF16x LQI.xyzw VF19, (VI06++)
|
||
|
MADDAy.xyzw ACC, VF20, VF16y LQI.xyzw VF20, (VI06++)
|
||
|
MADDAz.xyzw ACC, VF21, VF16z LQI.xyzw VF21, (VI06++)
|
||
|
MADDw.xyzw VF23, VF22, VF16w LQI.xyzw VF22, (VI06++)
|
||
|
MULAx.xyzw ACC, VF19, VF16x LQI.xyzw VF19, (VI06++)
|
||
|
MADDAy.xyzw ACC, VF20, VF16y LQI.xyzw VF20, (VI06++)
|
||
|
MADDAz.xyzw ACC, VF21, VF16z LQI.xyzw VF21, (VI06++)
|
||
|
MADDw.xyzw VF24, VF22, VF16w LQI.xyzw VF22, (VI06++)
|
||
|
MULAx.xyzw ACC, VF19, VF16x LQI.xyzw VF19, (VI06++)
|
||
|
MADDAy.xyzw ACC, VF20, VF16y LQI.xyzw VF20, (VI06++)
|
||
|
MADDAz.xyzw ACC, VF21, VF16z LQI.xyzw VF21, (VI06++)
|
||
|
MADDw.xyzw VF25, VF22, VF16w LQI.xyzw VF22, (VI06++)
|
||
|
MULAx.xyzw ACC, VF19, VF16x IADDIU VI15, VI00, 1
|
||
|
MADDAy.xyzw ACC, VF20, VF16y NOP
|
||
|
MADDAz.xyzw ACC, VF21, VF16z IAND VI15, VI10, VI15
|
||
|
MADDw.xyzw VF26, VF22, VF16w NOP
|
||
|
NOP IBNE VI15, VI00, even
|
||
|
NOP NOP
|
||
|
odd: NOP IADDIU VI09, VI00, 701
|
||
|
NOP IADDIU VI04, VI00, 703
|
||
|
NOP IADDIU VI05, VI00, 803
|
||
|
NOP IADDIU VI03, VI00, 700
|
||
|
NOP B LOOPu
|
||
|
even: NOP NOP
|
||
|
NOP IADDIU VI09, VI00, 803
|
||
|
NOP IADDIU VI04, VI00, 801
|
||
|
NOP IADDIU VI05, VI00, 701
|
||
|
NOP IADDIU VI03, VI00, 800
|
||
|
LOOPu: NOP LQI.xyzw VF17, (VI01++)
|
||
|
NOP IADDIU VI15, VI00, 1
|
||
|
NOP NOP
|
||
|
NOP IAND VI15, VI08, VI15
|
||
|
MULAx.xyzw ACC, VF23, VF17x NOP
|
||
|
MADDAy.xyzw ACC, VF24, VF17y NOP
|
||
|
MADDAz.xyzw ACC, VF25, VF17z NOP
|
||
|
MADDw.xyzw VF18, VF26, VF17w NOP
|
||
|
NOP IADDI VI11, VI11, -1
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP SQI.xyzw VF18, (VI12++)
|
||
|
NOP NOP
|
||
|
NOP IBNE VI11, VI00, LOOPu
|
||
|
NOP NOP
|
||
|
NOP IBEQ VI15, VI00, LOOPv
|
||
|
NOP IADDIU VI08, VI08, 1
|
||
|
NOP IADDIU VI12, VI00, 320
|
||
|
NOP IADDIU VI11, VI00, 9
|
||
|
out: NOP LQ.xyzw VF19, 0(VI12)
|
||
|
NOP LQ.xyzw VF20, 9(VI12)
|
||
|
NOP IADDI VI11, VI11, -1
|
||
|
NOP IADDIU VI12, VI12, 1
|
||
|
NOP NOP
|
||
|
SUB.xyzw VF20, VF20, VF19 NOP
|
||
|
MULAx.xyzw ACC, VF04, VF19x NOP
|
||
|
MADDAy.xyzw ACC, VF05, VF19y NOP
|
||
|
MADDAz.xyzw ACC, VF06, VF19z NOP
|
||
|
MADDw.xyzw VF19, VF07, VF19w ERLENG P, VF20
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP DIV Q, VF00w, VF19w
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
MULq.xyzw VF19, VF19, Q NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
FTOI4.xyzw VF19, VF19 NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP MFP.w VF20, P
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
MULw.xyz VF20, VF20, VF20w NOP
|
||
|
NOP NOP
|
||
|
ADDx.w VF21, VF00, VF00x NOP
|
||
|
NOP NOP
|
||
|
MULAx.xyz ACC, VF12, VF20x NOP
|
||
|
MADDAy.xyz ACC, VF13, VF20y NOP
|
||
|
MADDz.xyz VF20, VF14, VF20z NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
MAXx.xyzw VF20, VF20, VF00x NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
MULAx.xyzw ACC, VF08, VF20x NOP
|
||
|
MADDAy.xyzw ACC, VF09, VF20y NOP
|
||
|
MADDAz.xyzw ACC, VF10, VF20z NOP
|
||
|
MADDw.xyzw VF20, VF11, VF20w NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
MUL.xyzw VF20, VF20, VF02 NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
MINI.xyzw VF20, VF20, VF01 NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
FTOI0.xyzw VF20, VF20 NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP SQI.xyzw VF20, (VI09++)
|
||
|
NOP SQI.xyzw VF19, (VI09++)
|
||
|
NOP IADDIU VI09, VI09, 2
|
||
|
NOP IBNE VI11, VI00, out
|
||
|
NOP NOP
|
||
|
NOP IADDIU VI15, VI00, 9
|
||
|
NOP NOP
|
||
|
NOP IBEQ VI10, VI15, vret
|
||
|
NOP NOP
|
||
|
NOP IADDIU VI11, VI00, 9
|
||
|
copy: NOP LQI.xyzw VF20, (VI05++)
|
||
|
NOP LQI.xyzw VF19, (VI05++)
|
||
|
NOP IADDIU VI05, VI05, 2
|
||
|
NOP IADDI VI11, VI11, -1
|
||
|
NOP SQI.xyzw VF20, (VI04++)
|
||
|
NOP SQI.xyzw VF19, (VI04++)
|
||
|
NOP IADDIU VI04, VI04, 2
|
||
|
NOP IBNE VI11, VI00, copy
|
||
|
NOP NOP
|
||
|
NOP SQ.xyzw VF03, 0(VI03)
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP NOP
|
||
|
NOP XGKICK VI03
|
||
|
vret: NOP IADDI VI10, VI10, -1
|
||
|
NOP IADDIU VI12, VI00, 320
|
||
|
NOP IADDIU VI02, VI02, 1
|
||
|
NOP IBNE VI10, VI00, LOOPv
|
||
|
NOP IADD VI06, VI00, VI07
|
||
|
NOP IADDI VI13, VI13, -1
|
||
|
NOP IADDIU VI07, VI07, 32
|
||
|
NOP IBNE VI13, VI00, START
|
||
|
NOP NOP
|
||
|
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
|