old-cross-binutils/sim/testsuite/sky/sce_test35.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

238 lines
7.1 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++)
START0: NOP XTOP VI07
NOP IADDIU VI13, VI00, 8
START: NOP IADDIU VI02, VI00, 20
NOP IADDIU VI10, VI00, 11
NOP IADDIU VI12, VI00, 320
NOP IADD VI06, VI00, VI07
LOOPv: NOP IADDIU VI01, VI00, 0
NOP IADDIU VI11, VI00, 11
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
LOOPu: 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, LOOPu
NOP NOP
NOP IADDI VI10, VI10, -1
NOP NOP
NOP IBNE VI10, VI00, LOOPv
NOP IADD VI06, VI00, VI07
NOP IADDIU VI11, VI00, 9
NOP IADDIU VI06, VI00, 332
out0: NOP IADDIU VI15, VI00, 1
NOP IADDIU VI03, VI00, 9
NOP IAND VI15, VI11, VI15
NOP IADDIU VI10, VI00, 9
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 VI12, VI00, 700
NOP B out
even: NOP NOP
NOP IADDIU VI09, VI00, 803
NOP IADDIU VI04, VI00, 801
NOP IADDIU VI05, VI00, 701
NOP IADDIU VI12, VI00, 800
out: NOP LQ.xyzw VF20, -11(VI06)
NOP LQ.xyzw VF29, 11(VI06)
NOP LQ.xyzw VF19, -1(VI06)
NOP LQ.xyzw VF28, 1(VI06)
NOP LQ.xyzw VF30, 0(VI06)
SUB.xyz VF26, VF29, VF20 NOP
NOP NOP
SUB.xyz VF27, VF19, VF28 NOP
NOP IADDI VI10, VI10, -1
NOP IADDIU VI06, VI06, 1
NOP NOP
OPMULA.xyz ACC, VF27, VF26 NOP
OPMSUB.xyz VF27, VF26, VF27 NOP
MULAx.xyzw ACC, VF04, VF30x NOP
MADDAy.xyzw ACC, VF05, VF30y NOP
MADDAz.xyzw ACC, VF06, VF30z NOP
MADDw.xyzw VF30, VF07, VF30w ERLENG P, VF27
NOP NOP
NOP NOP
NOP NOP
NOP DIV Q, VF00w, VF30w
NOP NOP
NOP NOP
NOP NOP
NOP NOP
NOP NOP
NOP NOP
NOP NOP
MULq.xyzw VF21, VF30, Q NOP
NOP NOP
NOP NOP
NOP NOP
FTOI4.xyzw VF21, VF21 NOP
NOP NOP
NOP NOP
NOP NOP
NOP NOP
NOP NOP
NOP NOP
NOP MFP.w VF27, P
NOP NOP
NOP NOP
NOP NOP
MULw.xyz VF27, VF27, VF27w NOP
NOP NOP
ADDx.w VF26, VF00, VF00x NOP
NOP NOP
MULAx.xyz ACC, VF12, VF27x NOP
MADDAy.xyz ACC, VF13, VF27y NOP
MADDz.xyz VF26, VF14, VF27z NOP
NOP 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
NOP NOP
NOP NOP
NOP NOP
MUL.xyzw VF27, VF27, VF02 NOP
NOP NOP
NOP NOP
NOP NOP
MINI.xyzw VF27, VF27, VF01 NOP
NOP NOP
NOP NOP
NOP NOP
FTOI0.xyzw VF27, VF27 NOP
NOP NOP
NOP NOP
NOP NOP
NOP SQI.xyzw VF27, (VI09++)
NOP SQI.xyzw VF21, (VI09++)
NOP NOP
NOP IADDIU VI09, VI09, 2
NOP IBNE VI10, VI00, out
NOP NOP
NOP IBEQ VI11, VI03, vret
NOP NOP
copy: NOP LQI.xyzw VF30, (VI05++)
NOP LQI.xyzw VF29, (VI05++)
NOP IADDI VI03, VI03, -1
NOP IADDIU VI05, VI05, 2
NOP SQI.xyzw VF30, (VI04++)
NOP SQI.xyzw VF29, (VI04++)
NOP IADDIU VI04, VI04, 2
NOP IBNE VI03, VI00, copy
NOP NOP
NOP SQ.xyzw VF03, 0(VI12)
NOP NOP
NOP NOP
NOP NOP
NOP XGKICK VI12
vret: NOP IADDI VI11, VI11, -1
NOP IADDIU VI06, VI06, 2
NOP IBNE VI11, VI00, out0
NOP NOP
NOP IADDI VI13, VI13, -1
NOP IADDIU VI07, VI07, 16
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