Count Up

Submission Date: 2024/9/19 4:11:26
Status: Accepted
Author: siotouto
Lines: 42

VSM

imm i"0x2000" $lr2
imm i"0x4000" $lr4
imm i"0x6000" $lr6
# Cycle << 13 (32768/8192)
# (ilnot)ALU使
imm i"1" $ls0
imm i"0b000111" $nowrite
iand $peid $aluf $nowrite
ilsl $aluf $ls0 $nowrite
iadd $lr0v $aluf $lr0v
# MABID[3]PE[0,1] << 1 (= W_2)
# MPPX
imm i"4" $ls0
imm i"0b001" $nowrite
iand $l1bid $aluf $nowrite
ilsl $aluf $ls0 $nowrite
iadd $lr0v $aluf $lr0v
# L1BID[2] << 4 (= MAB[3]+PE + W_2)
# BMPPX (32)
imm i"5" $ls0
ilsl $l2bid $aluf $nowrite
iadd $lr0v $aluf $lr0v
# L2BID << 5 (= L1B[2] + MAB[3]+PE + W_2)
# CCCBMPPX (256)
imm i"7" $ls0
imm i"0b110" $nowrite
iand $l1bid $aluf $nowrite
ilsl $aluf $ls0 $nowrite
iadd $lr0v $aluf $lr0v
# L1BID[0,1] << 7+1 (= L2B + MAB[2]+PE + W_2 (+L1BID[2]))
# BBCCCBMPPX (1024)
imm i"7" $ls0
imm i"0b111000" $nowrite
iand $peid $aluf $nowrite
ilsl $aluf $ls0 $nowrite
iadd $lr0v $aluf $lr0v
# MABID[0,1,2] << 7+3 (= L1B + L2B + W_2 (+MAB[2]+PE))
# Cycle MMMBBCCCBMPPX (8192)
iinc $aluf $nowrite
linc $aluf $lr100v
l1bmd $aluf $lb0 # 16(MAB)*4(PE)*4(Cycle) = 256(LW) (rest 8(L1B)*8(L2B))
nop/2
l2bmd $lb0 $lc0
l2bmd $lb32 $lc256
l2bmd $lb64 $lc512
l2bmd $lb96 $lc768
l2bmd $lb128 $lc1024
l2bmd $lb160 $lc1280
l2bmd $lb192 $lc1536
l2bmd $lb224 $lc1792
nop
mvd/n2048 $lc0 $p0@0 #
mvp/n16384 $p0@0 $d0@0
quit
imm i"4" $ls2
imm i"2" $ls4
imm i"0" $lr0
imm i"1" $lr2
imm i"2" $lr4
imm i"3" $lr6
ilsl $l2bid $ls0 $nowrite # 0bCCC000
iadd $l1bid $aluf $nowrite # 0bCCCBBB
ilsl $aluf $ls2 $nowrite # 0bCCCBBB0000
iadd $aluf $lr0v $nowrite # 0bCCCBBBXXX
ilsl $aluf $ls4 $nowrite # 0bCCCBBBXXX0000
iadd $mabid $aluf $nowrite # 0bCCCBBBXXXAAAA
ilsl $aluf $ls0 $nowrite # 0bCCCBBBXXXAAAA000
iadd $subpeid $aluf $nowrite # 0bCCCBBBAAAAXXX0PP
iadd $subpeid $aluf $nowrite # 0bCCCBBBAAAAXXXPP0
iinc $aluf $nowrite # PP1
linc $aluf $lr100v # PPX
l1bmd $aluf $lb0
nop/3
l2bmd $lb0 $lc0
nop/3
mvp/n256 $lc0 $d0
nop/3
# MPPX
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Standard Output

ACCEPTED!! score=42 j=40 m=2 bytes=1271
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Standard Error

------------------- vsm --------------------
imm i"0x2000" $lr2
imm i"0x4000" $lr4
imm i"0x6000" $lr6
# Cycle << 13 (32768/8192)
# (ilnot)ALU使
imm i"1" $ls0
imm i"0b000111" $nowrite
iand $peid $aluf $nowrite
ilsl $aluf $ls0 $nowrite
iadd $lr0v $aluf $lr0v
# MABID[3]PE[0,1] << 1 (= W_2)
# MPPX
imm i"4" $ls0
imm i"0b001" $nowrite
iand $l1bid $aluf $nowrite
ilsl $aluf $ls0 $nowrite
iadd $lr0v $aluf $lr0v
# L1BID[2] << 4 (= MAB[3]+PE + W_2)
# BMPPX (32)
imm i"5" $ls0
ilsl $l2bid $aluf $nowrite
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX