Submission Date: 2024/12/6 17:26:25
Status:
Accepted
Author: yupiteru
Lines: 10
VSM
imm i"0x27170008" $n2/1000
imm i"0x4E2C2077" $n3/1000
imm i"0x6F726C64" $r0/1000
imm i"0x21000000" $r1/1000
lxor $ln0j0 $lr[8,8,8,0] $nowrite
l1bmm@0 $aluf $lb20
nop/2
l2bm@0 $lb0 $lc32
mvp/n64 $lc64@0.0 $d0@0
d get $lr0n0c0b0m0p0 10
d get $lb0n0c0b0 32
d get $lc0n0c0 32
quit
l1bmd $aluf $lb0
nop/2
l2bmd $lb0 $lc0
nop
mvd/n2048 $lc0 $p0@0
mvp/n16384 $p0@0 $d0@0
d get $lr0n0c0b1m0p0 6
d get $ls128n0c0b1m0p0 4
Standard Output
ACCEPTED!! score=10 j=9 m=1 bytes=411
Standard Error
------------------- vsm --------------------
imm i"0x27170008" $n2/1000
imm i"0x4E2C2077" $n3/1000
imm i"0x6F726C64" $r0/1000
imm i"0x21000000" $r1/1000
lxor $ln0j0 $lr[8,8,8,0] $nowrite
l1bmm@0 $aluf $lb20
nop/2
l2bm@0 $lb0 $lc32
mvp/n64 $lc64@0.0 $d0@0
d get $lr0n0c0b0m0p0 10
d get $lb0n0c0b0 32
d get $lc0n0c0 32
quit
l1bmd $aluf $lb0
nop/2
l2bmd $lb0 $lc0
nop
mvd/n2048 $lc0 $p0@0
mvp/n16384 $p0@0 $d0@0
d get $lr0n0c0b1m0p0 6
d get $ls128n0c0b1m0p0 4
# ======= Out(0): ((2:1, 8_W:1))@DRAM / String =======
d getd $d0n0 1 # expect="Hello, w" / String @[0],[1],[2],[3],[4],[5],[6],[7]
d getd $d1n0 1 # expect="orld!" / String @[8],[9],[10],[11],[12]
------------------- asm --------------------
j 011100000000100000000000000000000000001010000000000000000000000100000000000101000000001000110000101000000000010000000000000000000000000011111111100111110100111000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000001000000000000010000000000000000000000000000000000000000000001000000000000010000000000000000000000000000000000000000000001000000000000010
j 011100000000100000000000000000000000001010000000000000000000000100000000000011000001110111000010101000000000011000000000000000000000000011111111101111110001110001000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000001110111000000000011000000000000000000000000000000000000000001110111000000000011000000000000000000000000000000000000000001110111000000000011
j 011100001000000000000000010100000000000010000000000000000000000100000000000100110001100100100110000000000000000000000000000000000000000011111111101111110101111011000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000110001100100000000000000000000000000000000000000000000000000110001100100000000000000000000000000000000000000000000000000110001100100000000000000
j 011100001000000000000000010100000000100010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100111110100001000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000010000000000000000100000000000000000000000000000000000000000000000100010000000000000000000011111111100001110000100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000001101000000001010000000000000110000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000101000000000100000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
m 1110000000000000000000000000000000000000000000000000000000000000001000000000010000
d get $lr0n0c0b0m0p0 10
d get $lb0n0c0b0 32
d get $lc0n0c0 32
------------------- emu --------------------
DEBUG-DRAM(n0,0):(5.83204e+40) (0x48656c6c6f2c2077) #d getd $d0n0 1 # expect="Hello, w" / String @[0],[1],[2],[3],[4],[5],[6],[7]
DEBUG-DRAM(n0,1):(6.98307e+228) (0x6f726c6421000000) #d getd $d1n0 1 # expect="orld!" / String @[8],[9],[10],[11],[12]
------------------- inputs --------------------
------------------- expect --------------------
Hello, world!
------------------- actual --------------------
Hello, world!
------------------- check result --------------------