holey-bytes/lang/tests/son_tests_wide_ret.txt
2024-10-26 00:34:22 +02:00

60 lines
1.3 KiB
Plaintext

main:
ADDI64 r254, r254, -48d
ST r31, r254, 32a, 16h
ADDI64 r32, r254, 16d
LI64 r4, 0d
CP r3, r4
JAL r31, r0, :maina
ST r1, r254, 16a, 16h
ADDI64 r7, r254, 0d
BMC r32, r7, 16h
LD r12, r254, 12a, 1h
LD r11, r254, 3a, 1h
SUB8 r3, r11, r12
ANDI r1, r3, 255d
LD r31, r254, 32a, 16h
ADDI64 r254, r254, 48d
JALA r0, r31, 0a
maina:
ADDI64 r254, r254, -56d
ST r31, r254, 40a, 16h
ADDI64 r32, r254, 36d
JAL r31, r0, :small_struct
ST r1, r254, 36a, 4h
ADDI64 r9, r254, 32d
BMC r32, r9, 4h
LI8 r2, 0b
ADDI64 r1, r254, 24d
ST r2, r254, 24a, 1h
ST r2, r254, 25a, 1h
ST r2, r254, 26a, 1h
LI8 r7, 3b
ST r7, r254, 27a, 1h
LI8 r10, 1b
ST r10, r254, 28a, 1h
ST r2, r254, 29a, 1h
ST r2, r254, 30a, 1h
ST r2, r254, 31a, 1h
ADDI64 r4, r254, 16d
BMC r1, r4, 8h
ADDI64 r7, r254, 0d
BMC r1, r7, 8h
ADDI64 r10, r7, 8d
BMC r4, r10, 8h
LD r1, r7, 0a, 16h
LD r31, r254, 40a, 16h
ADDI64 r254, r254, 56d
JALA r0, r31, 0a
small_struct:
ADDI64 r254, r254, -4d
LI16 r2, 0h
ADDI64 r3, r254, 0d
ST r2, r254, 0a, 2h
ST r2, r254, 2a, 2h
LD r1, r3, 0a, 4h
ADDI64 r254, r254, 4d
JALA r0, r31, 0a
code size: 546
ret: 2
status: Ok(())