holey-bytes/lang/tests/son_tests_wrong_dead_code_elimination.txt

28 lines
517 B
Plaintext

main:
ADDI64 r254, r254, -1d
LI64 r14, 255d
LI8 r13, 1b
ST r0, r254, 0a, 1h
2: LD r15, r254, 0a, 1h
ANDI r16, r15, 255d
CMPU r17, r16, r14
CMPUI r17, r17, 0d
NOT r17, r17
CMPU r16, r16, r0
CMPUI r16, r16, 0d
NOT r16, r16
OR r16, r16, r17
ANDI r16, r16, 255d
JNE r16, r0, :0
JMP :1
0: SUB8 r13, r0, r13
1: ADD8 r15, r15, r13
ST r15, r254, 0a, 1h
JMP :2
ADDI64 r254, r254, 1d
JALA r0, r31, 0a
timed out
code size: 178
ret: 0
status: Ok(())