holey-bytes/lang/tests/son_tests_wrong_dead_code_elimination.txt
2024-11-13 10:28:16 +01:00

28 lines
490 B
Plaintext

main:
ADDI64 r254, r254, -1d
LI64 r6, 255d
LI8 r1, 1b
ST r0, r254, 0a, 1h
2: LD r8, r254, 0a, 1h
ANDI r10, r8, 255d
CMPU r2, r10, r6
CMPUI r2, r2, 0d
NOT r2, r2
CMPU r3, r10, r0
CMPUI r3, r3, 0d
NOT r3, r3
OR r5, r3, r2
ANDI r5, r5, 255d
JNE r5, r0, :0
JMP :1
0: SUB8 r1, r0, r1
1: ADD8 r2, r8, r1
ST r2, r254, 0a, 1h
JMP :2
ADDI64 r254, r254, 1d
JALA r0, r31, 0a
timed out
code size: 178
ret: 1
status: Ok(())