holey-bytes/lang/tests/son_tests_wrong_dead_code_elimination.txt

28 lines
517 B
Plaintext
Raw Permalink Normal View History

2024-11-12 12:02:29 -06:00
main:
ADDI64 r254, r254, -1d
ST r0, r254, 0a, 1h
2024-11-15 15:35:03 -06:00
LI64 r14, 255d
LI8 r13, 1b
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
2024-11-12 12:02:29 -06:00
JMP :1
2024-11-15 15:35:03 -06:00
0: SUB8 r13, r0, r13
1: ADD8 r15, r15, r13
ST r15, r254, 0a, 1h
2024-11-12 12:02:29 -06:00
JMP :2
ADDI64 r254, r254, 1d
2024-11-12 12:02:29 -06:00
JALA r0, r31, 0a
timed out
code size: 178
2024-11-15 15:35:03 -06:00
ret: 0
2024-11-12 12:02:29 -06:00
status: Ok(())