holey-bytes/lang/tests/son_tests_overwrite_aliasing_overoptimization.txt
2024-11-15 22:35:03 +01:00

37 lines
782 B
Plaintext

main:
ADDI64 r254, r254, -72d
ST r31, r254, 24a, 48h
ADDI64 r32, r254, 0d
LI64 r33, 1d
ST r33, r254, 16a, 8h
LI64 r34, 4d
ST r34, r254, 0a, 8h
ST r33, r254, 8a, 8h
CP r1, r32
JAL r31, r0, :opaque
ST r1, r32, 0a, 16h
LD r34, r254, 8a, 8h
LD r35, r254, 16a, 8h
ADD64 r34, r35, r34
LD r32, r254, 0a, 8h
SUB64 r32, r32, r34
CP r1, r32
LD r31, r254, 24a, 48h
ADDI64 r254, r254, 72d
JALA r0, r31, 0a
opaque:
ADDI64 r254, r254, -32d
ST r32, r254, 16a, 16h
LI64 r13, 3d
ADDI64 r14, r254, 0d
ST r13, r254, 0a, 8h
LI64 r13, 2d
ST r13, r254, 8a, 8h
LD r1, r14, 0a, 16h
LD r32, r254, 16a, 16h
ADDI64 r254, r254, 32d
JALA r0, r31, 0a
code size: 339
ret: 0
status: Ok(())