Submission Date: 2024/11/22 23:22:27
Status:
Accepted
Author: gaiwee5doh8daiV5
Lines: 38
VSM
imm i"8" $lt
imm i"255" $r1 # lr0 = 0x00000000000000FF
nop/2
llsl $lr0 $lt $lr2 # 0x000000000000FF00
llsl $aluf $lt $lr4
llsl $aluf $lt $lr6
llsl $aluf $lt $lr8
llsl $aluf $lt $lr10
llsl $aluf $lt $lr12
llsl $aluf $lt $lr14 # 0xFF00000000000000
# d getd $lr2n0c0b0m0p0 1
# d getd $lr4n0c0b0m0p0 1
# d getd $lr14n0c0b0m0p0 1
imm i"56" $r17 # lr16 = 56
imm i"40" $r19 # lr18 = 40
imm i"24" $r21 # lr20 = 24
imm i"8" $r23 # lr22 = 8
# d getd $lr16n0c0b0m0p0 1
d getd $lm0n0c0b0m0 1
llsr $lm0 $lr16 $nowrite
land $aluf $lr0 $ln0
llsr $lm0 $lr18 $nowrite
land $aluf $lr2 $nowrite
ladd $ln0 $aluf $ln0
llsr $lm0 $lr20 $nowrite
land $aluf $lr4 $nowrite
ladd $ln0 $aluf $ln0
llsr $lm0 $lr22 $nowrite
land $aluf $lr6 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr16 $nowrite
land $aluf $lr14 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr18 $nowrite
land $aluf $lr12 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr20 $nowrite
land $aluf $lr10 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr22 $nowrite
land $aluf $lr8 $nowrite
ladd $ln0 $aluf $ln0
d getd $ln0n0c0b0m0 1
Standard Output
ACCEPTED!! score=38 j=38 m=0 bytes=824
Standard Error
------------------- vsm --------------------
# ======= In(0): ((4_PE:1))@LM0 / ULong =======
d set $lm0p0 1 5FE1DC66CBEA3DB3 # values=[6909045637428952499] / ULong @[0]
d set $lm0p1 1 F362035C2EF5950E # values=[17537583593393853710] / ULong @[1]
d set $lm0p2 1 BB63F46AC799D447 # values=[13502904847239337031] / ULong @[2]
d set $lm0p3 1 9941AEBC98CB2C14 # values=[11043299886329703444] / ULong @[3]
imm i"8" $lt
imm i"255" $r1 # lr0 = 0x00000000000000FF
nop/2
llsl $lr0 $lt $lr2 # 0x000000000000FF00
llsl $aluf $lt $lr4
llsl $aluf $lt $lr6
llsl $aluf $lt $lr8
llsl $aluf $lt $lr10
llsl $aluf $lt $lr12
llsl $aluf $lt $lr14 # 0xFF00000000000000
# d getd $lr2n0c0b0m0p0 1
# d getd $lr4n0c0b0m0p0 1
# d getd $lr14n0c0b0m0p0 1
imm i"56" $r17 # lr16 = 56
imm i"40" $r19 # lr18 = 40
imm i"24" $r21 # lr20 = 24
imm i"8" $r23 # lr22 = 8
# d getd $lr16n0c0b0m0p0 1
d getd $lm0n0c0b0m0 1
llsr $lm0 $lr16 $nowrite
land $aluf $lr0 $ln0
llsr $lm0 $lr18 $nowrite
land $aluf $lr2 $nowrite
ladd $ln0 $aluf $ln0
llsr $lm0 $lr20 $nowrite
land $aluf $lr4 $nowrite
ladd $ln0 $aluf $ln0
llsr $lm0 $lr22 $nowrite
land $aluf $lr6 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr16 $nowrite
land $aluf $lr14 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr18 $nowrite
land $aluf $lr12 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr20 $nowrite
land $aluf $lr10 $nowrite
ladd $ln0 $aluf $ln0
llsl $lm0 $lr22 $nowrite
land $aluf $lr8 $nowrite
ladd $ln0 $aluf $ln0
d getd $ln0n0c0b0m0 1
# ======= Out(0): ((4_PE:1))@LM1 / ULong =======
d getd $ln0n0c0b0m0p0 1 # expect=[12915737465693462879] / ULong @[0]
d getd $ln0n0c0b0m0p1 1 # expect=[1051015667521905395] / ULong @[1]
d getd $ln0n0c0b0m0p2 1 # expect=[5175930953527485371] / ULong @[2]
d getd $ln0n0c0b0m0p3 1 # expect=[1453760636594831769] / ULong @[3]
------------------- asm --------------------
j 010000000000000000000010100000000000001010000000000000000000000100000000000000000000001000000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000
j 010000000000000000000000010100000000100010000000000000000000000100000000000000000011111111000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000001000000000000000000000000000000011111111000000000000000000001000000000000000000000000000000011111111000000000000000000001000000000000000000000000000000011111111000000000000
j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000001001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110000000010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000010001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110001100010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000100000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000011001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110001100010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000110000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000100001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110001100010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000101001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110001100010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000001010000000000000000000000000000000000000000000000000000000001010000000000000000000000000000000000000000000000000000000001010000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000110001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110001100010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000001100000000000000000000000000000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000001100000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100000111001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100010110001100010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000001110000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000
j 010000000000000000000000010100001000100010000000000000000000000100000000000000000000111000000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000010001000000000000000000000000000000000111000000000000000000010001000000000000000000000000000000000111000000000000000000010001000000000000000000000000000000000111000000000000000
j 010000000000000000000000010100001001100010000000000000000000000100000000000000000000101000000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000010011000000000000000000000000000000000101000000000000000000010011000000000000000000000000000000000101000000000000000000010011000000000000000000000000000000000101000000000000000
j 010000000000000000000000010100001010100010000000000000000000000100000000000000000000011000000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000010101000000000000000000000000000000000011000000000000000000010101000000000000000000000000000000000011000000000000000000010101000000000000000000000000000000000011000000000000000
j 010000000000000000000000010100001011100010000000000000000000000100000000000000000000001000000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000010111000000000000000000000000000000000001000000000000000000010111000000000000000000000000000000000001000000000000000000010111000000000000000000000000000000000001000000000000000
d getd $lm0n0c0b0m0 1
j 010000000000000000000000000000000000001010000100000000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100011000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000100100000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100011000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010010000000000000000000000000000000000000000000000000000000010010000000000000000000000000000000000000000000000000000000010010000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000101000000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100011000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010100000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000001000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000100000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000101100000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100011000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010110000000000000000000000000000000000000000000000000000000010110000000000000000000000000000000000000000000000000000000010110000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000001100000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000110000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000100000000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100010110000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000011100000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000001110000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000100100000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100010110000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010010000000000000000000000000000000000000000000000000000000010010000000000000000000000000000000000000000000000000000000010010000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000011000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000001100000000000000000000000000000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000001100000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000101000000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100010110000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010100000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000010100000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000001010000000000000000000000000000000000000000000000000000000001010000000000000000000000000000000000000000000000000000000001010000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000101100000000000000100000000000000000000000000000001000000000000000000000000000000000000000011111111100010110000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000010110000000000000000000000000000000000000000000000000000000010110000000000000000000000000000000000000000000000000000000010110000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000010000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100001010001100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000101000000000000000010000000000000000000011111111100000000000100110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
d getd $ln0n0c0b0m0 1
------------------- emu --------------------
DEBUG-LM1(n0c0b0m0p0,0):(-7.27246e-62) (0xb33deacb66dce15f) #d getd $ln0n0c0b0m0p0 1 # expect=[12915737465693462879] / ULong @[0]
DEBUG-LM1(n0c0b0m0p1,0):(2.10752e-238) (0x0e95f52e5c0362f3) #d getd $ln0n0c0b0m0p1 1 # expect=[1051015667521905395] / ULong @[1]
DEBUG-LM1(n0c0b0m0p2,0):(1.09532e+38) (0x47d499c76af463bb) #d getd $ln0n0c0b0m0p2 1 # expect=[5175930953527485371] / ULong @[2]
DEBUG-LM1(n0c0b0m0p3,0):(1.7107e-211) (0x142ccb98bcae4199) #d getd $ln0n0c0b0m0p3 1 # expect=[1453760636594831769] / ULong @[3]
------------------- inputs --------------------
[ 6909045637428952499, 17537583593393853710, 13502904847239337031,
11043299886329703444]
------------------- expect --------------------
[12915737465693462879, 1051015667521905395, 5175930953527485371,
1453760636594831769]
------------------- actual --------------------
[12915737465693462879, 1051015667521905395, 5175930953527485371,
1453760636594831769]
------------------- check result --------------------