139 lines
4.6 KiB
Text
139 lines
4.6 KiB
Text
|
.vu
|
||
|
main: 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, 912
|
||
|
NOP IADDIU VI02, VI00, 904
|
||
|
NOP IADDIU VI03, VI00, 920
|
||
|
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 VI08, 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 NOP
|
||
|
NOP[e] NOP
|
||
|
NOP NOP
|
||
|
START0: NOP XITOP VI06
|
||
|
NOP IADDIU VI07, VI06, 70
|
||
|
NOP IADDIU VI10, VI06, 140
|
||
|
NOP IADDIU VI09, VI06, 211
|
||
|
NOP IADDIU VI12, VI06, 211
|
||
|
NOP IADDIU VI13, VI06, 210
|
||
|
NOP IADDIU VI14, VI06, 209
|
||
|
NOP IADDIU VI11, VI00, 60
|
||
|
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
|
||
|
MUL.xyzw VF26, VF26, VF26 NOP
|
||
|
MUL.xyzw VF26, VF26, VF26 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 LQI.xyzw VF18, (VI10++)
|
||
|
MADDw.xyzw VF24, VF11, VF26w IADDI VI11, VI11, -1
|
||
|
MULAx.xyz ACC, VF12, VF25x IADDIU VI12, VI12, 3
|
||
|
MADDAy.xyz ACC, VF13, VF25y SQ.xyzw VF23, 0(VI13)
|
||
|
MULq.xyzw VF28, VF29, Q IADDIU VI13, VI13, 3
|
||
|
MULq.xyz VF17, VF18, Q IADDIU VI14, VI14, 3
|
||
|
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 SQ.xyzw VF17, 0(VI14)
|
||
|
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 NOP
|
||
|
MUL.xyzw VF26, VF26, VF26 NOP
|
||
|
MUL.xyzw VF26, VF26, VF26 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
|