old-cross-binutils/sim/testsuite/sky/sce_test1.vuasm
Jillian Ye 5087a6057a sce* : files added for the SCE (feb28) testsuite (modified).
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.

: ----------------------------------------------------------------------
1998-04-07 16:23:41 +00:00

256 lines
7.8 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 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 LQI.xyzw VF02, (VI05++)
NOP IADDIU VI01, VI00, 0
NOP IADDIU VI02, VI00, 20
NOP IADDIU VI06, VI00, 40
NOP IADDIU VI07, VI00, 40
NOP IADDIU VI04, VI00, 40
NOP IADDIU VI13, VI00, 4
NOP IADDIU VI12, VI00, 120
Rot: NOP IADDIU VI01, VI00, 0
NOP IADDIU VI02, VI00, 20
NOP IADDIU VI10, VI00, 17
NOP IADDIU VI11, VI00, 16
NOP IADDIU VI09, VI00, 120
NOP IADDI VI13, VI13, -1
NOP IADD VI06, VI00, VI04
NOP IADD VI07, VI00, VI04
Rot1: NOP LQI.xyzw VF30, (VI06++)
NOP ISUBIU VI11, VI11, 1
NOP NOP
NOP 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
NOP NOP
NOP NOP
NOP NOP
NOP SQI.xyzw VF31, (VI07++)
NOP NOP
NOP IBNE VI11, VI00, Rot1
NOP NOP
NOP IADDIU VI11, VI00, 17
NOP IADD VI06, VI00, VI04
NOP IADD VI04, VI00, VI07
NOP IADD VI07, VI00, VI06
LOOPu: NOP LQI.xyzw VF16, (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 NOP
MADDAy.xyzw ACC, VF20, VF16y NOP
MADDAz.xyzw ACC, VF21, VF16z NOP
MADDw.xyzw VF26, VF22, VF16w NOP
Lu: NOP LQI.xyzw VF17, (VI01++)
NOP NOP
NOP NOP
NOP NOP
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, Lu
NOP NOP
NOP IADD VI06, VI00, VI07
NOP IADDIU VI01, VI00, 0
NOP IADDIU VI11, VI00, 17
NOP IADDI VI10, VI10, -1
NOP NOP
NOP IBNE VI10, VI00, LOOPu
NOP NOP
NOP IADDIU VI09, VI00, 501
NOP IADDIU VI10, VI00, 17
NOP IADDIU VI11, VI00, 16
NOP IADDIU VI12, VI00, 500
NOP IADDIU VI06, VI00, 120
NOP IADDIU VI14, VI00, 1
out: NOP LQ.xyzw VF30, 0(VI06)
NOP LQ.xyzw VF29, 17(VI06)
NOP LQ.xyzw VF28, 1(VI06)
NOP NOP
NOP DIV Q, VF00w, VF30w
SUB.xyz VF27, VF30, VF28 IADDIU VI06, VI06, 1
SUB.xyz VF26, VF30, VF29 IADDI VI10, VI10, -1
NOP LQ.xyzw VF25, 34(VI06)
NOP LQ.xyzw VF24, 18(VI06)
OPMULA.xyz ACC, VF27, VF26 NOP
OPMSUB.xyz VF27, VF26, VF27 NOP
NOP NOP
SUB.xyz VF22, VF29, VF24 NOP
SUB.xyz VF23, VF29, VF30 NOP
NOP ERLENG P, VF27
NOP NOP
NOP NOP
OPMULA.xyz ACC, VF23, VF22 NOP
OPMSUB.xyz VF23, VF22, VF23 NOP
NOP WAITP
NOP MFP.w VF27, P
MULq.xyzw VF18, VF30, Q NOP
NOP DIV Q, VF00w, VF29w
NOP ERLENG P, VF23
MULw.xyz VF27, VF27, VF27w NOP
ADDx.w VF26, VF00, VF00x NOP
ADDx.w VF22, VF00, VF00x NOP
NOP NOP
NOP NOP
MULAx.xyz ACC, VF12, VF27x NOP
MADDAy.xyz ACC, VF13, VF27y NOP
MADDz.xyz VF26, VF14, VF27z NOP
FTOI4.xyzw VF18, VF18 NOP
NOP NOP
NOP NOP
MAXx.xyzw VF26, VF26, VF00x NOP
NOP NOP
NOP NOP
NOP NOP
MULAx.xyzw ACC, VF08, VF26x NOP
MADDAy.xyzw ACC, VF09, VF26y NOP
MADDAz.xyzw ACC, VF10, VF26z NOP
MADDw.xyzw VF27, VF11, VF26w NOP
MULq.xyzw VF19, VF29, Q NOP
NOP WAITP
NOP MFP.w VF23, P
NOP NOP
MUL.xyzw VF27, VF27, VF02 NOP
NOP NOP
MULw.xyz VF23, VF23, VF23w NOP
NOP NOP
MINI.xyzw VF27, VF27, VF01 NOP
NOP NOP
MULAx.xyz ACC, VF12, VF23x NOP
MADDAy.xyz ACC, VF13, VF23y NOP
MADDz.xyz VF22, VF14, VF23z NOP
FTOI0.xyzw VF27, VF27 NOP
NOP NOP
NOP NOP
NOP NOP
NOP SQI.xyzw VF27, (VI09++)
NOP SQI.xyzw VF18, (VI09++)
NOP NOP
NOP NOP
MAXx.xyzw VF22, VF22, VF00x NOP
NOP NOP
NOP NOP
NOP NOP
MULAx.xyzw ACC, VF08, VF22x NOP
MADDAy.xyzw ACC, VF09, VF22y NOP
MADDAz.xyzw ACC, VF10, VF22z NOP
MADDw.xyzw VF23, VF11, VF22w NOP
FTOI4.xyzw VF19, VF19 NOP
NOP NOP
NOP NOP
MUL.xyzw VF23, VF23, VF02 NOP
NOP NOP
NOP NOP
NOP NOP
MINI.xyzw VF23, VF23, VF01 NOP
NOP NOP
NOP NOP
NOP NOP
FTOI0.xyzw VF23, VF23 NOP
NOP NOP
NOP NOP
NOP SQI.xyzw VF23, (VI09++)
NOP SQI.xyzw VF19, (VI09++)
NOP NOP
NOP IBNE VI10, VI00, out
NOP NOP
NOP LQ.xyzw VF30, 0(VI08)
NOP NOP
NOP NOP
NOP NOP
NOP SQ.xyzw VF30, 0(VI12)
NOP NOP
NOP NOP
NOP NOP
NOP XGKICK VI12
NOP NOP
NOP IADDI VI11, VI11, -1
NOP IADDIU VI09, VI00, 501
NOP IADDIU VI10, VI00, 17
NOP IADDIU VI12, VI00, 500
NOP IBNE VI11, VI00, out
NOP NOP
NOP IADDIU VI12, VI00, 120
NOP IBNE VI13, VI00, Rot
NOP NOP
NOP[e] NOP
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