x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_encoding.c_write16.c"
.intel_syntax noprefix
.text
.p2align 4
.type write16, @function
write16:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, esi
movzx esi, sil
sar ebx, 8
sub rsp, 8
.cfi_def_cfa_offset 32
call buf_write@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov esi, ebx
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp buf_write@PLT
.cfi_endproc
.LFE0:
.size write16, .-write16
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_encoding.c_write16.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type write16, %function
write16:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
mov r5, r0
and r1, r1, #255
bl buf_write
mov r0, r5
asr r1, r4, #8
pop {r4, r5, r6, lr}
b buf_write
.size write16, .-write16
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_encoding.c_write32.c"
.intel_syntax noprefix
.text
.p2align 4
.type write32, @function
write32:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, esi
movzx esi, si
sar ebx, 16
sub rsp, 8
.cfi_def_cfa_offset 32
call write16@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov esi, ebx
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp write16@PLT
.cfi_endproc
.LFE0:
.size write32, .-write32
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_encoding.c_write32.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type write32, %function
write32:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
mov r5, r0
lsl r1, r1, #16
lsr r1, r1, #16
bl write16
mov r0, r5
asr r1, r4, #16
pop {r4, r5, r6, lr}
b write16
.size write32, .-write32
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_encoding.c_write_utf8.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "invalid UCS character: \\U%08x"
.text
.p2align 4
.globl write_utf8
.type write_utf8, @function
write_utf8:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, esi
sub rsp, 8
.cfi_def_cfa_offset 32
cmp esi, 127
jle .L7
cmp esi, 2047
jle .L11
cmp esi, 65535
jle .L12
cmp esi, 2097151
jle .L13
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp error@PLT
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
sar esi, 18
or sil, -16
call buf_write@PLT
mov esi, ebp
sar esi, 12
and esi, 63
or sil, -128
.L9:
mov rdi, r12
call buf_write@PLT
mov esi, ebp
sar esi, 6
and esi, 63
or sil, -128
.L8:
mov rdi, r12
call buf_write@PLT
mov esi, ebp
and esi, 63
or sil, -128
.L7:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp buf_write@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
sar esi, 6
or sil, -64
jmp .L8
.p2align 4,,10
.p2align 3
.L12:
sar esi, 12
or sil, -32
jmp .L9
.cfi_endproc
.LFE0:
.size write_utf8, .-write_utf8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_encoding.c_write_utf8.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "invalid UCS character: \\U%08x\000"
.text
.align 2
.global write_utf8
.syntax unified
.arm
.fpu softvfp
.type write_utf8, %function
write_utf8:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r1, #127
ble .L8
cmp r1, #2048
push {r4, r5, r6, lr}
mov r4, r1
mov r5, r0
blt .L12
cmp r1, #65536
asrlt r1, r1, #12
orrlt r1, r1, #224
blt .L10
cmp r4, #2097152
blt .L13
pop {r4, r5, r6, lr}
ldr r0, .L14
b error
.L13:
asr r1, r4, #18
orr r1, r1, #240
bl buf_write
mov r0, r5
asr r1, r4, #12
and r1, r1, #63
orr r1, r1, #128
.L10:
bl buf_write
mov r0, r5
asr r1, r4, #6
and r1, r1, #63
orr r1, r1, #128
.L9:
bl buf_write
and r1, r4, #63
orr r1, r1, #128
mov r0, r5
pop {r4, r5, r6, lr}
.L8:
b buf_write
.L12:
asr r1, r1, #6
orr r1, r1, #192
b .L9
.L15:
.align 2
.L14:
.word .LC0
.size write_utf8, .-write_utf8
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_error.c_print_error.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\033[1;31m[%s]\033[0m "
.LC1:
.string "[%s] "
.LC2:
.string "%s: %s: "
.LC3:
.string "\n"
.text
.p2align 4
.type print_error, @function
print_error:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdx
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rsi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdi
mov edi, DWORD PTR stderr[rip]
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12d, r8d
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rcx
call fileno@PLT
mov edi, eax
call isatty@PLT
lea rsi, .LC0[rip]
mov edi, DWORD PTR stderr[rip]
mov rdx, r15
test rax, rax
lea rax, .LC1[rip]
cmove rsi, rax
xor eax, eax
call fprintf@PLT
mov edi, DWORD PTR stderr[rip]
mov rcx, r14
xor eax, eax
mov rdx, r13
lea rsi, .LC2[rip]
call fprintf@PLT
mov edi, DWORD PTR stderr[rip]
mov rsi, rbp
mov edx, r12d
call vfprintf@PLT
mov edi, DWORD PTR stderr[rip]
pop rbp
.cfi_def_cfa_offset 40
xor eax, eax
pop r12
.cfi_def_cfa_offset 32
lea rsi, .LC3[rip]
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp fprintf@PLT
.cfi_endproc
.LFE0:
.size print_error, .-print_error
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_error.c_print_error.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\033[1;31m[%s]\033[0m \000"
.align 2
.LC1:
.ascii "[%s] \000"
.align 2
.LC2:
.ascii "%s: %s: \000"
.align 2
.LC3:
.ascii "\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type print_error, %function
print_error:
@ args = 4, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r4, .L6
mov r6, r0
ldr r9, [r4]
mov r7, r1
mov r0, r9
mov r5, r3
mov r8, r2
ldr r10, [sp, #32]
bl fileno
bl isatty
mov ip, r0
ldr r3, .L6+4
cmp ip, #0
mov r2, r8
ldr r1, .L6+8
mov r0, r9
moveq r1, r3
bl fprintf
mov r3, r7
mov r2, r6
ldr r0, [r4]
ldr r1, .L6+12
bl fprintf
mov r1, r5
mov r2, r10
ldr r0, [r4]
bl vfprintf
ldr r0, [r4]
ldr r1, .L6+16
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b fprintf
.L7:
.align 2
.L6:
.word stderr
.word .LC1
.word .LC0
.word .LC2
.word .LC3
.size print_error, .-print_error
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_error.c_token_pos.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "(unknown)"
.LC1:
.string "%s:%d:%d"
.text
.p2align 4
.globl token_pos
.type token_pos, @function
token_pos:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR 8[rdi]
test rax, rax
je .L2
mov rsi, QWORD PTR [rax]
lea rax, .LC0[rip]
mov edx, DWORD PTR 4[rdi]
mov ecx, DWORD PTR [rdi]
lea rdi, .LC1[rip]
test rsi, rsi
cmove rsi, rax
jmp format@PLT
.p2align 4,,10
.p2align 3
.L2:
lea rax, .LC0[rip]
ret
.cfi_endproc
.LFE0:
.size token_pos, .-token_pos
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_error.c_token_pos.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "(unknown)\000"
.align 2
.LC1:
.ascii "%s:%d:%d\000"
.text
.align 2
.global token_pos
.syntax unified
.arm
.fpu softvfp
.type token_pos, %function
token_pos:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0, #8]
cmp r3, #0
beq .L2
ldr r1, [r3]
ldr r2, .L6
cmp r1, #0
moveq r1, r2
ldr r3, [r0]
ldr r2, [r0, #4]
ldr r0, .L6+4
b format
.L2:
ldr r0, .L6
bx lr
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.size token_pos, .-token_pos
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_close_file.c"
.intel_syntax noprefix
.text
.p2align 4
.type close_file, @function
close_file:
.LFB0:
.cfi_startproc
endbr64
mov rdi, QWORD PTR [rdi]
test rdi, rdi
jne .L4
ret
.p2align 4,,10
.p2align 3
.L4:
jmp fclose@PLT
.cfi_endproc
.LFE0:
.size close_file, .-close_file
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_close_file.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type close_file, %function
close_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
cmp r0, #0
bxeq lr
b fclose
.size close_file, .-close_file
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_current_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl current_file
.type current_file, @function
current_file:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR files[rip]
jmp vec_tail@PLT
.cfi_endproc
.LFE0:
.size current_file, .-current_file
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_current_file.c"
.text
.align 2
.global current_file
.syntax unified
.arm
.fpu softvfp
.type current_file, %function
current_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b vec_tail
.L4:
.align 2
.L3:
.word files
.size current_file, .-current_file
.comm files,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_get.c"
.intel_syntax noprefix
.text
.p2align 4
.type get, @function
get:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edi, DWORD PTR files[rip]
call vec_tail@PLT
mov rbx, rax
mov rax, QWORD PTR [rax]
test rax, rax
je .L2
mov rdx, QWORD PTR 8[rbx]
sub rax, 1
mov QWORD PTR [rbx], rax
mov eax, DWORD PTR [rdx+rax*4]
.L3:
cmp eax, 10
je .L9
.L5:
cmp DWORD PTR EOF[rip], eax
je .L1
add DWORD PTR 16[rbx], 1
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
cmp QWORD PTR 24[rbx], 0
mov rdi, rbx
je .L4
call readc_file@PLT
cmp eax, 10
jne .L5
.L9:
add DWORD PTR 20[rbx], 1
mov DWORD PTR 16[rbx], 1
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
call readc_string@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size get, .-get
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.globl EOF
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_get.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get, %function
get:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L10
push {r4, lr}
ldr r0, [r3]
bl vec_tail
ldr r3, [r0]
mov r4, r0
cmp r3, #0
beq .L2
ldr r2, [r0, #4]
sub r3, r3, #1
str r3, [r0]
ldr r0, [r2, r3, lsl #2]
.L3:
cmp r0, #10
beq .L9
.L5:
ldr r3, .L10+4
ldr r3, [r3]
cmp r3, r0
ldrne r3, [r4, #8]
addne r3, r3, #1
strne r3, [r4, #8]
pop {r4, pc}
.L2:
ldr r3, [r0, #16]
cmp r3, #0
beq .L4
bl readc_file
cmp r0, #10
bne .L5
.L9:
mov r2, #1
ldr r3, [r4, #12]
str r2, [r4, #8]
add r3, r3, r2
str r3, [r4, #12]
pop {r4, pc}
.L4:
bl readc_string
b .L3
.L11:
.align 2
.L10:
.word files
.word EOF
.size get, .-get
.comm files,4,4
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_input_position.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "(unknown)"
.LC1:
.string "%s:%d:%d"
.text
.p2align 4
.globl input_position
.type input_position, @function
input_position:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR files[rip]
call vec_len@PLT
test rax, rax
jne .L5
lea rax, .LC0[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, DWORD PTR files[rip]
call vec_tail@PLT
lea rdi, .LC1[rip]
mov edx, DWORD PTR 4[rax]
mov esi, DWORD PTR 8[rax]
mov ecx, DWORD PTR [rax]
add rsp, 8
.cfi_def_cfa_offset 8
jmp format@PLT
.cfi_endproc
.LFE0:
.size input_position, .-input_position
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_input_position.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "(unknown)\000"
.align 2
.LC1:
.ascii "%s:%d:%d\000"
.text
.align 2
.global input_position
.syntax unified
.arm
.fpu softvfp
.type input_position, %function
input_position:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L6
ldr r0, [r4]
bl vec_len
cmp r0, #0
bne .L5
ldr r0, .L6+4
pop {r4, pc}
.L5:
ldr r0, [r4]
bl vec_tail
pop {r4, lr}
mov r1, r0
ldr r0, .L6+8
ldr r3, [r1]
ldr r2, [r1, #4]
ldr r1, [r1, #8]
b format
.L7:
.align 2
.L6:
.word files
.word .LC0
.word .LC1
.size input_position, .-input_position
.comm files,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_make_file.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "fstat failed: %s"
.text
.p2align 4
.globl make_file
.type make_file, @function
make_file:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov edi, 1
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
mov esi, 32
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call calloc@PLT
mov rdi, rbp
mov QWORD PTR 24[rax], rbp
mov r12, rax
mov QWORD PTR [rax], rbx
movabs rax, 4294967297
mov QWORD PTR 8[r12], rax
call fileno@PLT
lea rsi, 4[rsp]
mov edi, eax
call fstat@PLT
cmp eax, -1
je .L6
.L2:
mov eax, DWORD PTR 4[rsp]
mov DWORD PTR 16[r12], eax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L7
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov rax, r12
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov edi, DWORD PTR errno[rip]
call strerror@PLT
lea rdi, .LC0[rip]
mov esi, eax
call error@PLT
jmp .L2
.L7:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size make_file, .-make_file
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_make_file.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "fstat failed: %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global make_file
.syntax unified
.arm
.fpu softvfp
.type make_file, %function
make_file:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L8
sub sp, sp, #8
mov r5, r0
mov r6, r1
mov r0, #1
mov r1, #20
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl calloc
mov r3, #1
mov r4, r0
mov r0, r5
str r3, [r4, #4]
str r3, [r4, #8]
str r6, [r4]
str r5, [r4, #16]
bl fileno
mov r1, sp
bl fstat
cmn r0, #1
beq .L6
.L2:
ldr r3, [sp]
str r3, [r4, #12]
ldr r3, .L8
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L7
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L6:
ldr r3, .L8+4
ldr r0, [r3]
bl strerror
mov r1, r0
ldr r0, .L8+8
bl error
b .L2
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC1
.word errno
.word .LC0
.size make_file, .-make_file
.comm errno,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_make_file_string.c"
.intel_syntax noprefix
.text
.p2align 4
.globl make_file_string
.type make_file_string, @function
make_file_string:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov esi, 16
mov rbx, rdi
mov edi, 1
call calloc@PLT
movabs rdx, 4294967297
mov QWORD PTR [rax], rdx
mov QWORD PTR 8[rax], rbx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_file_string, .-make_file_string
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_make_file_string.c"
.text
.align 2
.global make_file_string
.syntax unified
.arm
.fpu softvfp
.type make_file_string, %function
make_file_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, #12
mov r4, r0
mov r0, #1
bl calloc
mov r2, #1
str r4, [r0, #8]
str r2, [r0]
str r2, [r0, #4]
pop {r4, pc}
.size make_file_string, .-make_file_string
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_readc.c"
.intel_syntax noprefix
.text
.p2align 4
.globl readc
.type readc, @function
readc:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
.L2:
xor eax, eax
call get@PLT
cmp DWORD PTR EOF[rip], eax
mov r12d, eax
je .L14
cmp eax, 92
jne .L1
xor eax, eax
call get@PLT
mov edi, eax
cmp eax, 10
je .L2
call unreadc@PLT
.L1:
mov eax, r12d
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov edi, DWORD PTR files[rip]
call vec_len@PLT
cmp eax, 1
je .L1
mov edi, DWORD PTR files[rip]
call vec_pop@PLT
mov edi, eax
call close_file@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size readc, .-readc
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.globl EOF
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_readc.c"
.text
.align 2
.global readc
.syntax unified
.arm
.fpu softvfp
.type readc, %function
readc:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L15
ldr r6, .L15+4
.L2:
bl get
ldr r3, [r5]
mov r4, r0
cmp r3, r0
beq .L14
cmp r0, #92
bne .L1
bl get
cmp r0, #10
beq .L2
bl unreadc
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L14:
ldr r0, [r6]
bl vec_len
cmp r0, #1
beq .L1
ldr r0, [r6]
bl vec_pop
bl close_file
b .L2
.L16:
.align 2
.L15:
.word EOF
.word files
.size readc, .-readc
.comm files,4,4
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_readc_file.c"
.intel_syntax noprefix
.text
.p2align 4
.type readc_file, @function
readc_file:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
call getc@PLT
cmp DWORD PTR EOF[rip], eax
je .L15
cmp eax, 13
je .L6
.L12:
mov edx, eax
.L4:
mov BYTE PTR [rbx], dl
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
movzx edx, BYTE PTR [rbx]
cmp dl, 10
je .L12
movsx ecx, dl
mov edx, eax
cmp ecx, eax
je .L4
.L13:
mov edx, 10
mov eax, 10
mov BYTE PTR [rbx], dl
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov edi, DWORD PTR 4[rbx]
call getc@PLT
mov edi, eax
cmp eax, 10
je .L13
mov esi, DWORD PTR 4[rbx]
call ungetc@PLT
jmp .L13
.cfi_endproc
.LFE0:
.size readc_file, .-readc_file
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_readc_file.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type readc_file, %function
readc_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #4]
bl getc
ldr r3, .L16
ldr r3, [r3]
cmp r3, r0
beq .L15
cmp r0, #13
beq .L6
.L13:
and r3, r0, #255
strb r3, [r4]
pop {r4, pc}
.L15:
ldrb r3, [r4] @ zero_extendqisi2
cmp r3, #10
beq .L13
cmp r3, r0
beq .L13
.L12:
mov r3, #10
mov r0, r3
strb r3, [r4]
pop {r4, pc}
.L6:
ldr r0, [r4, #4]
bl getc
cmp r0, #10
beq .L12
ldr r1, [r4, #4]
bl ungetc
b .L12
.L17:
.align 2
.L16:
.word EOF
.size readc_file, .-readc_file
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_readc_string.c"
.intel_syntax noprefix
.text
.p2align 4
.type readc_string, @function
readc_string:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR [rdi]
movzx eax, BYTE PTR [rdx]
test al, al
jne .L2
movzx edx, BYTE PTR 8[rdi]
movzx eax, BYTE PTR EOF[rip]
cmp dl, 10
je .L3
cmp dl, al
je .L3
.L6:
mov eax, 10
mov r8d, 10
mov BYTE PTR 8[rdi], al
mov eax, r8d
ret
.p2align 4,,10
.p2align 3
.L3:
movsx r8d, al
.L4:
mov BYTE PTR 8[rdi], al
mov eax, r8d
ret
.p2align 4,,10
.p2align 3
.L2:
lea rcx, 1[rdx]
mov QWORD PTR [rdi], rcx
cmp al, 13
je .L11
movsx r8d, BYTE PTR [rdx]
mov eax, r8d
mov BYTE PTR 8[rdi], al
mov eax, r8d
ret
.p2align 4,,10
.p2align 3
.L11:
movzx eax, BYTE PTR 1[rdx]
cmp al, 10
jne .L6
add rdx, 2
mov r8d, 10
mov QWORD PTR [rdi], rdx
jmp .L4
.cfi_endproc
.LFE0:
.size readc_string, .-readc_string
.globl EOF
.bss
.type EOF, @object
.size EOF, 1
EOF:
.zero 1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_readc_string.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type readc_string, %function
readc_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r1, [r0]
mov r3, r0
ldrb r2, [r1] @ zero_extendqisi2
cmp r2, #0
bne .L2
ldrb r1, [r0, #4] @ zero_extendqisi2
ldr r2, .L14
cmp r1, #10
ldrb r2, [r2] @ zero_extendqisi2
beq .L10
cmp r1, r2
beq .L10
mov r2, #10
mov r0, r2
.L13:
strb r2, [r3, #4]
bx lr
.L2:
cmp r2, #13
add r2, r1, #1
str r2, [r0]
ldrbne r2, [r1] @ zero_extendqisi2
beq .L12
.L10:
mov r0, r2
.L4:
strb r2, [r3, #4]
bx lr
.L12:
ldrb r2, [r1, #1] @ zero_extendqisi2
cmp r2, #10
addeq r1, r1, #2
streq r1, [r0]
moveq r0, r2
beq .L4
mov r2, #10
mov r0, r2
b .L13
.L15:
.align 2
.L14:
.word EOF
.size readc_string, .-readc_string
.comm EOF,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_stream_depth.c"
.intel_syntax noprefix
.text
.p2align 4
.globl stream_depth
.type stream_depth, @function
stream_depth:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR files[rip]
jmp vec_len@PLT
.cfi_endproc
.LFE0:
.size stream_depth, .-stream_depth
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_stream_depth.c"
.text
.align 2
.global stream_depth
.syntax unified
.arm
.fpu softvfp
.type stream_depth, %function
stream_depth:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b vec_len
.L4:
.align 2
.L3:
.word files
.size stream_depth, .-stream_depth
.comm files,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_stream_push.c"
.intel_syntax noprefix
.text
.p2align 4
.globl stream_push
.type stream_push, @function
stream_push:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
mov edi, DWORD PTR files[rip]
jmp vec_push@PLT
.cfi_endproc
.LFE0:
.size stream_push, .-stream_push
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_stream_push.c"
.text
.align 2
.global stream_push
.syntax unified
.arm
.fpu softvfp
.type stream_push, %function
stream_push:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, r0
ldr r0, [r3]
b vec_push
.L4:
.align 2
.L3:
.word files
.size stream_push, .-stream_push
.comm files,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_stream_stash.c"
.intel_syntax noprefix
.text
.p2align 4
.globl stream_stash
.type stream_stash, @function
stream_stash:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov esi, DWORD PTR files[rip]
mov rbp, rdi
mov edi, DWORD PTR stashed[rip]
call vec_push@PLT
mov rdi, rbp
call make_vector1@PLT
pop rbp
.cfi_def_cfa_offset 8
mov DWORD PTR files[rip], eax
ret
.cfi_endproc
.LFE0:
.size stream_stash, .-stream_stash
.globl stashed
.bss
.align 4
.type stashed, @object
.size stashed, 4
stashed:
.zero 4
.globl files
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_stream_stash.c"
.text
.align 2
.global stream_stash
.syntax unified
.arm
.fpu softvfp
.type stream_stash, %function
stream_stash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r3, .L4
ldr r5, .L4+4
ldr r0, [r3]
ldr r1, [r5]
bl vec_push
mov r0, r4
bl make_vector1
str r0, [r5]
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word stashed
.word files
.size stream_stash, .-stream_stash
.comm stashed,4,4
.comm files,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_stream_unstash.c"
.intel_syntax noprefix
.text
.p2align 4
.globl stream_unstash
.type stream_unstash, @function
stream_unstash:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR stashed[rip]
call vec_pop@PLT
mov DWORD PTR files[rip], eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size stream_unstash, .-stream_unstash
.globl stashed
.bss
.align 4
.type stashed, @object
.size stashed, 4
stashed:
.zero 4
.globl files
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_stream_unstash.c"
.text
.align 2
.global stream_unstash
.syntax unified
.arm
.fpu softvfp
.type stream_unstash, %function
stream_unstash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r0, [r3]
bl vec_pop
ldr r3, .L4+4
str r0, [r3]
pop {r4, pc}
.L5:
.align 2
.L4:
.word stashed
.word files
.size stream_unstash, .-stream_unstash
.comm stashed,4,4
.comm files,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_file.c_unreadc.c"
.intel_syntax noprefix
.text
.p2align 4
.globl unreadc
.type unreadc, @function
unreadc:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR EOF[rip], edi
je .L5
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, edi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR files[rip]
call vec_tail@PLT
xor edi, edi
cmp DWORD PTR [rax], 1
mov rbx, rax
setbe dil
call assert@PLT
movsx rax, DWORD PTR [rbx]
mov rdx, QWORD PTR 8[rbx]
lea ecx, 1[rax]
mov DWORD PTR [rbx], ecx
mov DWORD PTR [rdx+rax*4], ebp
cmp ebp, 10
je .L9
sub DWORD PTR 16[rbx], 1
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
sub DWORD PTR 20[rbx], 1
mov DWORD PTR 16[rbx], 1
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore 3
.cfi_restore 6
ret
.cfi_endproc
.LFE0:
.size unreadc, .-unreadc
.globl files
.bss
.align 4
.type files, @object
.size files, 4
files:
.zero 4
.globl EOF
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_file.c_unreadc.c"
.text
.align 2
.global unreadc
.syntax unified
.arm
.fpu softvfp
.type unreadc, %function
unreadc:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L9
ldr r3, [r3]
cmp r3, r0
bxeq lr
ldr r3, .L9+4
push {r4, r5, r6, lr}
mov r5, r0
ldr r0, [r3]
bl vec_tail
mov r4, r0
ldr r0, [r0]
clz r0, r0
lsr r0, r0, #5
bl assert
ldr r3, [r4]
ldr r2, [r4, #4]
cmp r5, #10
add r1, r3, #1
str r1, [r4]
str r5, [r2, r3, lsl #2]
moveq r2, #1
ldreq r3, [r4, #12]
ldrne r3, [r4, #8]
subeq r3, r3, #1
subne r3, r3, #1
streq r2, [r4, #8]
streq r3, [r4, #12]
strne r3, [r4, #8]
pop {r4, r5, r6, pc}
.L10:
.align 2
.L9:
.word EOF
.word files
.size unreadc, .-unreadc
.comm files,4,4
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_align.c"
.intel_syntax noprefix
.text
.p2align 4
.type align, @function
align:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
mov r8d, edi
cdq
idiv esi
mov eax, edi
sub eax, edx
add esi, eax
test edx, edx
cmovne r8d, esi
mov eax, r8d
ret
.cfi_endproc
.LFE0:
.size align, .-align
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_align.c"
.text
.global __aeabi_idivmod
.align 2
.syntax unified
.arm
.fpu softvfp
.type align, %function
align:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
bl __aeabi_idivmod
cmp r1, #0
subne r4, r4, r1
addne r4, r4, r5
mov r0, r4
pop {r4, r5, r6, pc}
.size align, .-align
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_classify_args.c"
.intel_syntax noprefix
.text
.p2align 4
.type classify_args, @function
classify_args:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
xor r14d, r14d
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
xor r13d, r13d
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rcx
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
xor ebx, ebx
sub rsp, 40
.cfi_def_cfa_offset 96
mov QWORD PTR 16[rsp], rdi
mov QWORD PTR 24[rsp], rsi
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov QWORD PTR 8[rsp], rsi
call is_flotype@PLT
mov rsi, QWORD PTR 8[rsp]
test rax, rax
je .L5
mov rdi, QWORD PTR 24[rsp]
cmp r14d, 8
lea r15d, 1[r14]
mov r14d, r15d
cmovge rdi, r12
call vec_push@PLT
.L4:
add ebx, 1
.L2:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jle .L13
mov esi, ebx
mov rdi, rbp
call vec_get@PLT
mov rdi, QWORD PTR [rax]
mov rsi, rax
mov rax, QWORD PTR KIND_STRUCT[rip]
cmp QWORD PTR [rdi], rax
jne .L3
mov rdi, r12
call vec_push@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
mov rdi, QWORD PTR 16[rsp]
cmp r13d, 6
lea r15d, 1[r13]
mov r13d, r15d
cmovge rdi, r12
call vec_push@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L13:
add rsp, 40
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size classify_args, .-classify_args
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_STRUCT
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_classify_args.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type classify_args, %function
classify_args:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r4, #0
sub sp, sp, #20
mov r8, r2
mov r5, r3
mov r7, r4
mov r6, r4
ldr r9, .L14
str r0, [sp, #8]
str r1, [sp, #12]
b .L2
.L3:
bl is_flotype
add r2, r7, #1
cmp r0, #0
mov r1, fp
str r2, [sp, #4]
add r10, r6, #1
beq .L5
cmp r7, #7
ldr r0, [sp, #12]
movgt r0, r8
bl vec_push
ldr r2, [sp, #4]
mov r7, r2
.L4:
add r4, r4, #1
.L2:
mov r0, r5
bl vec_len
cmp r0, r4
ble .L13
mov r1, r4
mov r0, r5
bl vec_get
mov fp, r0
ldr r0, [r0]
ldr r3, [r9]
ldr r2, [r0]
cmp r2, r3
bne .L3
mov r1, fp
mov r0, r8
bl vec_push
b .L4
.L5:
cmp r6, #5
ldr r0, [sp, #8]
movgt r0, r8
bl vec_push
mov r6, r10
b .L4
.L13:
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
.align 2
.L14:
.word KIND_STRUCT
.size classify_args, .-classify_args
.comm SAVE,4,4
.comm KIND_STRUCT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_close_output_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl close_output_file
.type close_output_file, @function
close_output_file:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR outputfp[rip]
jmp fclose@PLT
.cfi_endproc
.LFE0:
.size close_output_file, .-close_output_file
.globl outputfp
.bss
.align 4
.type outputfp, @object
.size outputfp, 4
outputfp:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_close_output_file.c"
.text
.align 2
.global close_output_file
.syntax unified
.arm
.fpu softvfp
.type close_output_file, %function
close_output_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b fclose
.L4:
.align 2
.L3:
.word outputfp
.size close_output_file, .-close_output_file
.comm outputfp,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_cmpinit.c"
.intel_syntax noprefix
.text
.p2align 4
.type cmpinit, @function
cmpinit:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
mov rdx, QWORD PTR [rsi]
mov eax, DWORD PTR [rax]
sub eax, DWORD PTR [rdx]
ret
.cfi_endproc
.LFE0:
.size cmpinit, .-cmpinit
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_cmpinit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cmpinit, %function
cmpinit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, [r0]
ldr r3, [r1]
ldr r0, [r2]
ldr r3, [r3]
sub r0, r0, r3
bx lr
.size cmpinit, .-cmpinit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_do_emit_assign_deref.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "mov (#rsp), #rcx"
.LC1:
.string "mov #%s, %d(#rax)"
.LC2:
.string "mov #%s, (#rax)"
.LC3:
.string "rax"
.text
.p2align 4
.type do_emit_assign_deref, @function
do_emit_assign_deref:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
lea rdi, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 32
call emit@PLT
mov esi, 99
mov rdi, rbp
call get_int_reg@PLT
mov rsi, rax
test r12d, r12d
je .L2
mov edx, r12d
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
.L3:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC3[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp pop@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size do_emit_assign_deref, .-do_emit_assign_deref
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_do_emit_assign_deref.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "mov (#rsp), #rcx\000"
.align 2
.LC1:
.ascii "mov #%s, %d(#rax)\000"
.align 2
.LC2:
.ascii "mov #%s, (#rax)\000"
.align 2
.LC3:
.ascii "rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_emit_assign_deref, %function
do_emit_assign_deref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
ldr r0, .L6
mov r4, r1
bl emit
mov r1, #99
mov r0, r5
bl get_int_reg
cmp r4, #0
mov r1, r0
beq .L2
mov r2, r4
ldr r0, .L6+4
bl emit
pop {r4, r5, r6, lr}
ldr r0, .L6+8
b pop
.L2:
ldr r0, .L6+12
bl emit
pop {r4, r5, r6, lr}
ldr r0, .L6+8
b pop
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.word .LC3
.word .LC2
.size do_emit_assign_deref, .-do_emit_assign_deref
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_addr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "lea %d(#rbp), #rax"
.LC1:
.string "lea %s(#rip), #rax"
.LC2:
.string "add $%d, #rax"
.LC3:
.string "internal error: %s"
.text
.p2align 4
.type emit_addr, @function
emit_addr:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov eax, DWORD PTR [rdi]
mov rbp, rdi
add eax, -128
cmp eax, 4
ja .L2
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L5:
mov esi, DWORD PTR 4[rdi]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
lea rdi, .LC1[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov edi, DWORD PTR 24[rdi]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_expr@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, QWORD PTR 16[rdi]
call emit_addr
mov rax, QWORD PTR 8[rbp]
lea rdi, .LC2[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
mov esi, DWORD PTR [rax]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
call ensure_lvar_init@PLT
mov esi, DWORD PTR 32[rbp]
lea rdi, .LC0[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov esi, DWORD PTR 28[rdi]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
lea rdi, .LC1[rip]
jmp emit@PLT
.L2:
.cfi_restore_state
call node2s@PLT
lea rdi, .LC3[rip]
pop rbp
.cfi_def_cfa_offset 8
mov esi, eax
jmp error@PLT
.cfi_endproc
.LFE0:
.size emit_addr, .-emit_addr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_addr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "lea %d(#rbp), #rax\000"
.align 2
.LC1:
.ascii "lea %s(#rip), #rax\000"
.align 2
.LC2:
.ascii "add $%d, #rax\000"
.align 2
.LC3:
.ascii "internal error: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_addr, %function
emit_addr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, lr}
sub r3, r3, #128
mov r4, r0
cmp r3, #4
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L8
.word .L7
.word .L6
.word .L5
.word .L3
.L3:
ldr r0, [r0, #16]
pop {r4, lr}
b emit_expr
.L8:
ldr r0, [r0, #12]
bl emit_addr
ldr r3, [r4, #8]
ldr r0, .L11
ldr r1, [r3]
pop {r4, lr}
b emit
.L7:
bl ensure_lvar_init
ldr r1, [r4, #24]
ldr r0, .L11+4
pop {r4, lr}
b emit
.L6:
ldr r1, [r0, #20]
pop {r4, lr}
ldr r0, .L11+8
b emit
.L5:
ldr r1, [r0, #4]
pop {r4, lr}
ldr r0, .L11+8
b emit
.L2:
bl node2s
pop {r4, lr}
mov r1, r0
ldr r0, .L11+12
b error
.L12:
.align 2
.L11:
.word .LC2
.word .LC0
.word .LC1
.word .LC3
.size emit_addr, .-emit_addr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_args.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.text
.p2align 4
.type emit_args, @function
emit_args:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
lea r14, .LC0[rip]
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
xor r13d, r13d
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
xor ebx, ebx
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
call is_flotype@PLT
add r13d, 8
mov rdi, rbp
test rax, rax
je .L5
call emit_expr@PLT
xor edi, edi
call push_xmm@PLT
.L4:
add ebx, 1
.L2:
mov rdi, r12
call vec_len@PLT
cmp eax, ebx
jle .L9
mov rdi, r12
mov esi, ebx
call vec_get@PLT
mov rdi, QWORD PTR [rax]
mov rbp, rax
mov rax, QWORD PTR KIND_STRUCT[rip]
cmp QWORD PTR [rdi], rax
jne .L3
mov rdi, rbp
call emit_addr@PLT
mov rax, QWORD PTR 0[rbp]
mov edi, DWORD PTR 8[rax]
call push_struct@PLT
add r13d, eax
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
call emit_expr@PLT
mov rdi, r14
call push@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L9:
pop rbx
.cfi_def_cfa_offset 40
mov eax, r13d
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emit_args, .-emit_args
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_STRUCT
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_args.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_args, %function
emit_args:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r5, #0
mov r6, r0
mov r7, r5
ldr r8, .L10
ldr r9, .L10+4
b .L2
.L3:
mov r0, r3
bl is_flotype
cmp r0, #0
add r7, r7, #8
mov r0, r4
beq .L5
bl emit_expr
mov r0, #0
bl push_xmm
.L4:
add r5, r5, #1
.L2:
mov r0, r6
bl vec_len
cmp r0, r5
ble .L9
mov r1, r5
mov r0, r6
bl vec_get
ldr r3, [r0]
ldr r2, [r8]
ldr r1, [r3]
mov r4, r0
cmp r1, r2
bne .L3
bl emit_addr
ldr r3, [r4]
ldr r0, [r3, #4]
bl push_struct
add r7, r7, r0
b .L4
.L5:
bl emit_expr
mov r0, r9
bl push
b .L4
.L9:
mov r0, r7
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
.align 2
.L10:
.word KIND_STRUCT
.word .LC0
.size emit_args, .-emit_args
.comm SAVE,4,4
.comm KIND_STRUCT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_assign.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_assign, @function
emit_assign:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov rdi, QWORD PTR [rdi]
mov r8, QWORD PTR 8[rbx]
mov rdx, QWORD PTR KIND_STRUCT[rip]
mov rax, QWORD PTR [rdi]
cmp QWORD PTR [rax], rdx
jne .L2
cmp DWORD PTR 8[rax], 8
jg .L5
.L2:
mov rdi, r8
call emit_expr@PLT
mov rax, QWORD PTR 8[rbx]
mov edi, DWORD PTR 16[rbx]
mov esi, DWORD PTR [rax]
call emit_load_convert@PLT
mov rdi, QWORD PTR [rbx]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_store@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rsi, r8
pop rbx
.cfi_def_cfa_offset 8
jmp emit_copy_struct@PLT
.cfi_endproc
.LFE0:
.size emit_assign, .-emit_assign
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_STRUCT
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_assign.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_assign, %function
emit_assign:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, [r0]
ldr r1, .L6
ldr r3, [r2]
push {r4, lr}
ldr ip, [r1]
ldr lr, [r3]
mov r4, r0
cmp lr, ip
ldr r0, [r0, #4]
bne .L2
ldr r3, [r3, #4]
cmp r3, #8
bgt .L5
.L2:
bl emit_expr
ldr r3, [r4, #4]
ldr r0, [r4, #8]
ldr r1, [r3]
bl emit_load_convert
ldr r0, [r4]
pop {r4, lr}
b emit_store
.L5:
mov r1, r0
pop {r4, lr}
mov r0, r2
b emit_copy_struct
.L7:
.align 2
.L6:
.word KIND_STRUCT
.size emit_assign, .-emit_assign
.comm SAVE,4,4
.comm KIND_STRUCT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_assign_deref.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.text
.p2align 4
.type emit_assign_deref, @function
emit_assign_deref:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
lea rdi, .LC0[rip]
call push@PLT
mov rdi, QWORD PTR [rbx]
call emit_expr@PLT
mov rax, QWORD PTR [rbx]
xor esi, esi
pop rbx
.cfi_def_cfa_offset 8
mov rax, QWORD PTR [rax]
mov edi, DWORD PTR [rax]
jmp do_emit_assign_deref@PLT
.cfi_endproc
.LFE0:
.size emit_assign_deref, .-emit_assign_deref
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_assign_deref.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_assign_deref, %function
emit_assign_deref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L4
bl push
ldr r0, [r4]
bl emit_expr
ldr r3, [r4]
mov r1, #0
pop {r4, lr}
ldr r3, [r3]
ldr r0, [r3]
b do_emit_assign_deref
.L5:
.align 2
.L4:
.word .LC0
.size emit_assign_deref, .-emit_assign_deref
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_assign_struct_ref.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.LC1:
.string "internal error: %s"
.text
.p2align 4
.type emit_assign_struct_ref, @function
emit_assign_struct_ref:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edx
.L8:
mov eax, DWORD PTR 0[rbp]
cmp eax, 130
je .L2
jg .L3
cmp eax, 128
je .L4
cmp eax, 129
jne .L6
mov rdi, rbp
call ensure_lvar_init@PLT
mov esi, DWORD PTR 32[rbp]
add ebx, DWORD PTR [r12]
mov rdi, r12
add esi, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_lsave@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
cmp eax, 131
jne .L6
lea rdi, .LC0[rip]
call push@PLT
mov edi, DWORD PTR 4[rbp]
call emit_expr@PLT
add ebx, DWORD PTR [r12]
mov rdi, r12
mov esi, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp do_emit_assign_deref@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
add ebx, DWORD PTR [r12]
mov edi, DWORD PTR 24[rbp]
mov rsi, r12
mov edx, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_gsave@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
mov rax, QWORD PTR 8[rbp]
mov rbp, QWORD PTR 16[rbp]
add ebx, DWORD PTR [rax]
jmp .L8
.p2align 4,,10
.p2align 3
.L6:
mov rdi, rbp
call node2s@PLT
pop rbx
.cfi_def_cfa_offset 24
lea rdi, .LC1[rip]
pop rbp
.cfi_def_cfa_offset 16
mov esi, eax
pop r12
.cfi_def_cfa_offset 8
jmp error@PLT
.cfi_endproc
.LFE0:
.size emit_assign_struct_ref, .-emit_assign_struct_ref
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_assign_struct_ref.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.align 2
.LC1:
.ascii "internal error: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_assign_struct_ref, %function
emit_assign_struct_ref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
mov r6, r2
.L8:
ldr r3, [r4]
sub r3, r3, #128
cmp r3, #3
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L7
.word .L6
.word .L5
.word .L3
.L3:
ldr r0, .L11
bl push
ldr r0, [r4, #4]
bl emit_expr
ldr r1, [r5]
mov r0, r5
add r1, r6, r1
pop {r4, r5, r6, lr}
b do_emit_assign_deref
.L5:
ldr r2, [r5]
mov r1, r5
ldr r0, [r4, #16]
add r2, r6, r2
pop {r4, r5, r6, lr}
b emit_gsave
.L6:
mov r0, r4
bl ensure_lvar_init
ldr r1, [r4, #20]
ldr r3, [r5]
mov r0, r5
add r1, r1, r3
add r1, r1, r6
pop {r4, r5, r6, lr}
b emit_lsave
.L7:
ldr r3, [r4, #8]
ldr r4, [r4, #12]
ldr r3, [r3]
add r6, r6, r3
b .L8
.L2:
mov r0, r4
bl node2s
pop {r4, r5, r6, lr}
mov r1, r0
ldr r0, .L11+4
b error
.L12:
.align 2
.L11:
.word .LC0
.word .LC1
.size emit_assign_struct_ref, .-emit_assign_struct_ref
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_binop.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "setb"
.LC1:
.string "setl"
.LC2:
.string "sete"
.LC3:
.string "setna"
.LC4:
.string "setle"
.LC5:
.string "setne"
.LC6:
.string "internal error: %s"
.text
.p2align 4
.type emit_binop, @function
emit_binop:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r8, QWORD PTR 8[rdi]
mov r12, rdi
mov rax, QWORD PTR KIND_PTR[rip]
mov edi, DWORD PTR [rdi]
cmp QWORD PTR [r8], rax
je .L13
cmp edi, 129
je .L3
jg .L4
cmp edi, 60
je .L5
cmp edi, 128
jne .L7
lea rsi, .LC5[rip]
mov rdx, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
mov rdi, rsi
jmp emit_comp@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
cmp edi, 130
jne .L7
lea rsi, .LC2[rip]
mov rdx, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
mov rdi, rsi
jmp emit_comp@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov rdx, r12
lea rsi, .LC3[rip]
lea rdi, .LC4[rip]
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_comp@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdx, r12
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_comp@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, r8
call is_inttype@PLT
test rax, rax
je .L9
mov rdi, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_binop_int_arith@PLT
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
mov edx, DWORD PTR 16[r12]
mov esi, DWORD PTR 20[r12]
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_pointer_arith@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov rdi, QWORD PTR 8[r12]
call is_flotype@PLT
mov rdi, r12
test rax, rax
je .L10
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_binop_float_arith@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
call node2s@PLT
lea rdi, .LC6[rip]
pop r12
.cfi_def_cfa_offset 8
mov esi, eax
jmp error@PLT
.cfi_endproc
.LFE0:
.size emit_binop, .-emit_binop
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_PTR
.align 8
.type KIND_PTR, @object
.size KIND_PTR, 8
KIND_PTR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_binop.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "setb\000"
.align 2
.LC1:
.ascii "setl\000"
.align 2
.LC2:
.ascii "sete\000"
.align 2
.LC3:
.ascii "setna\000"
.align 2
.LC4:
.ascii "setle\000"
.align 2
.LC5:
.ascii "setne\000"
.align 2
.LC6:
.ascii "internal error: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_binop, %function
emit_binop:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r3, .L14
ldr r0, [r0, #4]
ldr r2, [r3]
ldr r1, [r0]
ldr r3, [r4]
cmp r1, r2
beq .L13
cmp r3, #129
beq .L3
bgt .L4
cmp r3, #60
beq .L5
cmp r3, #128
bne .L7
ldr r1, .L14+4
mov r2, r4
pop {r4, lr}
mov r0, r1
b emit_comp
.L4:
cmp r3, #130
bne .L7
ldr r1, .L14+8
mov r2, r4
pop {r4, lr}
mov r0, r1
b emit_comp
.L3:
mov r2, r4
pop {r4, lr}
ldr r1, .L14+12
ldr r0, .L14+16
b emit_comp
.L5:
mov r2, r4
pop {r4, lr}
ldr r1, .L14+20
ldr r0, .L14+24
b emit_comp
.L7:
bl is_inttype
cmp r0, #0
beq .L9
mov r0, r4
pop {r4, lr}
b emit_binop_int_arith
.L13:
ldr r2, [r4, #8]
ldr r1, [r4, #12]
mov r0, r3
pop {r4, lr}
b emit_pointer_arith
.L9:
ldr r0, [r4, #4]
bl is_flotype
cmp r0, #0
mov r0, r4
beq .L10
pop {r4, lr}
b emit_binop_float_arith
.L10:
bl node2s
pop {r4, lr}
mov r1, r0
ldr r0, .L14+28
b error
.L15:
.align 2
.L14:
.word KIND_PTR
.word .LC5
.word .LC2
.word .LC3
.word .LC4
.word .LC0
.word .LC1
.word .LC6
.size emit_binop, .-emit_binop
.comm SAVE,4,4
.comm KIND_PTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_binop_float_arith.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movss"
.LC1:
.string "movsd"
.LC2:
.string "subss"
.LC3:
.string "addss"
.LC4:
.string "mulss"
.LC5:
.string "divss"
.LC6:
.string "subsd"
.LC7:
.string "addsd"
.LC8:
.string "mulsd"
.LC9:
.string "divsd"
.LC10:
.string "invalid operator '%d'"
.LC11:
.string "%s #xmm0, #xmm1"
.LC12:
.string "%s #xmm1, #xmm0"
.text
.p2align 4
.type emit_binop_float_arith, @function
emit_binop_float_arith:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 48
mov rax, QWORD PTR 16[rdi]
mov esi, DWORD PTR [rdi]
mov r12, QWORD PTR KIND_DOUBLE[rip]
mov r13, QWORD PTR [rax]
cmp esi, 45
je .L2
jg .L3
cmp esi, 42
je .L4
cmp esi, 43
jne .L6
lea rbp, .LC3[rip]
cmp r13, r12
je .L18
.L9:
mov edi, DWORD PTR 8[rbx]
call emit_expr@PLT
xor edi, edi
call push_xmm@PLT
mov edi, DWORD PTR 4[rbx]
call emit_expr@PLT
lea rsi, .LC0[rip]
.L10:
lea rdi, .LC11[rip]
call emit@PLT
xor edi, edi
call pop_xmm@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rsi, rbp
lea rdi, .LC12[rip]
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
cmp esi, 47
jne .L6
lea rbp, .LC5[rip]
cmp r13, r12
jne .L9
lea rbp, .LC9[rip]
jmp .L8
.p2align 4,,10
.p2align 3
.L6:
lea rdi, .LC10[rip]
call error@PLT
mov edi, DWORD PTR 8[rbx]
call emit_expr@PLT
xor edi, edi
call push_xmm@PLT
mov edi, DWORD PTR 4[rbx]
call emit_expr@PLT
cmp r13, r12
lea rsi, .LC1[rip]
lea rax, .LC0[rip]
cmovne rsi, rax
jmp .L10
.p2align 4,,10
.p2align 3
.L4:
lea rbp, .LC4[rip]
cmp r13, r12
jne .L9
lea rbp, .LC8[rip]
jmp .L8
.p2align 4,,10
.p2align 3
.L2:
lea rbp, .LC2[rip]
cmp r13, r12
jne .L9
lea rbp, .LC6[rip]
.L8:
mov edi, DWORD PTR 8[rbx]
call emit_expr@PLT
xor edi, edi
call push_xmm@PLT
mov edi, DWORD PTR 4[rbx]
call emit_expr@PLT
lea rsi, .LC1[rip]
jmp .L10
.p2align 4,,10
.p2align 3
.L18:
lea rbp, .LC7[rip]
jmp .L8
.cfi_endproc
.LFE0:
.size emit_binop_float_arith, .-emit_binop_float_arith
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_DOUBLE
.align 8
.type KIND_DOUBLE, @object
.size KIND_DOUBLE, 8
KIND_DOUBLE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_binop_float_arith.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movss\000"
.align 2
.LC1:
.ascii "movsd\000"
.align 2
.LC2:
.ascii "subss\000"
.align 2
.LC3:
.ascii "addss\000"
.align 2
.LC4:
.ascii "mulss\000"
.align 2
.LC5:
.ascii "divss\000"
.align 2
.LC6:
.ascii "subsd\000"
.align 2
.LC7:
.ascii "addsd\000"
.align 2
.LC8:
.ascii "mulsd\000"
.align 2
.LC9:
.ascii "divsd\000"
.align 2
.LC10:
.ascii "invalid operator '%d'\000"
.align 2
.LC11:
.ascii "%s #xmm0, #xmm1\000"
.align 2
.LC12:
.ascii "%s #xmm1, #xmm0\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_binop_float_arith, %function
emit_binop_float_arith:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r1, [r0]
push {r4, r5, r6, r7, r8, lr}
ldr r2, .L18
mov r4, r0
ldr r0, [r0, #12]
sub r3, r1, #42
ldr r7, [r0]
ldr r5, [r2]
cmp r3, #5
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L7
.word .L6
.word .L2
.word .L5
.word .L2
.word .L3
.L3:
cmp r7, r5
beq .L14
ldr r6, .L18+4
.L9:
ldr r0, [r4, #8]
bl emit_expr
mov r0, #0
bl push_xmm
ldr r0, [r4, #4]
bl emit_expr
ldr r1, .L18+8
.L10:
ldr r0, .L18+12
bl emit
mov r0, #0
bl pop_xmm
mov r1, r6
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L18+16
b emit
.L2:
ldr r0, .L18+20
bl error
ldr r0, [r4, #8]
bl emit_expr
mov r0, #0
bl push_xmm
ldr r0, [r4, #4]
bl emit_expr
ldr r3, .L18+8
cmp r7, r5
ldr r1, .L18+24
movne r1, r3
b .L10
.L6:
cmp r7, r5
beq .L11
ldr r6, .L18+28
b .L9
.L5:
cmp r7, r5
beq .L12
ldr r6, .L18+32
b .L9
.L7:
cmp r7, r5
beq .L13
ldr r6, .L18+36
b .L9
.L11:
ldr r6, .L18+40
.L8:
ldr r0, [r4, #8]
bl emit_expr
mov r0, #0
bl push_xmm
ldr r0, [r4, #4]
bl emit_expr
ldr r1, .L18+24
b .L10
.L13:
ldr r6, .L18+44
b .L8
.L14:
ldr r6, .L18+48
b .L8
.L12:
ldr r6, .L18+52
b .L8
.L19:
.align 2
.L18:
.word KIND_DOUBLE
.word .LC5
.word .LC0
.word .LC11
.word .LC12
.word .LC10
.word .LC1
.word .LC3
.word .LC2
.word .LC4
.word .LC7
.word .LC8
.word .LC9
.word .LC6
.size emit_binop_float_arith, .-emit_binop_float_arith
.comm SAVE,4,4
.comm KIND_DOUBLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_binop_int_arith.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sub"
.LC1:
.string "imul"
.LC2:
.string "sar"
.LC3:
.string "shr"
.LC4:
.string "add"
.LC5:
.string "xor"
.LC6:
.string "sal"
.LC7:
.string "invalid operator '%d'"
.LC8:
.string "rax"
.LC9:
.string "mov #rax, #rcx"
.LC10:
.string "xor #edx, #edx"
.LC11:
.string "div #rcx"
.LC12:
.string "cqto"
.LC13:
.string "idiv #rcx"
.LC14:
.string "mov #edx, #eax"
.LC15:
.string "%s #cl, #%s"
.LC16:
.string "%s #rcx, #rax"
.text
.p2align 4
.type emit_binop_int_arith, @function
emit_binop_int_arith:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov esi, DWORD PTR [rdi]
cmp esi, 47
jle .L27
lea rbp, .LC2[rip]
cmp esi, 129
je .L4
jle .L28
lea rbp, .LC6[rip]
cmp esi, 130
jne .L3
.L4:
mov rdi, QWORD PTR 8[rbx]
call emit_expr@PLT
lea rdi, .LC8[rip]
call push@PLT
mov rdi, QWORD PTR 24[rbx]
call emit_expr@PLT
lea rdi, .LC9[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC8[rip]
call pop@PLT
mov eax, DWORD PTR [rbx]
cmp eax, 47
je .L21
cmp eax, 37
je .L21
add eax, -128
cmp eax, 2
ja .L15
mov rax, QWORD PTR 8[rbx]
mov esi, 97
mov edi, DWORD PTR [rax]
call get_int_reg@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rsi, rbp
lea rdi, .LC15[rip]
mov edx, eax
pop rbx
.cfi_def_cfa_offset 16
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L27:
.cfi_restore_state
cmp esi, 36
jg .L29
.L3:
lea rdi, .LC7[rip]
xor ebp, ebp
call error@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L28:
lea rbp, .LC5[rip]
cmp esi, 94
je .L4
cmp esi, 128
jne .L3
lea rbp, .LC3[rip]
jmp .L4
.p2align 4,,10
.p2align 3
.L29:
lea eax, -37[rsi]
cmp eax, 10
ja .L3
lea rdx, .L5[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L5:
.long .L16-.L5
.long .L3-.L5
.long .L3-.L5
.long .L3-.L5
.long .L3-.L5
.long .L8-.L5
.long .L7-.L5
.long .L3-.L5
.long .L6-.L5
.long .L3-.L5
.long .L16-.L5
.text
.p2align 4,,10
.p2align 3
.L21:
mov rax, QWORD PTR 16[rbx]
cmp QWORD PTR [rax], 0
jne .L30
lea rdi, .LC12[rip]
xor eax, eax
call emit@PLT
xor eax, eax
lea rdi, .LC13[rip]
call emit@PLT
cmp DWORD PTR [rbx], 37
je .L31
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L30:
.cfi_restore_state
lea rdi, .LC10[rip]
xor eax, eax
call emit@PLT
xor eax, eax
lea rdi, .LC11[rip]
call emit@PLT
cmp DWORD PTR [rbx], 37
jne .L1
.L31:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC14[rip]
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rsi, rbp
lea rdi, .LC16[rip]
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L16:
.cfi_restore_state
xor ebp, ebp
jmp .L4
.p2align 4,,10
.p2align 3
.L8:
lea rbp, .LC1[rip]
jmp .L4
.p2align 4,,10
.p2align 3
.L6:
lea rbp, .LC0[rip]
jmp .L4
.p2align 4,,10
.p2align 3
.L7:
lea rbp, .LC4[rip]
jmp .L4
.cfi_endproc
.LFE0:
.size emit_binop_int_arith, .-emit_binop_int_arith
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_binop_int_arith.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sub\000"
.align 2
.LC1:
.ascii "imul\000"
.align 2
.LC2:
.ascii "sar\000"
.align 2
.LC3:
.ascii "shr\000"
.align 2
.LC4:
.ascii "add\000"
.align 2
.LC5:
.ascii "xor\000"
.align 2
.LC6:
.ascii "sal\000"
.align 2
.LC7:
.ascii "invalid operator '%d'\000"
.align 2
.LC8:
.ascii "rax\000"
.align 2
.LC9:
.ascii "mov #rax, #rcx\000"
.align 2
.LC10:
.ascii "xor #edx, #edx\000"
.align 2
.LC11:
.ascii "div #rcx\000"
.align 2
.LC12:
.ascii "cqto\000"
.align 2
.LC13:
.ascii "idiv #rcx\000"
.align 2
.LC14:
.ascii "mov #edx, #eax\000"
.align 2
.LC15:
.ascii "%s #cl, #%s\000"
.align 2
.LC16:
.ascii "%s #rcx, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_binop_int_arith, %function
emit_binop_int_arith:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r1, [r0]
push {r4, r5, r6, lr}
cmp r1, #47
mov r4, r0
ble .L22
cmp r1, #129
beq .L16
ble .L23
cmp r1, #130
ldreq r5, .L25
bne .L3
.L4:
ldr r0, [r4, #4]
bl emit_expr
ldr r0, .L25+4
bl push
ldr r0, [r4, #12]
bl emit_expr
ldr r0, .L25+8
bl emit
ldr r0, .L25+4
bl pop
ldr r3, [r4]
cmp r3, #37
cmpne r3, #47
bne .L10
ldr r3, [r4, #8]
ldr r3, [r3]
cmp r3, #0
beq .L11
ldr r0, .L25+12
bl emit
ldr r0, .L25+16
bl emit
.L12:
ldr r3, [r4]
cmp r3, #37
popne {r4, r5, r6, pc}
ldr r0, .L25+20
pop {r4, r5, r6, lr}
b emit
.L22:
cmp r1, #36
bgt .L24
.L3:
ldr r0, .L25+24
bl error
mov r5, #0
b .L4
.L23:
cmp r1, #94
beq .L17
cmp r1, #128
ldreq r5, .L25+28
beq .L4
b .L3
.L24:
sub r3, r1, #37
cmp r3, #10
ldrls pc, [pc, r3, asl #2]
b .L3
.L5:
.word .L15
.word .L3
.word .L3
.word .L3
.word .L3
.word .L8
.word .L7
.word .L3
.word .L6
.word .L3
.word .L15
.L7:
ldr r5, .L25+32
b .L4
.L15:
mov r5, #0
b .L4
.L10:
sub r3, r3, #128
cmp r3, #2
bhi .L14
ldr r3, [r4, #4]
mov r1, #97
ldr r0, [r3]
bl get_int_reg
mov r1, r5
pop {r4, r5, r6, lr}
mov r2, r0
ldr r0, .L25+36
b emit
.L17:
ldr r5, .L25+40
b .L4
.L14:
mov r1, r5
pop {r4, r5, r6, lr}
ldr r0, .L25+44
b emit
.L11:
ldr r0, .L25+48
bl emit
ldr r0, .L25+52
bl emit
b .L12
.L16:
ldr r5, .L25+56
b .L4
.L6:
ldr r5, .L25+60
b .L4
.L8:
ldr r5, .L25+64
b .L4
.L26:
.align 2
.L25:
.word .LC6
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC14
.word .LC7
.word .LC3
.word .LC4
.word .LC15
.word .LC5
.word .LC16
.word .LC12
.word .LC13
.word .LC2
.word .LC0
.word .LC1
.size emit_binop_int_arith, .-emit_binop_int_arith
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_bitand.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.LC1:
.string "rcx"
.LC2:
.string "and #rcx, #rax"
.text
.p2align 4
.type emit_bitand, @function
emit_bitand:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
call emit_expr@PLT
lea rdi, .LC0[rip]
call push@PLT
mov edi, DWORD PTR [rbx]
call emit_expr@PLT
lea rdi, .LC1[rip]
call pop@PLT
lea rdi, .LC2[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_bitand, .-emit_bitand
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_bitand.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.align 2
.LC1:
.ascii "rcx\000"
.align 2
.LC2:
.ascii "and #rcx, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_bitand, %function
emit_bitand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #4]
bl emit_expr
ldr r0, .L4
bl push
ldr r0, [r4]
bl emit_expr
ldr r0, .L4+4
bl pop
pop {r4, lr}
ldr r0, .L4+8
b emit
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.size emit_bitand, .-emit_bitand
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_bitnot.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "not #rax"
.text
.p2align 4
.type emit_bitnot, @function
emit_bitnot:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR [rdi]
call emit_expr@PLT
lea rdi, .LC0[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_bitnot, .-emit_bitnot
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_bitnot.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "not #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_bitnot, %function
emit_bitnot:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, [r0]
bl emit_expr
pop {r4, lr}
ldr r0, .L4
b emit
.L5:
.align 2
.L4:
.word .LC0
.size emit_bitnot, .-emit_bitnot
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_bitor.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.LC1:
.string "rcx"
.LC2:
.string "or #rcx, #rax"
.text
.p2align 4
.type emit_bitor, @function
emit_bitor:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
call emit_expr@PLT
lea rdi, .LC0[rip]
call push@PLT
mov edi, DWORD PTR [rbx]
call emit_expr@PLT
lea rdi, .LC1[rip]
call pop@PLT
lea rdi, .LC2[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_bitor, .-emit_bitor
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_bitor.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.align 2
.LC1:
.ascii "rcx\000"
.align 2
.LC2:
.ascii "or #rcx, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_bitor, %function
emit_bitor:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #4]
bl emit_expr
ldr r0, .L4
bl push
ldr r0, [r4]
bl emit_expr
ldr r0, .L4+4
bl pop
pop {r4, lr}
ldr r0, .L4+8
b emit
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.size emit_bitor, .-emit_bitor
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_builtin_reg_class.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "mov $2, #eax"
.LC1:
.string "mov $1, #eax"
.LC2:
.string "mov $0, #eax"
.text
.p2align 4
.type emit_builtin_reg_class, @function
emit_builtin_reg_class:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edi, DWORD PTR 8[rdi]
xor esi, esi
call vec_get@PLT
mov rdx, QWORD PTR KIND_PTR[rip]
xor edi, edi
mov rbx, rax
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rax], rdx
sete dil
call assert@PLT
mov rax, QWORD PTR [rbx]
mov rdi, QWORD PTR 8[rax]
mov rax, QWORD PTR KIND_STRUCT[rip]
cmp QWORD PTR [rdi], rax
je .L6
call is_flotype@PLT
test rax, rax
je .L3
lea rdi, .LC1[rip]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
lea rdi, .LC2[rip]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
lea rdi, .LC0[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_builtin_reg_class, .-emit_builtin_reg_class
.globl KIND_STRUCT
.bss
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.globl KIND_PTR
.align 8
.type KIND_PTR, @object
.size KIND_PTR, 8
KIND_PTR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_builtin_reg_class.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "mov $2, #eax\000"
.align 2
.LC1:
.ascii "mov $1, #eax\000"
.align 2
.LC2:
.ascii "mov $0, #eax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_builtin_reg_class, %function
emit_builtin_reg_class:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, #0
ldr r0, [r0, #4]
bl vec_get
ldr r3, .L7
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
ldr r0, [r2]
sub r0, r0, r3
clz r0, r0
lsr r0, r0, #5
bl assert
ldr r2, [r4]
ldr r3, .L7+4
ldr r0, [r2, #4]
ldr r3, [r3]
ldr r2, [r0]
cmp r2, r3
beq .L6
bl is_flotype
cmp r0, #0
beq .L3
pop {r4, lr}
ldr r0, .L7+8
b emit
.L3:
ldr r0, .L7+12
pop {r4, lr}
b emit
.L6:
ldr r0, .L7+16
pop {r4, lr}
b emit
.L8:
.align 2
.L7:
.word KIND_PTR
.word KIND_STRUCT
.word .LC1
.word .LC2
.word .LC0
.size emit_builtin_reg_class, .-emit_builtin_reg_class
.comm KIND_STRUCT,4,4
.comm KIND_PTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_builtin_return_address.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "r11"
.LC1:
.string "mov #rbp, #r11"
.LC2:
.string "test #rax, #rax"
.LC3:
.string "jz %s"
.LC4:
.string "mov (#r11), #r11"
.LC5:
.string "sub $1, #rax"
.LC6:
.string "mov 8(#r11), #rax"
.text
.p2align 4
.type emit_builtin_return_address, @function
emit_builtin_return_address:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
lea rdi, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 32
call push@PLT
mov edi, DWORD PTR 0[rbp]
call vec_len@PLT
xor edi, edi
cmp eax, 1
sete dil
call assert@PLT
mov edi, DWORD PTR 0[rbp]
call vec_head@PLT
mov edi, eax
call emit_expr@PLT
xor eax, eax
call make_label@PLT
mov r12, rax
xor eax, eax
call make_label@PLT
lea rdi, .LC1[rip]
mov rbp, rax
xor eax, eax
call emit@PLT
mov rdi, r12
call emit_label@PLT
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
mov rsi, rbp
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
mov rdi, r12
call emit_jmp@PLT
mov rdi, rbp
call emit_label@PLT
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
add rsp, 8
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp pop@PLT
.cfi_endproc
.LFE0:
.size emit_builtin_return_address, .-emit_builtin_return_address
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_builtin_return_address.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "r11\000"
.align 2
.LC1:
.ascii "mov #rbp, #r11\000"
.align 2
.LC2:
.ascii "test #rax, #rax\000"
.align 2
.LC3:
.ascii "jz %s\000"
.align 2
.LC4:
.ascii "mov (#r11), #r11\000"
.align 2
.LC5:
.ascii "sub $1, #rax\000"
.align 2
.LC6:
.ascii "mov 8(#r11), #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_builtin_return_address, %function
emit_builtin_return_address:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r6, .L4
mov r0, r6
bl push
ldr r0, [r4]
bl vec_len
sub r0, r0, #1
clz r0, r0
lsr r0, r0, #5
bl assert
ldr r0, [r4]
bl vec_head
bl emit_expr
bl make_label
mov r5, r0
bl make_label
mov r4, r0
ldr r0, .L4+4
bl emit
mov r0, r5
bl emit_label
ldr r0, .L4+8
bl emit
mov r1, r4
ldr r0, .L4+12
bl emit
ldr r0, .L4+16
bl emit
ldr r0, .L4+20
bl emit
mov r0, r5
bl emit_jmp
mov r0, r4
bl emit_label
ldr r0, .L4+24
bl emit
mov r0, r6
pop {r4, r5, r6, lr}
b pop
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.size emit_builtin_return_address, .-emit_builtin_return_address
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_builtin_va_start.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rcx"
.LC1:
.string "movl $%d, (#rax)"
.LC2:
.string "movl $%d, 4(#rax)"
.LC3:
.string "lea %d(#rbp), #rcx"
.LC4:
.string "mov #rcx, 16(#rax)"
.text
.p2align 4
.type emit_builtin_va_start, @function
emit_builtin_va_start:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR [rdi]
call vec_len@PLT
xor edi, edi
cmp eax, 1
sete dil
call assert@PLT
mov edi, DWORD PTR [rbx]
call vec_head@PLT
mov edi, eax
call emit_expr@PLT
lea rdi, .LC0[rip]
call push@PLT
mov eax, DWORD PTR numgp[rip]
lea rdi, .LC1[rip]
lea esi, 0[0+rax*8]
xor eax, eax
call emit@PLT
mov eax, DWORD PTR numfp[rip]
lea rdi, .LC2[rip]
lea esi, 3[rax]
xor eax, eax
sal esi, 4
call emit@PLT
mov esi, DWORD PTR REGAREA_SIZE[rip]
lea rdi, .LC3[rip]
xor eax, eax
neg esi
call emit@PLT
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC0[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp pop@PLT
.cfi_endproc
.LFE0:
.size emit_builtin_va_start, .-emit_builtin_va_start
.globl numgp
.bss
.align 4
.type numgp, @object
.size numgp, 4
numgp:
.zero 4
.globl numfp
.align 4
.type numfp, @object
.size numfp, 4
numfp:
.zero 4
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl REGAREA_SIZE
.align 4
.type REGAREA_SIZE, @object
.size REGAREA_SIZE, 4
REGAREA_SIZE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_builtin_va_start.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rcx\000"
.align 2
.LC1:
.ascii "movl $%d, (#rax)\000"
.align 2
.LC2:
.ascii "movl $%d, 4(#rax)\000"
.align 2
.LC3:
.ascii "lea %d(#rbp), #rcx\000"
.align 2
.LC4:
.ascii "mov #rcx, 16(#rax)\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_builtin_va_start, %function
emit_builtin_va_start:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r0, [r0]
bl vec_len
sub r0, r0, #1
clz r0, r0
lsr r0, r0, #5
bl assert
ldr r5, .L4
ldr r0, [r4]
bl vec_head
bl emit_expr
mov r0, r5
bl push
ldr r3, .L4+4
ldr r0, .L4+8
ldr r1, [r3]
lsl r1, r1, #3
bl emit
ldr r3, .L4+12
ldr r0, .L4+16
ldr r1, [r3]
add r1, r1, #3
lsl r1, r1, #4
bl emit
ldr r3, .L4+20
ldr r0, .L4+24
ldr r1, [r3]
rsb r1, r1, #0
bl emit
ldr r0, .L4+28
bl emit
mov r0, r5
pop {r4, r5, r6, lr}
b pop
.L5:
.align 2
.L4:
.word .LC0
.word numgp
.word .LC1
.word numfp
.word .LC2
.word REGAREA_SIZE
.word .LC3
.word .LC4
.size emit_builtin_va_start, .-emit_builtin_va_start
.comm numgp,4,4
.comm numfp,4,4
.comm SAVE,4,4
.comm REGAREA_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_cast.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_cast, @function
emit_cast:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov rdi, QWORD PTR [rdi]
call emit_expr@PLT
mov rax, QWORD PTR [rbx]
mov edi, DWORD PTR 8[rbx]
pop rbx
.cfi_def_cfa_offset 8
mov esi, DWORD PTR [rax]
jmp emit_load_convert@PLT
.cfi_endproc
.LFE0:
.size emit_cast, .-emit_cast
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_cast.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_cast, %function
emit_cast:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl emit_expr
ldr r3, [r4]
ldr r0, [r4, #4]
ldr r1, [r3]
pop {r4, lr}
b emit_load_convert
.size emit_cast, .-emit_cast
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_comma.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_comma, @function
emit_comma:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
call emit_expr@PLT
mov edi, DWORD PTR [rbx]
pop rbx
.cfi_def_cfa_offset 8
jmp emit_expr@PLT
.cfi_endproc
.LFE0:
.size emit_comma, .-emit_comma
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_comma.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_comma, %function
emit_comma:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #4]
bl emit_expr
ldr r0, [r4]
pop {r4, lr}
b emit_expr
.size emit_comma, .-emit_comma
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_comp.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "ucomiss #xmm0, #xmm1"
.LC1:
.string "ucomisd #xmm0, #xmm1"
.LC2:
.string "rax"
.LC3:
.string "rcx"
.LC4:
.string "cmp #rax, #rcx"
.LC5:
.string "cmp #eax, #ecx"
.LC6:
.string "%s #al"
.LC7:
.string "movzb #al, #eax"
.text
.p2align 4
.type emit_comp, @function
emit_comp:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdx]
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rdi, QWORD PTR [rax]
mov rbx, rdx
call is_flotype@PLT
mov rdi, QWORD PTR [rbx]
test rax, rax
je .L2
call emit_expr@PLT
xor edi, edi
call push_xmm@PLT
mov rdi, QWORD PTR 8[rbx]
call emit_expr@PLT
mov edi, 1
call pop_xmm@PLT
mov rax, QWORD PTR [rbx]
mov ecx, DWORD PTR KIND_FLOAT[rip]
mov rax, QWORD PTR [rax]
cmp DWORD PTR [rax], ecx
je .L12
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
.L4:
mov rax, QWORD PTR [rbx]
mov rdi, QWORD PTR [rax]
call is_flotype@PLT
test rax, rax
jne .L7
mov rax, QWORD PTR [rbx]
mov rax, QWORD PTR [rax]
cmp QWORD PTR 8[rax], 0
je .L8
.L7:
mov rsi, rbp
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
.L9:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC7[rip]
pop rbp
.cfi_def_cfa_offset 16
xor eax, eax
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
call emit_expr@PLT
lea rdi, .LC2[rip]
call push@PLT
mov rdi, QWORD PTR 8[rbx]
call emit_expr@PLT
lea rdi, .LC3[rip]
call pop@PLT
mov rax, QWORD PTR [rbx]
mov rax, QWORD PTR [rax]
mov eax, DWORD PTR [rax]
cmp DWORD PTR KIND_LONG[rip], eax
je .L5
cmp DWORD PTR KIND_LLONG[rip], eax
jne .L6
.L5:
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L8:
mov rsi, r12
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
jmp .L9
.p2align 4,,10
.p2align 3
.L12:
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L6:
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size emit_comp, .-emit_comp
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_LONG
.align 4
.type KIND_LONG, @object
.size KIND_LONG, 4
KIND_LONG:
.zero 4
.globl KIND_LLONG
.align 4
.type KIND_LLONG, @object
.size KIND_LLONG, 4
KIND_LLONG:
.zero 4
.globl KIND_FLOAT
.align 4
.type KIND_FLOAT, @object
.size KIND_FLOAT, 4
KIND_FLOAT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_comp.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "ucomiss #xmm0, #xmm1\000"
.align 2
.LC1:
.ascii "ucomisd #xmm0, #xmm1\000"
.align 2
.LC2:
.ascii "rax\000"
.align 2
.LC3:
.ascii "rcx\000"
.align 2
.LC4:
.ascii "cmp #rax, #rcx\000"
.align 2
.LC5:
.ascii "cmp #eax, #ecx\000"
.align 2
.LC6:
.ascii "%s #al\000"
.align 2
.LC7:
.ascii "movzb #al, #eax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_comp, %function
emit_comp:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r2]
push {r4, r5, r6, lr}
mov r6, r0
ldr r0, [r3]
mov r4, r2
mov r5, r1
bl is_flotype
cmp r0, #0
ldr r0, [r4]
beq .L2
bl emit_expr
mov r0, #0
bl push_xmm
ldr r0, [r4, #4]
bl emit_expr
mov r0, #1
bl pop_xmm
ldr r2, [r4]
ldr r3, .L12
ldr r2, [r2]
ldr r3, [r3]
ldr r2, [r2]
cmp r2, r3
ldreq r0, .L12+4
ldrne r0, .L12+8
bl emit
.L4:
ldr r3, [r4]
ldr r0, [r3]
bl is_flotype
cmp r0, #0
bne .L7
ldr r3, [r4]
ldr r3, [r3]
ldr r3, [r3, #4]
cmp r3, #0
beq .L8
.L7:
mov r1, r5
ldr r0, .L12+12
bl emit
pop {r4, r5, r6, lr}
ldr r0, .L12+16
b emit
.L8:
mov r1, r6
ldr r0, .L12+12
bl emit
pop {r4, r5, r6, lr}
ldr r0, .L12+16
b emit
.L2:
bl emit_expr
ldr r0, .L12+20
bl push
ldr r0, [r4, #4]
bl emit_expr
ldr r0, .L12+24
bl pop
ldr r3, [r4]
ldr r2, .L12+28
ldr r3, [r3]
ldr r2, [r2]
ldr r3, [r3]
cmp r2, r3
beq .L5
ldr r2, .L12+32
ldr r2, [r2]
cmp r2, r3
bne .L6
.L5:
ldr r0, .L12+36
bl emit
b .L4
.L6:
ldr r0, .L12+40
bl emit
b .L4
.L13:
.align 2
.L12:
.word KIND_FLOAT
.word .LC0
.word .LC1
.word .LC6
.word .LC7
.word .LC2
.word .LC3
.word KIND_LONG
.word KIND_LLONG
.word .LC4
.word .LC5
.size emit_comp, .-emit_comp
.comm SAVE,4,4
.comm KIND_LONG,4,4
.comm KIND_LLONG,4,4
.comm KIND_FLOAT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_compound_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_compound_stmt, @function
emit_compound_stmt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 32
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR 0[rbp]
mov esi, ebx
add ebx, 1
call vec_get@PLT
mov edi, eax
call emit_expr@PLT
.L2:
mov edi, DWORD PTR 0[rbp]
call vec_len@PLT
cmp eax, ebx
jg .L3
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emit_compound_stmt, .-emit_compound_stmt
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_compound_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_compound_stmt, %function
emit_compound_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, #0
mov r5, r0
.L2:
ldr r0, [r5]
bl vec_len
cmp r0, r4
pople {r4, r5, r6, pc}
mov r1, r4
ldr r0, [r5]
bl vec_get
bl emit_expr
add r4, r4, #1
b .L2
.size emit_compound_stmt, .-emit_compound_stmt
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_computed_goto.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "jmp *#rax"
.text
.p2align 4
.type emit_computed_goto, @function
emit_computed_goto:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR [rdi]
call emit_expr@PLT
lea rdi, .LC0[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_computed_goto, .-emit_computed_goto
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_computed_goto.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "jmp *#rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_computed_goto, %function
emit_computed_goto:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, [r0]
bl emit_expr
pop {r4, lr}
ldr r0, .L4
b emit
.L5:
.align 2
.L4:
.word .LC0
.size emit_computed_goto, .-emit_computed_goto
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_conv.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_conv, @function
emit_conv:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov rdi, QWORD PTR [rdi]
call emit_expr@PLT
mov rax, QWORD PTR [rbx]
mov edi, DWORD PTR 8[rbx]
pop rbx
.cfi_def_cfa_offset 8
mov esi, DWORD PTR [rax]
jmp emit_load_convert@PLT
.cfi_endproc
.LFE0:
.size emit_conv, .-emit_conv
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_conv.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_conv, %function
emit_conv:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl emit_expr
ldr r3, [r4]
ldr r0, [r4, #4]
ldr r1, [r3]
pop {r4, lr}
b emit_load_convert
.size emit_conv, .-emit_conv
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_copy_struct.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rcx"
.LC1:
.string "r11"
.LC2:
.string "mov #rax, #rcx"
.LC3:
.string "movq %d(#rcx), #r11"
.LC4:
.string "movq #r11, %d(#rax)"
.text
.p2align 4
.type emit_copy_struct, @function
emit_copy_struct:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
lea rdi, .LC0[rip]
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call push@PLT
lea rdi, .LC1[rip]
call push@PLT
mov rdi, r12
call emit_addr@PLT
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
mov rdi, rbp
call emit_addr@PLT
mov rax, QWORD PTR 0[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jle .L2
xor ebx, ebx
lea r12, .LC3[rip]
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebx
mov rdi, r12
xor eax, eax
call emit@PLT
mov esi, ebx
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
mov rax, QWORD PTR 0[rbp]
add ebx, 8
cmp DWORD PTR [rax], ebx
jg .L3
.L2:
lea rdi, .LC1[rip]
call pop@PLT
pop rbx
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp pop@PLT
.cfi_endproc
.LFE0:
.size emit_copy_struct, .-emit_copy_struct
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_copy_struct.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rcx\000"
.align 2
.LC1:
.ascii "r11\000"
.align 2
.LC2:
.ascii "mov #rax, #rcx\000"
.align 2
.LC3:
.ascii "movq %d(#rcx), #r11\000"
.align 2
.LC4:
.ascii "movq #r11, %d(#rax)\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_copy_struct, %function
emit_copy_struct:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r1
mov r5, r0
ldr r0, .L7
bl push
ldr r0, .L7+4
bl push
mov r0, r4
bl emit_addr
ldr r0, .L7+8
bl emit
mov r0, r5
bl emit_addr
ldr r3, [r5]
ldr r3, [r3]
cmp r3, #0
ble .L2
mov r4, #0
ldr r7, .L7+12
ldr r6, .L7+16
.L3:
mov r1, r4
mov r0, r7
bl emit
mov r1, r4
mov r0, r6
bl emit
ldr r3, [r5]
add r4, r4, #8
ldr r3, [r3]
cmp r3, r4
bgt .L3
.L2:
ldr r0, .L7+4
bl pop
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L7
b pop
.L8:
.align 2
.L7:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size emit_copy_struct, .-emit_copy_struct
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_data.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".data %d"
.LC1:
.string ".global %s"
.LC2:
.string "%s:"
.text
.p2align 4
.type emit_data, @function
emit_data:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13d, esi
mov esi, edx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edx
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
lea rdi, .LC0[rip]
call emit@PLT
mov rax, QWORD PTR [rbx]
mov rdx, QWORD PTR [rax]
mov edx, DWORD PTR 4[rdx]
test edx, edx
je .L5
.L2:
mov esi, DWORD PTR 8[rax]
lea rdi, .LC2[rip]
call emit_noindent@PLT
mov rax, QWORD PTR [rbx]
mov edi, DWORD PTR 8[rbx]
mov ecx, r12d
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov edx, r13d
pop r12
.cfi_def_cfa_offset 16
mov rax, QWORD PTR [rax]
pop r13
.cfi_def_cfa_offset 8
mov esi, DWORD PTR [rax]
jmp do_emit_data@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov esi, DWORD PTR 8[rax]
lea rdi, .LC1[rip]
call emit_noindent@PLT
mov rax, QWORD PTR [rbx]
jmp .L2
.cfi_endproc
.LFE0:
.size emit_data, .-emit_data
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_data.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".data %d\000"
.align 2
.LC1:
.ascii ".global %s\000"
.align 2
.LC2:
.ascii "%s:\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_data, %function
emit_data:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r6, r1
ldr r0, .L6
mov r1, r2
mov r5, r2
bl emit
ldr r3, [r4]
ldr r2, [r3]
ldr r2, [r2, #4]
cmp r2, #0
beq .L5
.L2:
ldr r1, [r3, #4]
ldr r0, .L6+4
bl emit_noindent
ldr r2, [r4]
mov r3, r5
ldr r1, [r2]
ldr r0, [r4, #4]
mov r2, r6
pop {r4, r5, r6, lr}
ldr r1, [r1]
b do_emit_data
.L5:
ldr r1, [r3, #4]
ldr r0, .L6+8
bl emit_noindent
ldr r3, [r4]
b .L2
.L7:
.align 2
.L6:
.word .LC0
.word .LC2
.word .LC1
.size emit_data, .-emit_data
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_data_addr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".data %d"
.LC1:
.string ".quad %s"
.LC2:
.string "internal error"
.text
.p2align 4
.type emit_data_addr, @function
emit_data_addr:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 48
mov eax, DWORD PTR [rdi]
cmp eax, 128
je .L2
cmp eax, 129
je .L3
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
lea rdi, .LC2[rip]
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp error@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov ebp, esi
xor eax, eax
call make_label@PLT
lea r13d, 1[rbp]
lea rdi, .LC0[rip]
mov r12, rax
mov esi, r13d
xor eax, eax
call emit@PLT
mov rdi, r12
call emit_label@PLT
mov rax, QWORD PTR 16[rbx]
mov edi, DWORD PTR 24[rbx]
mov ecx, r13d
xor edx, edx
mov esi, DWORD PTR [rax]
call do_emit_data@PLT
mov esi, ebp
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
mov rsi, r12
.L7:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
lea rdi, .LC1[rip]
xor eax, eax
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov rsi, QWORD PTR 8[rdi]
jmp .L7
.cfi_endproc
.LFE0:
.size emit_data_addr, .-emit_data_addr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_data_addr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".data %d\000"
.align 2
.LC1:
.ascii ".quad %s\000"
.align 2
.LC2:
.ascii "internal error\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_data_addr, %function
emit_data_addr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, r7, r8, lr}
cmp r3, #128
mov r4, r0
beq .L2
cmp r3, #129
beq .L3
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L8
b error
.L2:
mov r5, r1
bl make_label
mov r6, r0
add r7, r5, #1
mov r1, r7
ldr r0, .L8+4
bl emit
mov r0, r6
bl emit_label
ldr r2, [r4, #8]
mov r3, r7
ldr r1, [r2]
ldr r0, [r4, #12]
mov r2, #0
bl do_emit_data
mov r1, r5
ldr r0, .L8+4
bl emit
mov r1, r6
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L8+8
b emit
.L3:
ldr r1, [r0, #4]
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L8+8
b emit
.L9:
.align 2
.L8:
.word .LC2
.word .LC0
.word .LC1
.size emit_data_addr, .-emit_data_addr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_data_charptr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".data %d"
.LC1:
.string ".string \"%s\""
.LC2:
.string ".quad %s"
.text
.p2align 4
.type emit_data_charptr, @function
emit_data_charptr:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, esi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
call make_label@PLT
lea esi, 1[r12]
lea rdi, .LC0[rip]
mov rbp, rax
xor eax, eax
call emit@PLT
mov rdi, rbp
call emit_label@PLT
mov rdi, r13
call quote_cstring@PLT
lea rdi, .LC1[rip]
mov rsi, rax
xor eax, eax
call emit@PLT
mov esi, r12d
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
pop rbp
.cfi_def_cfa_offset 24
xor eax, eax
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_data_charptr, .-emit_data_charptr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_data_charptr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".data %d\000"
.align 2
.LC1:
.ascii ".string \"%s\"\000"
.align 2
.LC2:
.ascii ".quad %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_data_charptr, %function
emit_data_charptr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r1
mov r6, r0
bl make_label
mov r4, r0
ldr r7, .L4
add r1, r5, #1
mov r0, r7
bl emit
mov r0, r4
bl emit_label
mov r0, r6
bl quote_cstring
mov r1, r0
ldr r0, .L4+4
bl emit
mov r1, r5
mov r0, r7
bl emit
mov r1, r4
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L4+8
b emit
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.size emit_data_charptr, .-emit_data_charptr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_data_primtype.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".long %d"
.LC1:
.string ".quad %ld"
.LC2:
.string ".byte %d"
.LC3:
.string ".short %d"
.LC4:
.string ".quad %s"
.LC5:
.string ".quad %u"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC6:
.string "global variable expected, but got %s"
.section .rodata.str1.1
.LC7:
.string ".quad %s+%u"
.section .rodata.str1.8
.align 8
.LC8:
.string "don't know how to handle\n <%s>\n <%s>"
.text
.p2align 4
.type emit_data_primtype, @function
emit_data_primtype:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov rdi, rsi
sub rsp, 24
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
mov eax, DWORD PTR 0[rbp]
add eax, -128
cmp eax, 8
ja .L2
lea rcx, .L4[rip]
movsx rax, DWORD PTR [rcx+rax*4]
add rax, rcx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L10-.L4
.long .L9-.L4
.long .L9-.L4
.long .L9-.L4
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L9:
mov eax, DWORD PTR 8[rsi]
cmp eax, DWORD PTR OP_LABEL_ADDR[rip]
je .L34
mov rsi, QWORD PTR 16[rsi]
mov r8d, DWORD PTR KIND_ARRAY[rip]
mov rcx, QWORD PTR 24[rsi]
cmp DWORD PTR [rcx], r8d
je .L35
.L19:
cmp eax, DWORD PTR AST_GVAR[rip]
je .L36
mov rsi, rsp
mov QWORD PTR [rsp], 0
call eval_intexpr@PLT
mov rdi, QWORD PTR [rsp]
mov r12d, eax
test rdi, rdi
je .L37
mov eax, DWORD PTR 8[rdi]
cmp eax, DWORD PTR AST_CONV[rip]
mov rbp, QWORD PTR 24[rdi]
je .L25
cmp eax, DWORD PTR AST_ADDR[rip]
je .L25
.L26:
cmp DWORD PTR AST_GVAR[rip], eax
je .L27
call node2s@PLT
lea rdi, .LC6[rip]
mov rsi, rax
xor eax, eax
call error@PLT
.L27:
mov rdi, QWORD PTR 8[rbp]
call assert@PLT
mov rax, QWORD PTR 8[rbp]
lea rdi, .LC7[rip]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR [rsp]
imul edx, r12d
mov esi, DWORD PTR 4[rax]
xor eax, eax
call emit@PLT
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
xor esi, esi
call eval_intexpr@PLT
mov esi, eax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
lea rdi, .LC0[rip]
.L31:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov esi, DWORD PTR [rsi]
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov esi, DWORD PTR [rsi]
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC1[rip]
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
xor esi, esi
call eval_intexpr@PLT
mov esi, eax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC2[rip]
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor esi, esi
call eval_intexpr@PLT
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L32
xor esi, esi
test eax, eax
lea rdi, .LC2[rip]
setne sil
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
xor esi, esi
call eval_intexpr@PLT
mov esi, eax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC3[rip]
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.L2:
.cfi_restore_state
call node2s@PLT
mov rdi, rbp
mov r12, rax
call ty2s@PLT
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L32
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
movsx rsi, eax
xor eax, eax
mov rdx, r12
pop rbp
.cfi_def_cfa_offset 16
lea rdi, .LC8[rip]
pop r12
.cfi_def_cfa_offset 8
jmp error@PLT
.p2align 4,,10
.p2align 3
.L25:
.cfi_restore_state
mov rdi, QWORD PTR 16[rdi]
mov QWORD PTR [rsp], rdi
mov eax, DWORD PTR 8[rdi]
jmp .L26
.p2align 4,,10
.p2align 3
.L35:
mov rcx, QWORD PTR 8[rcx]
cmp DWORD PTR [rcx], 135
jne .L19
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov edi, DWORD PTR 32[rsi]
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov esi, edx
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_data_charptr@PLT
.p2align 4,,10
.p2align 3
.L36:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov esi, DWORD PTR 4[rdi]
lea rdi, .LC4[rip]
jmp .L31
.p2align 4,,10
.p2align 3
.L34:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov esi, DWORD PTR 36[rsi]
lea rdi, .LC4[rip]
jmp .L31
.p2align 4,,10
.p2align 3
.L37:
mov esi, eax
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
jmp .L1
.L32:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size emit_data_primtype, .-emit_data_primtype
.globl OP_LABEL_ADDR
.bss
.align 4
.type OP_LABEL_ADDR, @object
.size OP_LABEL_ADDR, 4
OP_LABEL_ADDR:
.zero 4
.globl KIND_ARRAY
.align 4
.type KIND_ARRAY, @object
.size KIND_ARRAY, 4
KIND_ARRAY:
.zero 4
.globl AST_GVAR
.align 4
.type AST_GVAR, @object
.size AST_GVAR, 4
AST_GVAR:
.zero 4
.globl AST_CONV
.align 4
.type AST_CONV, @object
.size AST_CONV, 4
AST_CONV:
.zero 4
.globl AST_ADDR
.align 4
.type AST_ADDR, @object
.size AST_ADDR, 4
AST_ADDR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_data_primtype.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".long %d\000"
.align 2
.LC1:
.ascii ".quad %ld\000"
.align 2
.LC2:
.ascii ".byte %d\000"
.align 2
.LC3:
.ascii ".short %d\000"
.align 2
.LC4:
.ascii ".quad %s\000"
.align 2
.LC5:
.ascii ".quad %u\000"
.align 2
.LC6:
.ascii "global variable expected, but got %s\000"
.align 2
.LC7:
.ascii ".quad %s+%u\000"
.align 2
.LC8:
.ascii "don't know how to handle\012 <%s>\012 <%s>\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_data_primtype, %function
emit_data_primtype:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, [r0]
ldr ip, .L27
sub sp, sp, #16
sub r3, r3, #128
ldr ip, [ip]
str ip, [sp, #12]
mov ip,#0
cmp r3, #8
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L10
.word .L9
.word .L9
.word .L9
.word .L8
.word .L7
.word .L6
.word .L5
.word .L3
.L9:
ldr r0, .L27+4
ldr r3, [r1, #8]
ldr r0, [r0]
cmp r3, r0
beq .L22
ldr ip, [r1, #12]
ldr lr, .L27+8
ldr r0, [ip, #16]
ldr lr, [lr]
ldr r4, [r0]
cmp r4, lr
beq .L23
.L13:
ldr r4, .L27+12
ldr r2, [r4]
cmp r3, r2
beq .L24
mov r3, #0
mov r0, r1
add r1, sp, #8
str r3, [sp, #8]
bl eval_intexpr
ldr r3, [sp, #8]
mov r6, r0
cmp r3, #0
beq .L25
ldr r1, .L27+16
ldr r2, [r3, #8]
ldr r1, [r1]
ldr r5, [r3, #16]
cmp r2, r1
beq .L16
ldr r1, .L27+20
ldr r1, [r1]
cmp r2, r1
beq .L16
.L17:
ldr r1, [r4]
cmp r1, r2
beq .L18
mov r0, r3
bl node2s
mov r1, r0
ldr r0, .L27+24
bl error
.L18:
ldr r0, [r5, #4]
bl assert
ldr r2, [r5, #4]
ldr r3, [sp, #8]
ldr r2, [r2, #4]
ldr r1, [r3, #4]
mul r2, r6, r2
ldr r0, .L27+28
bl emit
b .L1
.L8:
mov r0, r1
mov r1, #0
bl eval_intexpr
mov r1, r0
ldr r0, .L27+32
bl emit
.L1:
ldr r3, .L27
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L26
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, pc}
.L7:
ldr r1, [r1]
ldr r0, .L27+32
bl emit
b .L1
.L6:
ldr r1, [r1]
ldr r0, .L27+36
bl emit
b .L1
.L5:
mov r0, r1
mov r1, #0
bl eval_intexpr
mov r1, r0
ldr r0, .L27+40
bl emit
b .L1
.L3:
mov r0, r1
mov r1, #0
bl eval_intexpr
mov r1, r0
subs r1, r1, #0
movne r1, #1
ldr r0, .L27+40
bl emit
b .L1
.L10:
mov r0, r1
mov r1, #0
bl eval_intexpr
mov r1, r0
ldr r0, .L27+44
bl emit
b .L1
.L16:
ldr r3, [r3, #12]
ldr r2, [r3, #8]
str r3, [sp, #8]
b .L17
.L23:
ldr r0, [r0, #4]
ldr r0, [r0]
cmp r0, #135
bne .L13
mov r1, r2
ldr r0, [ip, #20]
bl emit_data_charptr
b .L1
.L24:
ldr r1, [r1, #4]
ldr r0, .L27+48
bl emit
b .L1
.L22:
ldr r1, [r1, #24]
ldr r0, .L27+48
bl emit
b .L1
.L25:
mov r1, r0
ldr r0, .L27+52
bl emit
b .L1
.L26:
bl __stack_chk_fail
.L2:
str r1, [sp, #4]
bl ty2s
ldr r1, [sp, #4]
mov r4, r0
mov r0, r1
bl node2s
mov r1, r4
mov r2, r0
ldr r0, .L27+56
bl error
b .L1
.L28:
.align 2
.L27:
.word .LC9
.word OP_LABEL_ADDR
.word KIND_ARRAY
.word AST_GVAR
.word AST_CONV
.word AST_ADDR
.word .LC6
.word .LC7
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC8
.size emit_data_primtype, .-emit_data_primtype
.comm OP_LABEL_ADDR,4,4
.comm KIND_ARRAY,4,4
.comm AST_GVAR,4,4
.comm AST_CONV,4,4
.comm AST_ADDR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_decl.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_decl, @function
emit_decl:
.LFB0:
.cfi_startproc
endbr64
mov r8d, DWORD PTR 8[rdi]
test r8d, r8d
jne .L4
ret
.p2align 4,,10
.p2align 3
.L4:
mov rax, QWORD PTR [rdi]
mov edi, r8d
mov rdx, QWORD PTR [rax]
mov esi, DWORD PTR 8[rax]
mov edx, DWORD PTR [rdx]
jmp emit_decl_init@PLT
.cfi_endproc
.LFE0:
.size emit_decl, .-emit_decl
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_decl.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_decl, %function
emit_decl:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
ldr r0, [r0, #4]
cmp r0, #0
bxeq lr
ldr r3, [r3]
ldr r2, [r3]
ldr r1, [r3, #4]
ldr r2, [r2]
b emit_decl_init
.size emit_decl, .-emit_decl
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_decl_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_decl_init, @function
emit_decl_init:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
movsx r13, esi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov esi, r13d
mov r12, rdi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
call emit_fill_holes@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
call emit_expr@PLT
mov rsi, QWORD PTR 8[rbx]
mov rdi, QWORD PTR 16[rbx]
add rsi, r13
call emit_lsave@PLT
.L4:
add ebp, 1
.L2:
mov rdi, r12
call vec_len@PLT
cmp eax, ebp
jle .L14
mov esi, ebp
mov rdi, r12
call vec_get@PLT
xor edi, edi
mov rbx, rax
mov rax, QWORD PTR AST_INIT[rip]
cmp QWORD PTR [rbx], rax
sete dil
call assert@PLT
mov rdi, QWORD PTR 24[rbx]
mov rsi, QWORD PTR 16[rbx]
mov rax, QWORD PTR AST_LITERAL[rip]
cmp QWORD PTR [rdi], rax
jne .L3
cmp QWORD PTR [rsi], 0
jg .L3
mov rdx, QWORD PTR 8[rbx]
add rdx, r13
call emit_save_literal@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L14:
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emit_decl_init, .-emit_decl_init
.globl AST_LITERAL
.bss
.align 8
.type AST_LITERAL, @object
.size AST_LITERAL, 8
AST_LITERAL:
.zero 8
.globl AST_INIT
.align 8
.type AST_INIT, @object
.size AST_INIT, 8
AST_INIT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_decl_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_decl_init, %function
emit_decl_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r6, r0
mov r7, r1
mov r5, #0
bl emit_fill_holes
ldr r9, .L9
ldr r8, .L9+4
b .L2
.L3:
bl emit_expr
ldr r1, [r4, #4]
ldr r0, [r4, #8]
add r1, r7, r1
bl emit_lsave
.L4:
add r5, r5, #1
.L2:
mov r0, r6
bl vec_len
cmp r0, r5
pople {r4, r5, r6, r7, r8, r9, r10, pc}
mov r1, r5
mov r0, r6
bl vec_get
ldr r3, [r9]
mov r4, r0
ldr r0, [r0]
sub r0, r0, r3
clz r0, r0
lsr r0, r0, #5
bl assert
ldr r1, [r4, #8]
ldr r0, [r4, #12]
ldr r3, [r1]
ldr ip, [r0]
ldr r2, [r8]
cmp r3, #0
cmple ip, r2
bne .L3
ldr r2, [r4, #4]
add r2, r7, r2
bl emit_save_literal
b .L4
.L10:
.align 2
.L9:
.word AST_INIT
.word AST_LITERAL
.size emit_decl_init, .-emit_decl_init
.comm AST_LITERAL,4,4
.comm AST_INIT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_deref.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.text
.p2align 4
.type emit_deref, @function
emit_deref:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov rdi, QWORD PTR [rdi]
call emit_expr@PLT
mov rax, QWORD PTR [rbx]
lea rsi, .LC0[rip]
xor edx, edx
mov rax, QWORD PTR [rax]
mov edi, DWORD PTR [rax]
call emit_lload@PLT
mov rax, QWORD PTR [rbx]
mov edi, DWORD PTR 8[rbx]
pop rbx
.cfi_def_cfa_offset 8
mov rax, QWORD PTR [rax]
mov esi, DWORD PTR [rax]
jmp emit_load_convert@PLT
.cfi_endproc
.LFE0:
.size emit_deref, .-emit_deref
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_deref.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_deref, %function
emit_deref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl emit_expr
ldr r3, [r4]
ldr r1, .L4
ldr r3, [r3]
mov r2, #0
ldr r0, [r3]
bl emit_lload
ldr r3, [r4]
ldr r0, [r4, #4]
ldr r3, [r3]
pop {r4, lr}
ldr r1, [r3]
b emit_load_convert
.L5:
.align 2
.L4:
.word .LC0
.size emit_deref, .-emit_deref
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_expr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "add"
.LC1:
.string "sub"
.text
.p2align 4
.type emit_expr, @function
emit_expr:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
call maybe_print_source_loc@PLT
mov eax, DWORD PTR 0[rbp]
sub eax, 33
cmp eax, 120
ja .L2
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L34-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L33-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L32-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L31-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L30-.L4
.long .L2-.L4
.long .L29-.L4
.long .L2-.L4
.long .L28-.L4
.long .L27-.L4
.long .L26-.L4
.long .L25-.L4
.long .L24-.L4
.long .L23-.L4
.long .L22-.L4
.long .L21-.L4
.long .L15-.L4
.long .L20-.L4
.long .L19-.L4
.long .L18-.L4
.long .L17-.L4
.long .L16-.L4
.long .L15-.L4
.long .L14-.L4
.long .L13-.L4
.long .L12-.L4
.long .L11-.L4
.long .L10-.L4
.long .L9-.L4
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L3-.L4
.text
.L10:
mov rdi, rbp
call maybe_emit_builtin@PLT
test eax, eax
jne .L1
.L12:
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_func_call@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_binop@PLT
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_ternary@PLT
.L34:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_lognot@PLT
.L14:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_gvar@PLT
.L16:
.cfi_restore_state
mov edi, DWORD PTR 12[rbp]
test edi, edi
jne .L45
.L1:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L45:
.cfi_restore_state
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_label@PLT
.L17:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_literal@PLT
.L18:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_lvar@PLT
.L19:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_return@PLT
.L3:
.cfi_restore_state
mov rdi, QWORD PTR 16[rbp]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_addr@PLT
.L8:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_decl@PLT
.L9:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_deref@PLT
.L5:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_compound_stmt@PLT
.L11:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_addr@PLT
.L7:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_conv@PLT
.L6:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_computed_goto@PLT
.L13:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_goto@PLT
.L30:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_bitor@PLT
.L31:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_assign@PLT
.L26:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_post_inc_dec@PLT
.L27:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC1[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_pre_inc_dec@PLT
.L28:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_pre_inc_dec@PLT
.L29:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_bitnot@PLT
.L32:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_comma@PLT
.L33:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_bitand@PLT
.L20:
.cfi_restore_state
mov esi, DWORD PTR 4[rbp]
mov edi, DWORD PTR 8[rbp]
xor edx, edx
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_load_struct_ref@PLT
.L21:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_cast@PLT
.L22:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_label_addr@PLT
.L23:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_logand@PLT
.L24:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit_logor@PLT
.L25:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC1[rip]
pop rbp
.cfi_def_cfa_offset 8
jmp emit_post_inc_dec@PLT
.cfi_endproc
.LFE0:
.size emit_expr, .-emit_expr
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_expr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "add\000"
.align 2
.LC1:
.ascii "sub\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_expr, %function
emit_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl maybe_print_source_loc
ldr r3, [r4]
sub r3, r3, #33
cmp r3, #120
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L34
.word .L2
.word .L2
.word .L2
.word .L2
.word .L33
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L32
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L31
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L30
.word .L2
.word .L29
.word .L2
.word .L28
.word .L27
.word .L26
.word .L25
.word .L24
.word .L23
.word .L22
.word .L21
.word .L15
.word .L20
.word .L19
.word .L18
.word .L17
.word .L16
.word .L15
.word .L14
.word .L13
.word .L12
.word .L11
.word .L10
.word .L9
.word .L8
.word .L7
.word .L6
.word .L5
.word .L3
.L10:
mov r0, r4
bl maybe_emit_builtin
cmp r0, #0
popne {r4, pc}
.L12:
mov r0, r4
pop {r4, lr}
b emit_func_call
.L2:
mov r0, r4
pop {r4, lr}
b emit_binop
.L15:
mov r0, r4
pop {r4, lr}
b emit_ternary
.L34:
mov r0, r4
pop {r4, lr}
b emit_lognot
.L14:
mov r0, r4
pop {r4, lr}
b emit_gvar
.L16:
ldr r0, [r4, #12]
cmp r0, #0
popeq {r4, pc}
pop {r4, lr}
b emit_label
.L17:
mov r0, r4
pop {r4, lr}
b emit_literal
.L18:
mov r0, r4
pop {r4, lr}
b emit_lvar
.L19:
mov r0, r4
pop {r4, lr}
b emit_return
.L3:
ldr r0, [r4, #16]
pop {r4, lr}
b emit_addr
.L8:
mov r0, r4
pop {r4, lr}
b emit_decl
.L9:
mov r0, r4
pop {r4, lr}
b emit_deref
.L5:
mov r0, r4
pop {r4, lr}
b emit_compound_stmt
.L11:
mov r0, r4
pop {r4, lr}
b emit_addr
.L7:
mov r0, r4
pop {r4, lr}
b emit_conv
.L6:
mov r0, r4
pop {r4, lr}
b emit_computed_goto
.L13:
mov r0, r4
pop {r4, lr}
b emit_goto
.L30:
mov r0, r4
pop {r4, lr}
b emit_bitor
.L31:
mov r0, r4
pop {r4, lr}
b emit_assign
.L26:
mov r0, r4
pop {r4, lr}
ldr r1, .L45
b emit_post_inc_dec
.L27:
mov r0, r4
pop {r4, lr}
ldr r1, .L45+4
b emit_pre_inc_dec
.L28:
mov r0, r4
pop {r4, lr}
ldr r1, .L45
b emit_pre_inc_dec
.L29:
mov r0, r4
pop {r4, lr}
b emit_bitnot
.L32:
mov r0, r4
pop {r4, lr}
b emit_comma
.L33:
mov r0, r4
pop {r4, lr}
b emit_bitand
.L20:
ldr r1, [r4, #4]
ldr r0, [r4, #8]
mov r2, #0
pop {r4, lr}
b emit_load_struct_ref
.L21:
mov r0, r4
pop {r4, lr}
b emit_cast
.L22:
mov r0, r4
pop {r4, lr}
b emit_label_addr
.L23:
mov r0, r4
pop {r4, lr}
b emit_logand
.L24:
mov r0, r4
pop {r4, lr}
b emit_logor
.L25:
mov r0, r4
pop {r4, lr}
ldr r1, .L45+4
b emit_post_inc_dec
.L46:
.align 2
.L45:
.word .LC0
.word .LC1
.size emit_expr, .-emit_expr
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_fill_holes.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_fill_holes, @function
emit_fill_holes:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov ebx, esi
sub rsp, 24
.cfi_def_cfa_offset 80
mov DWORD PTR 4[rsp], edx
call vec_len@PLT
lea edi, 0[0+rax*8]
mov r14d, eax
call malloc@PLT
mov rbp, rax
test r14d, r14d
jle .L2
lea eax, -1[r14]
mov r13d, r14d
xor r15d, r15d
mov QWORD PTR 8[rsp], rax
.p2align 4,,10
.p2align 3
.L3:
mov esi, r15d
mov rdi, r12
call vec_get@PLT
mov QWORD PTR 0[rbp+r15*8], rax
add r15, 1
cmp r15, r13
jne .L3
mov ecx, DWORD PTR cmpinit[rip]
mov rdi, rbp
mov edx, 8
mov esi, r14d
call qsort@PLT
mov rax, QWORD PTR 8[rsp]
xor edi, edi
lea r13, 8[rbp+rax*8]
jmp .L6
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR 8[r12]
add rbp, 8
mov edi, DWORD PTR [rax]
add edi, esi
cmp r13, rbp
je .L13
.L6:
mov r12, QWORD PTR 0[rbp]
mov esi, DWORD PTR [r12]
cmp esi, edi
jle .L5
add esi, ebx
add edi, ebx
call emit_zero_filler@PLT
mov esi, DWORD PTR [r12]
jmp .L5
.p2align 4,,10
.p2align 3
.L13:
add edi, ebx
.L7:
mov esi, DWORD PTR 4[rsp]
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
add esi, ebx
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp emit_zero_filler@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov ecx, DWORD PTR cmpinit[rip]
mov rdi, rax
mov edx, 8
mov esi, r14d
call qsort@PLT
mov edi, ebx
jmp .L7
.cfi_endproc
.LFE0:
.size emit_fill_holes, .-emit_fill_holes
.globl cmpinit
.bss
.align 4
.type cmpinit, @object
.size cmpinit, 4
cmpinit:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_fill_holes.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_fill_holes, %function
emit_fill_holes:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #12
mov r7, r1
str r2, [sp]
mov r9, r0
bl vec_len
lsl r6, r0, #2
mov r5, r0
mov r0, r6
bl malloc
cmp r5, #0
str r0, [sp, #4]
ble .L2
sub fp, r0, #4
mov r4, fp
mov r10, fp
mov r8, #0
.L3:
mov r1, r8
mov r0, r9
bl vec_get
add r8, r8, #1
cmp r5, r8
str r0, [r10, #4]!
bne .L3
ldr r3, .L14
mov r1, r5
mov r2, #4
ldr r0, [sp, #4]
ldr r3, [r3]
bl qsort
add r6, fp, r6
mov r0, #0
b .L6
.L5:
ldr r3, [r5, #4]
cmp r6, r4
ldr r0, [r3]
add r0, r1, r0
beq .L13
.L6:
ldr r5, [r4, #4]!
ldr r1, [r5]
cmp r1, r0
ble .L5
add r1, r1, r7
add r0, r7, r0
bl emit_zero_filler
ldr r1, [r5]
b .L5
.L13:
add r0, r7, r0
.L7:
ldr r3, [sp]
add r1, r7, r3
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b emit_zero_filler
.L2:
ldr r3, .L14
mov r1, r5
mov r2, #4
ldr r3, [r3]
bl qsort
mov r0, r7
b .L7
.L15:
.align 2
.L14:
.word cmpinit
.size emit_fill_holes, .-emit_fill_holes
.comm cmpinit,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_func_call.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sub $8, #rsp"
.LC1:
.string "rax"
.LC2:
.string "r11"
.LC3:
.string "call *#r11"
.LC4:
.string "call %s"
.LC5:
.string "add $%d, #rsp"
.LC6:
.string "add $8, #rsp"
.LC7:
.string "mov $%u, #eax"
.text
.p2align 4
.type emit_func_call, @function
emit_func_call:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdi
sub rsp, 24
.cfi_def_cfa_offset 80
mov eax, DWORD PTR stackpos[rip]
mov r15, QWORD PTR [rdi]
mov r14, QWORD PTR AST_FUNCPTR_CALL[rip]
mov DWORD PTR [rsp], eax
cmp r15, r14
je .L21
mov rax, QWORD PTR 32[rdi]
mov QWORD PTR 8[rsp], rax
.L3:
xor eax, eax
call make_vector@PLT
mov r12, rax
xor eax, eax
call make_vector@PLT
mov rbp, rax
xor eax, eax
call make_vector@PLT
mov ecx, DWORD PTR 24[rbx]
mov rsi, rbp
mov rdi, r12
mov rdx, rax
mov r13, rax
call classify_args@PLT
mov rdi, rbp
call vec_len@PLT
mov rdi, r12
mov DWORD PTR 4[rsp], eax
call vec_len@PLT
mov esi, DWORD PTR 4[rsp]
mov edi, eax
call save_arg_regs@PLT
mov eax, DWORD PTR stackpos[rip]
and eax, 15
mov DWORD PTR 4[rsp], eax
jne .L22
.L4:
mov rdi, r13
call vec_reverse@PLT
mov rdi, rax
call emit_args@PLT
mov r13d, eax
cmp r15, r14
je .L23
mov rdi, r12
call emit_args@PLT
mov rdi, rbp
call emit_args@PLT
mov rdi, rbp
call vec_len@PLT
mov edi, eax
call pop_float_args@PLT
mov rdi, r12
call vec_len@PLT
mov edi, eax
call pop_int_args@PLT
mov rax, QWORD PTR 8[rsp]
cmp QWORD PTR [rax], 0
jne .L24
.L11:
mov esi, DWORD PTR 12[rbx]
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
.L7:
mov edi, DWORD PTR 8[rbx]
call maybe_booleanize_retval@PLT
test r13d, r13d
jle .L8
mov esi, r13d
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
sub DWORD PTR stackpos[rip], r13d
.L8:
mov eax, DWORD PTR 4[rsp]
test eax, eax
jne .L25
.L9:
mov rdi, rbp
call vec_len@PLT
mov rdi, r12
mov ebp, eax
call vec_len@PLT
mov esi, ebp
mov edi, eax
call restore_arg_regs@PLT
mov eax, DWORD PTR [rsp]
xor edi, edi
cmp DWORD PTR stackpos[rip], eax
sete dil
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp assert@PLT
.p2align 4,,10
.p2align 3
.L21:
.cfi_restore_state
mov rax, QWORD PTR 16[rdi]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR [rax]
mov QWORD PTR 8[rsp], rax
jmp .L3
.p2align 4,,10
.p2align 3
.L22:
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
add DWORD PTR stackpos[rip], 8
jmp .L4
.p2align 4,,10
.p2align 3
.L25:
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
sub DWORD PTR stackpos[rip], 8
jmp .L9
.p2align 4,,10
.p2align 3
.L23:
mov rdi, QWORD PTR 16[rbx]
call emit_expr@PLT
lea rdi, .LC1[rip]
call push@PLT
mov rdi, r12
call emit_args@PLT
mov rdi, rbp
call emit_args@PLT
mov rdi, rbp
call vec_len@PLT
mov edi, eax
call pop_float_args@PLT
mov rdi, r12
call vec_len@PLT
mov edi, eax
call pop_int_args@PLT
lea rdi, .LC2[rip]
call pop@PLT
mov rax, QWORD PTR 8[rsp]
cmp QWORD PTR [rax], 0
jne .L6
.L12:
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
jmp .L7
.p2align 4,,10
.p2align 3
.L6:
mov rdi, rbp
call vec_len@PLT
lea rdi, .LC7[rip]
mov esi, eax
xor eax, eax
call emit@PLT
jmp .L12
.p2align 4,,10
.p2align 3
.L24:
mov rdi, rbp
call vec_len@PLT
lea rdi, .LC7[rip]
mov esi, eax
xor eax, eax
call emit@PLT
jmp .L11
.cfi_endproc
.LFE0:
.size emit_func_call, .-emit_func_call
.globl stackpos
.bss
.align 4
.type stackpos, @object
.size stackpos, 4
stackpos:
.zero 4
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl AST_FUNCPTR_CALL
.align 8
.type AST_FUNCPTR_CALL, @object
.size AST_FUNCPTR_CALL, 8
AST_FUNCPTR_CALL:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_func_call.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sub $8, #rsp\000"
.align 2
.LC1:
.ascii "rax\000"
.align 2
.LC2:
.ascii "r11\000"
.align 2
.LC3:
.ascii "call *#r11\000"
.align 2
.LC4:
.ascii "call %s\000"
.align 2
.LC5:
.ascii "add $%d, #rsp\000"
.align 2
.LC6:
.ascii "add $8, #rsp\000"
.align 2
.LC7:
.ascii "mov $%u, #eax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_func_call, %function
emit_func_call:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, .L25
ldr r7, .L25+4
ldr r9, [r3]
ldr r10, [r0]
ldr r3, [r7]
cmp r10, r9
sub sp, sp, #12
str r3, [sp]
ldreq r3, [r0, #12]
ldrne r3, [r0, #20]
ldreq r3, [r3]
mov r6, r0
ldreq r3, [r3]
str r3, [sp, #4]
bl make_vector
mov r5, r0
bl make_vector
mov r4, r0
bl make_vector
mov r1, r4
mov r2, r0
ldr r3, [r6, #16]
mov fp, r0
mov r0, r5
bl classify_args
mov r0, r5
bl vec_len
mov r8, r0
mov r0, r4
bl vec_len
mov r1, r0
mov r0, r8
bl save_arg_regs
ldr r8, [r7]
ands r8, r8, #15
bne .L21
.L4:
mov r0, fp
bl vec_reverse
bl emit_args
cmp r10, r9
mov r9, r0
beq .L22
mov r0, r5
bl emit_args
mov r0, r4
bl emit_args
mov r0, r4
bl vec_len
bl pop_float_args
mov r0, r5
bl vec_len
bl pop_int_args
ldr r3, [sp, #4]
ldr r3, [r3]
cmp r3, #0
bne .L23
.L11:
ldr r1, [r6, #8]
ldr r0, .L25+8
bl emit
.L7:
ldr r0, [r6, #4]
bl maybe_booleanize_retval
cmp r9, #0
ble .L8
mov r1, r9
ldr r0, .L25+12
bl emit
ldr r0, [r7]
sub r9, r0, r9
str r9, [r7]
.L8:
cmp r8, #0
bne .L24
.L9:
mov r0, r5
bl vec_len
mov r3, r0
mov r0, r4
mov r4, r3
bl vec_len
mov r1, r0
mov r0, r4
bl restore_arg_regs
ldr r0, [r7]
ldr r3, [sp]
sub r0, r0, r3
clz r0, r0
lsr r0, r0, #5
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b assert
.L21:
ldr r0, .L25+16
bl emit
ldr r3, [r7]
add r3, r3, #8
str r3, [r7]
b .L4
.L24:
ldr r0, .L25+20
bl emit
ldr r3, [r7]
sub r3, r3, #8
str r3, [r7]
b .L9
.L22:
ldr r0, [r6, #12]
bl emit_expr
ldr r0, .L25+24
bl push
mov r0, r5
bl emit_args
mov r0, r4
bl emit_args
mov r0, r4
bl vec_len
bl pop_float_args
mov r0, r5
bl vec_len
bl pop_int_args
ldr r0, .L25+28
bl pop
ldr r3, [sp, #4]
ldr r3, [r3]
cmp r3, #0
bne .L6
.L12:
ldr r0, .L25+32
bl emit
b .L7
.L6:
mov r0, r4
bl vec_len
mov r1, r0
ldr r0, .L25+36
bl emit
b .L12
.L23:
mov r0, r4
bl vec_len
mov r1, r0
ldr r0, .L25+36
bl emit
b .L11
.L26:
.align 2
.L25:
.word AST_FUNCPTR_CALL
.word stackpos
.word .LC4
.word .LC5
.word .LC0
.word .LC6
.word .LC1
.word .LC2
.word .LC3
.word .LC7
.size emit_func_call, .-emit_func_call
.comm stackpos,4,4
.comm SAVE,4,4
.comm AST_FUNCPTR_CALL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_func_prologue.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".text"
.LC1:
.string ".global %s"
.LC2:
.string "%s:"
.LC3:
.string "nop"
.LC4:
.string "rbp"
.LC5:
.string "mov #rsp, #rbp"
.LC6:
.string "sub $%d, #rsp"
.text
.p2align 4
.type emit_func_prologue, @function
emit_func_prologue:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, rdi
lea rdi, .LC0[rip]
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 8
.cfi_def_cfa_offset 64
call emit@PLT
mov rax, QWORD PTR 8[r15]
mov eax, DWORD PTR 16[rax]
test eax, eax
je .L13
.L2:
mov esi, DWORD PTR 24[r15]
lea rdi, .LC2[rip]
xor r12d, r12d
call emit_noindent@PLT
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC4[rip]
call push@PLT
xor eax, eax
lea rdi, .LC5[rip]
call emit@PLT
mov rax, QWORD PTR 8[r15]
cmp QWORD PTR 8[rax], 0
jne .L14
.L3:
mov edi, DWORD PTR 20[r15]
mov esi, r12d
xor r14d, r14d
xor r13d, r13d
call push_func_params@PLT
mov edi, DWORD PTR 20[r15]
call vec_len@PLT
sal eax, 3
sub r12d, eax
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
mov edi, DWORD PTR 16[r15]
mov esi, r14d
call vec_get@PLT
mov esi, 8
mov rbp, rax
mov rax, QWORD PTR 8[rax]
mov edi, DWORD PTR [rax]
call align@PLT
xor edi, edi
mov ebx, eax
test al, 7
sete dil
sub r12d, ebx
add r13d, ebx
add r14d, 1
call assert@PLT
mov DWORD PTR 0[rbp], r12d
.L4:
mov edi, DWORD PTR 16[r15]
call vec_len@PLT
cmp eax, r14d
jg .L5
test r13d, r13d
jne .L15
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
mov esi, DWORD PTR 24[r15]
lea rdi, .LC1[rip]
call emit_noindent@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L15:
mov esi, r13d
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
add DWORD PTR stackpos[rip], r13d
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov edi, DWORD PTR 20[r15]
call set_reg_nums@PLT
xor eax, eax
call emit_regsave_area@PLT
mov r12d, eax
neg r12d
jmp .L3
.cfi_endproc
.LFE0:
.size emit_func_prologue, .-emit_func_prologue
.globl stackpos
.bss
.align 4
.type stackpos, @object
.size stackpos, 4
stackpos:
.zero 4
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_func_prologue.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".text\000"
.align 2
.LC1:
.ascii ".global %s\000"
.align 2
.LC2:
.ascii "%s:\000"
.align 2
.LC3:
.ascii "nop\000"
.align 2
.LC4:
.ascii "rbp\000"
.align 2
.LC5:
.ascii "mov #rsp, #rbp\000"
.align 2
.LC6:
.ascii "sub $%d, #rsp\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_func_prologue, %function
emit_func_prologue:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r7, r0
ldr r0, .L17
bl emit
ldr r3, [r7, #4]
ldr r3, [r3, #8]
cmp r3, #0
beq .L15
.L2:
ldr r1, [r7, #16]
ldr r0, .L17+4
bl emit_noindent
ldr r0, .L17+8
bl emit
ldr r0, .L17+12
bl push
ldr r0, .L17+16
bl emit
ldr r3, [r7, #4]
ldr r6, [r3, #4]
cmp r6, #0
bne .L16
.L3:
mov r1, r6
ldr r0, [r7, #12]
bl push_func_params
ldr r0, [r7, #12]
bl vec_len
mov r5, #0
sub r6, r6, r0, lsl #3
mov r8, r5
b .L4
.L5:
mov r1, r5
ldr r0, [r7, #8]
bl vec_get
ldr r3, [r0, #4]
mov r4, r0
mov r1, #8
ldr r0, [r3]
bl align
mov r3, r0
tst r0, #7
sub r6, r6, r0
moveq r0, #1
movne r0, #0
add r8, r8, r3
add r5, r5, #1
bl assert
str r6, [r4]
.L4:
ldr r0, [r7, #8]
bl vec_len
cmp r0, r5
bgt .L5
cmp r8, #0
popeq {r4, r5, r6, r7, r8, pc}
mov r1, r8
ldr r0, .L17+20
bl emit
ldr r2, .L17+24
ldr r3, [r2]
add r8, r3, r8
str r8, [r2]
pop {r4, r5, r6, r7, r8, pc}
.L16:
ldr r0, [r7, #12]
bl set_reg_nums
bl emit_regsave_area
rsb r6, r0, #0
b .L3
.L15:
ldr r1, [r7, #16]
ldr r0, .L17+28
bl emit_noindent
b .L2
.L18:
.align 2
.L17:
.word .LC0
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word stackpos
.word .LC1
.size emit_func_prologue, .-emit_func_prologue
.comm stackpos,4,4
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_gload.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "lea %s+%d(#rip), #rax"
.LC1:
.string "lea %s(#rip), #rax"
.LC2:
.string "%s %s+%d(#rip), #rax"
.text
.p2align 4
.type emit_gload, @function
emit_gload:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov rax, QWORD PTR KIND_ARRAY[rip]
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
cmp QWORD PTR [rdi], rax
je .L6
mov rbp, rdi
call get_load_inst@PLT
mov ecx, r12d
mov rdx, r13
lea rdi, .LC2[rip]
mov rsi, rax
xor eax, eax
call emit@PLT
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp maybe_emit_bitshift_load@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
test edx, edx
je .L3
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop r12
.cfi_def_cfa_offset 16
xor eax, eax
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
pop rbp
.cfi_def_cfa_offset 24
lea rdi, .LC1[rip]
pop r12
.cfi_def_cfa_offset 16
xor eax, eax
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_gload, .-emit_gload
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_gload.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "lea %s+%d(#rip), #rax\000"
.align 2
.LC1:
.ascii "lea %s(#rip), #rax\000"
.align 2
.LC2:
.ascii "%s %s+%d(#rip), #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_gload, %function
emit_gload:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L7
ldr ip, [r0]
ldr r3, [r3]
push {r4, r5, r6, lr}
cmp ip, r3
mov r5, r2
beq .L6
mov r6, r1
mov r4, r0
bl get_load_inst
mov r3, r5
mov r1, r0
mov r2, r6
ldr r0, .L7+4
bl emit
mov r0, r4
pop {r4, r5, r6, lr}
b maybe_emit_bitshift_load
.L6:
cmp r2, #0
beq .L3
pop {r4, r5, r6, lr}
ldr r0, .L7+8
b emit
.L3:
ldr r0, .L7+12
pop {r4, r5, r6, lr}
b emit
.L8:
.align 2
.L7:
.word KIND_ARRAY
.word .LC2
.word .LC0
.word .LC1
.size emit_gload, .-emit_gload
.comm SAVE,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_global_var.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_global_var, @function
emit_global_var:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR [rdi], 0
je .L2
xor edx, edx
xor esi, esi
jmp emit_data@PLT
.p2align 4,,10
.p2align 3
.L2:
jmp emit_bss@PLT
.cfi_endproc
.LFE0:
.size emit_global_var, .-emit_global_var
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_global_var.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_global_var, %function
emit_global_var:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0]
cmp r3, #0
beq .L2
mov r2, #0
mov r1, r2
b emit_data
.L2:
b emit_bss
.size emit_global_var, .-emit_global_var
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_goto.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_goto, @function
emit_goto:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR [rdi]
call assert@PLT
mov edi, DWORD PTR [rbx]
pop rbx
.cfi_def_cfa_offset 8
jmp emit_jmp@PLT
.cfi_endproc
.LFE0:
.size emit_goto, .-emit_goto
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_goto.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_goto, %function
emit_goto:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl assert
ldr r0, [r4]
pop {r4, lr}
b emit_jmp
.size emit_goto, .-emit_goto
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_gsave.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s+%d(%%rip)"
.LC1:
.string "mov #%s, %s"
.text
.p2align 4
.type emit_gsave, @function
emit_gsave:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14d, edx
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 48
mov rax, QWORD PTR KIND_ARRAY[rip]
cmp QWORD PTR [rsi], rax
setne dil
call assert@PLT
mov rdi, rbp
call maybe_convert_bool@PLT
mov rdi, rbp
mov esi, 97
call get_int_reg@PLT
mov edx, r14d
mov rsi, r12
lea rdi, .LC0[rip]
mov r13, rax
call format@PLT
mov rdi, rbp
mov rsi, rax
mov r12, rax
call maybe_emit_bitshift_save@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov rdx, r12
mov rsi, r13
pop rbp
.cfi_def_cfa_offset 32
lea rdi, .LC1[rip]
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_gsave, .-emit_gsave
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_gsave.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s+%d(%%rip)\000"
.align 2
.LC1:
.ascii "mov #%s, %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_gsave, %function
emit_gsave:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r1
ldr r3, .L4
ldr r1, [r1]
ldr r3, [r3]
mov r5, r0
subs r0, r1, r3
movne r0, #1
mov r7, r2
bl assert
mov r0, r4
bl maybe_convert_bool
mov r0, r4
mov r1, #97
bl get_int_reg
mov r2, r7
mov r6, r0
mov r1, r5
ldr r0, .L4+4
bl format
mov r5, r0
mov r0, r4
mov r1, r5
bl maybe_emit_bitshift_save
mov r2, r5
mov r1, r6
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L4+8
b emit
.L5:
.align 2
.L4:
.word KIND_ARRAY
.word .LC0
.word .LC1
.size emit_gsave, .-emit_gsave
.comm SAVE,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_gvar.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_gvar, @function
emit_gvar:
.LFB0:
.cfi_startproc
endbr64
mov r8d, DWORD PTR 4[rdi]
mov esi, DWORD PTR [rdi]
xor edx, edx
mov edi, r8d
jmp emit_gload@PLT
.cfi_endproc
.LFE0:
.size emit_gvar, .-emit_gvar
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_gvar.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_gvar, %function
emit_gvar:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r1, [r0]
mov r2, #0
ldr r0, [r0, #4]
b emit_gload
.size emit_gvar, .-emit_gvar
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_intcast.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movzbq #al, #rax"
.LC1:
.string "movsbq #al, #rax"
.LC2:
.string "movzwq #ax, #rax"
.LC3:
.string "movswq #ax, #rax"
.LC4:
.string "mov #eax, #eax"
.LC5:
.string "cltq"
.text
.p2align 4
.type emit_intcast, @function
emit_intcast:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rdi]
cmp eax, 131
je .L2
jg .L3
cmp eax, 128
jne .L10
mov edx, DWORD PTR 4[rdi]
test edx, edx
je .L7
lea rdi, .LC2[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
sub eax, 132
cmp eax, 1
ja .L1
mov ecx, DWORD PTR 4[rdi]
test ecx, ecx
je .L6
lea rdi, .LC0[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L10:
ret
.p2align 4,,10
.p2align 3
.L1:
ret
.p2align 4,,10
.p2align 3
.L2:
mov eax, DWORD PTR 4[rdi]
test eax, eax
je .L8
lea rdi, .LC4[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L8:
lea rdi, .LC5[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L7:
lea rdi, .LC3[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
lea rdi, .LC1[rip]
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_intcast, .-emit_intcast
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_intcast.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movzbq #al, #rax\000"
.align 2
.LC1:
.ascii "movsbq #al, #rax\000"
.align 2
.LC2:
.ascii "movzwq #ax, #rax\000"
.align 2
.LC3:
.ascii "movswq #ax, #rax\000"
.align 2
.LC4:
.ascii "mov #eax, #eax\000"
.align 2
.LC5:
.ascii "cltq\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_intcast, %function
emit_intcast:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0]
cmp r3, #131
beq .L2
bgt .L3
cmp r3, #128
bxne lr
ldr r3, [r0, #4]
cmp r3, #0
beq .L7
ldr r0, .L11
b emit
.L3:
sub r3, r3, #132
cmp r3, #1
bxhi lr
ldr r3, [r0, #4]
cmp r3, #0
beq .L6
ldr r0, .L11+4
b emit
.L2:
ldr r3, [r0, #4]
cmp r3, #0
beq .L8
ldr r0, .L11+8
b emit
.L8:
ldr r0, .L11+12
b emit
.L7:
ldr r0, .L11+16
b emit
.L6:
ldr r0, .L11+20
b emit
.L12:
.align 2
.L11:
.word .LC2
.word .LC0
.word .LC4
.word .LC5
.word .LC3
.word .LC1
.size emit_intcast, .-emit_intcast
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_je.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "test #rax, #rax"
.LC1:
.string "je %s"
.text
.p2align 4
.type emit_je, @function
emit_je:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
lea rdi, .LC0[rip]
call emit@PLT
mov rsi, rbp
lea rdi, .LC1[rip]
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_je, .-emit_je
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_je.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "test #rax, #rax\000"
.align 2
.LC1:
.ascii "je %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_je, %function
emit_je:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L4
bl emit
mov r1, r4
pop {r4, lr}
ldr r0, .L4+4
b emit
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.size emit_je, .-emit_je
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_jmp.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "jmp %s"
.text
.p2align 4
.type emit_jmp, @function
emit_jmp:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
lea rdi, .LC0[rip]
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_jmp, .-emit_jmp
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_jmp.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "jmp %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_jmp, %function
emit_jmp:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, r0
ldr r0, .L3
b emit
.L4:
.align 2
.L3:
.word .LC0
.size emit_jmp, .-emit_jmp
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_label.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s:"
.text
.p2align 4
.type emit_label, @function
emit_label:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
lea rdi, .LC0[rip]
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_label, .-emit_label
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_label.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_label, %function
emit_label:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, r0
ldr r0, .L3
b emit
.L4:
.align 2
.L3:
.word .LC0
.size emit_label, .-emit_label
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_label_addr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "mov $%s, #rax"
.text
.p2align 4
.type emit_label_addr, @function
emit_label_addr:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR [rdi]
lea rdi, .LC0[rip]
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_label_addr, .-emit_label_addr
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_label_addr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "mov $%s, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_label_addr, %function
emit_label_addr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
ldr r0, .L3
ldr r1, [r3]
b emit
.L4:
.align 2
.L3:
.word .LC0
.size emit_label_addr, .-emit_label_addr
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_literal.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "mov $%u, #rax"
.LC1:
.string "mov $%lu, #rax"
.LC2:
.string ".data"
.LC3:
.string ".long %d"
.LC4:
.string ".text"
.LC5:
.string "movss %s(#rip), #xmm0"
.LC6:
.string ".quad %lu"
.LC7:
.string "movsd %s(#rip), #xmm0"
.LC8:
.string ".string \"%s\""
.LC9:
.string "lea %s(#rip), #rax"
.LC10:
.string "internal error"
.text
.p2align 4
.type emit_literal, @function
emit_literal:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
sub rsp, 16
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
mov rax, QWORD PTR 16[rdi]
mov eax, DWORD PTR [rax]
add eax, -128
cmp eax, 9
ja .L2
lea rdx, .L4[rip]
mov rbx, rdi
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L5-.L4
.long .L8-.L4
.long .L8-.L4
.long .L6-.L4
.long .L5-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L21
mov rsi, QWORD PTR 40[rdi]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov rsi, QWORD PTR 32[rdi]
test rsi, rsi
je .L23
.L13:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L21
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
lea rdi, .LC7[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L21
mov rsi, QWORD PTR 40[rdi]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
lea rdi, .LC1[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov rsi, QWORD PTR 8[rdi]
test rsi, rsi
je .L24
.L15:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L21
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
lea rdi, .LC9[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rsi, QWORD PTR 32[rdi]
test rsi, rsi
je .L25
.L11:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L21
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
lea rdi, .LC5[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.L2:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L21
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
lea rdi, .LC10[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp error@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
xor eax, eax
call make_label@PLT
lea rdi, .LC2[rip]
mov QWORD PTR 32[rbx], rax
call emit_noindent@PLT
mov rdi, QWORD PTR 32[rbx]
call emit_label@PLT
mov rsi, QWORD PTR [rbx]
lea rdi, .LC6[rip]
call emit@PLT
lea rdi, .LC4[rip]
call emit_noindent@PLT
mov rsi, QWORD PTR 32[rbx]
jmp .L13
.p2align 4,,10
.p2align 3
.L25:
xor eax, eax
call make_label@PLT
movss xmm0, DWORD PTR [rbx]
lea rdi, .LC2[rip]
mov QWORD PTR 32[rbx], rax
movss DWORD PTR 4[rsp], xmm0
call emit_noindent@PLT
mov rdi, QWORD PTR 32[rbx]
call emit_label@PLT
mov rsi, QWORD PTR 4[rsp]
lea rdi, .LC3[rip]
call emit@PLT
lea rdi, .LC4[rip]
call emit_noindent@PLT
mov rsi, QWORD PTR 32[rbx]
jmp .L11
.p2align 4,,10
.p2align 3
.L24:
xor eax, eax
call make_label@PLT
lea rdi, .LC2[rip]
mov QWORD PTR 8[rbx], rax
call emit_noindent@PLT
mov rdi, QWORD PTR 8[rbx]
call emit_label@PLT
mov rax, QWORD PTR 16[rbx]
mov edi, DWORD PTR 24[rbx]
mov esi, DWORD PTR 4[rax]
sub esi, 1
call quote_cstring_len@PLT
lea rdi, .LC8[rip]
mov rsi, rax
call emit@PLT
lea rdi, .LC4[rip]
call emit_noindent@PLT
mov rsi, QWORD PTR 8[rbx]
jmp .L15
.L21:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size emit_literal, .-emit_literal
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_literal.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "mov $%u, #rax\000"
.align 2
.LC1:
.ascii "mov $%lu, #rax\000"
.align 2
.LC2:
.ascii ".data\000"
.align 2
.LC3:
.ascii ".long %d\000"
.align 2
.LC4:
.ascii ".text\000"
.align 2
.LC5:
.ascii "movss %s(#rip), #xmm0\000"
.align 2
.LC6:
.ascii ".quad %lu\000"
.align 2
.LC7:
.ascii "movsd %s(#rip), #xmm0\000"
.align 2
.LC8:
.ascii ".string \"%s\"\000"
.align 2
.LC9:
.ascii "lea %s(#rip), #rax\000"
.align 2
.LC10:
.ascii "internal error\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_literal, %function
emit_literal:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0, #8]
push {r4, r5, r6, lr}
ldr r3, [r3]
mov r4, r0
sub r3, r3, #128
cmp r3, #9
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L5
.word .L8
.word .L8
.word .L6
.word .L5
.word .L7
.word .L6
.word .L5
.word .L5
.word .L3
.L5:
ldr r1, [r0, #20]
pop {r4, r5, r6, lr}
ldr r0, .L17
b emit
.L6:
ldr r1, [r0, #16]
cmp r1, #0
beq .L14
.L10:
pop {r4, r5, r6, lr}
ldr r0, .L17+4
b emit
.L8:
ldr r1, [r0, #20]
pop {r4, r5, r6, lr}
ldr r0, .L17+8
b emit
.L3:
ldr r1, [r0, #4]
cmp r1, #0
beq .L15
.L11:
pop {r4, r5, r6, lr}
ldr r0, .L17+12
b emit
.L7:
ldr r1, [r0, #16]
cmp r1, #0
beq .L16
.L9:
pop {r4, r5, r6, lr}
ldr r0, .L17+16
b emit
.L14:
bl make_label
mov r3, r0
ldr r0, .L17+20
str r3, [r4, #16]
bl emit_noindent
ldr r0, [r4, #16]
bl emit_label
ldr r1, [r4]
ldr r0, .L17+24
bl emit
ldr r0, .L17+28
bl emit_noindent
ldr r1, [r4, #16]
b .L10
.L16:
bl make_label
mov r3, r0
ldr r5, [r4] @ float
str r3, [r4, #16]
ldr r0, .L17+20
bl emit_noindent
ldr r0, [r4, #16]
bl emit_label
mov r1, r5
ldr r0, .L17+32
bl emit
ldr r0, .L17+28
bl emit_noindent
ldr r1, [r4, #16]
b .L9
.L15:
bl make_label
mov r3, r0
ldr r0, .L17+20
str r3, [r4, #4]
bl emit_noindent
ldr r0, [r4, #4]
bl emit_label
ldr r3, [r4, #8]
ldr r0, [r4, #12]
ldr r1, [r3, #4]
sub r1, r1, #1
bl quote_cstring_len
mov r1, r0
ldr r0, .L17+36
bl emit
ldr r0, .L17+28
bl emit_noindent
ldr r1, [r4, #4]
b .L11
.L2:
ldr r0, .L17+40
pop {r4, r5, r6, lr}
b error
.L18:
.align 2
.L17:
.word .LC0
.word .LC7
.word .LC1
.word .LC9
.word .LC5
.word .LC2
.word .LC6
.word .LC4
.word .LC3
.word .LC8
.word .LC10
.size emit_literal, .-emit_literal
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_lload.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "lea %d(#%s), #rax"
.LC1:
.string "movss %d(#%s), #xmm0"
.LC2:
.string "movsd %d(#%s), #xmm0"
.LC3:
.string "%s %d(#%s), #rax"
.text
.p2align 4
.type emit_lload, @function
emit_lload:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rax, QWORD PTR [rdi]
cmp rax, QWORD PTR KIND_ARRAY[rip]
je .L9
cmp rax, QWORD PTR KIND_FLOAT[rip]
je .L10
cmp rax, QWORD PTR KIND_DOUBLE[rip]
je .L4
cmp rax, QWORD PTR KIND_LDOUBLE[rip]
jne .L5
.L4:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdx, r13
mov esi, r12d
xor eax, eax
pop r12
.cfi_def_cfa_offset 16
lea rdi, .LC2[rip]
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rbp, rdi
call get_load_inst@PLT
mov rcx, r13
mov edx, r12d
lea rdi, .LC3[rip]
mov rsi, rax
xor eax, eax
call emit@PLT
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp maybe_emit_bitshift_load@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdx, rsi
lea rdi, .LC0[rip]
mov esi, r12d
xor eax, eax
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
pop rbp
.cfi_def_cfa_offset 24
mov rdx, rsi
lea rdi, .LC1[rip]
mov esi, r12d
xor eax, eax
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_lload, .-emit_lload
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_LDOUBLE
.align 8
.type KIND_LDOUBLE, @object
.size KIND_LDOUBLE, 8
KIND_LDOUBLE:
.zero 8
.globl KIND_FLOAT
.align 8
.type KIND_FLOAT, @object
.size KIND_FLOAT, 8
KIND_FLOAT:
.zero 8
.globl KIND_DOUBLE
.align 8
.type KIND_DOUBLE, @object
.size KIND_DOUBLE, 8
KIND_DOUBLE:
.zero 8
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_lload.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "lea %d(#%s), #rax\000"
.align 2
.LC1:
.ascii "movss %d(#%s), #xmm0\000"
.align 2
.LC2:
.ascii "movsd %d(#%s), #xmm0\000"
.align 2
.LC3:
.ascii "%s %d(#%s), #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_lload, %function
emit_lload:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr ip, .L10
ldr r3, [r0]
ldr ip, [ip]
push {r4, r5, r6, lr}
cmp r3, ip
mov r6, r1
mov r5, r2
beq .L8
ldr r2, .L10+4
ldr r2, [r2]
cmp r3, r2
beq .L9
ldr r2, .L10+8
ldr r2, [r2]
cmp r3, r2
beq .L4
ldr r2, .L10+12
ldr r2, [r2]
cmp r3, r2
bne .L5
.L4:
mov r2, r6
mov r1, r5
pop {r4, r5, r6, lr}
ldr r0, .L10+16
b emit
.L5:
mov r4, r0
bl get_load_inst
mov r3, r6
mov r1, r0
mov r2, r5
ldr r0, .L10+20
bl emit
mov r0, r4
pop {r4, r5, r6, lr}
b maybe_emit_bitshift_load
.L8:
mov r2, r1
ldr r0, .L10+24
mov r1, r5
pop {r4, r5, r6, lr}
b emit
.L9:
mov r2, r1
ldr r0, .L10+28
mov r1, r5
pop {r4, r5, r6, lr}
b emit
.L11:
.align 2
.L10:
.word KIND_ARRAY
.word KIND_FLOAT
.word KIND_DOUBLE
.word KIND_LDOUBLE
.word .LC2
.word .LC3
.word .LC0
.word .LC1
.size emit_lload, .-emit_lload
.comm SAVE,4,4
.comm KIND_LDOUBLE,4,4
.comm KIND_FLOAT,4,4
.comm KIND_DOUBLE,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_load_convert.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "cvtsi2ss #eax, #xmm0"
.LC1:
.string "cvtsi2sd #eax, #xmm0"
.LC2:
.string "cvtps2pd #xmm0, #xmm0"
.LC3:
.string "cvtpd2ps #xmm0, #xmm0"
.text
.p2align 4
.type emit_load_convert, @function
emit_load_convert:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
mov rdi, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
call is_inttype@PLT
test rax, rax
je .L2
mov rax, QWORD PTR KIND_FLOAT[rip]
cmp QWORD PTR [r12], rax
je .L22
.L2:
mov rdi, rbp
call is_inttype@PLT
test rax, rax
jne .L23
mov rdx, QWORD PTR 0[rbp]
mov rsi, QWORD PTR KIND_FLOAT[rip]
mov rax, QWORD PTR [r12]
mov rcx, QWORD PTR KIND_DOUBLE[rip]
cmp rdx, rsi
je .L24
.L5:
cmp rcx, rdx
je .L6
.L29:
cmp QWORD PTR KIND_LDOUBLE[rip], rdx
je .L6
.L7:
cmp QWORD PTR KIND_BOOL[rip], rax
mov rdi, rbp
je .L25
call is_inttype@PLT
test rax, rax
je .L9
mov rdi, r12
call is_inttype@PLT
test rax, rax
jne .L26
.L9:
mov rdi, r12
call is_inttype@PLT
test rax, rax
jne .L27
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
mov rax, QWORD PTR [r12]
mov rcx, QWORD PTR KIND_DOUBLE[rip]
cmp rax, rcx
je .L28
mov rdx, QWORD PTR 0[rbp]
mov rsi, QWORD PTR KIND_FLOAT[rip]
cmp rcx, rdx
jne .L29
.L6:
cmp rsi, rax
jne .L7
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC3[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L25:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_to_bool@PLT
.p2align 4,,10
.p2align 3
.L26:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_intcast@PLT
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
cmp rax, rcx
jne .L5
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC2[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L27:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_toint@PLT
.p2align 4,,10
.p2align 3
.L28:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
lea rdi, .LC1[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_load_convert, .-emit_load_convert
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_LDOUBLE
.align 8
.type KIND_LDOUBLE, @object
.size KIND_LDOUBLE, 8
KIND_LDOUBLE:
.zero 8
.globl KIND_FLOAT
.align 8
.type KIND_FLOAT, @object
.size KIND_FLOAT, 8
KIND_FLOAT:
.zero 8
.globl KIND_DOUBLE
.align 8
.type KIND_DOUBLE, @object
.size KIND_DOUBLE, 8
KIND_DOUBLE:
.zero 8
.globl KIND_BOOL
.align 8
.type KIND_BOOL, @object
.size KIND_BOOL, 8
KIND_BOOL:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_load_convert.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "cvtsi2ss #eax, #xmm0\000"
.align 2
.LC1:
.ascii "cvtsi2sd #eax, #xmm0\000"
.align 2
.LC2:
.ascii "cvtps2pd #xmm0, #xmm0\000"
.align 2
.LC3:
.ascii "cvtpd2ps #xmm0, #xmm0\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_load_convert, %function
emit_load_convert:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r0, r1
mov r4, r1
bl is_inttype
cmp r0, #0
beq .L2
ldr r3, .L29
ldr r2, [r5]
ldr r3, [r3]
cmp r2, r3
beq .L22
.L2:
mov r0, r4
bl is_inttype
cmp r0, #0
bne .L23
ldr r3, .L29
ldr r2, [r4]
ldr r0, [r3]
ldr r3, .L29+4
cmp r2, r0
ldr r1, [r3]
ldr r3, [r5]
beq .L24
.L5:
cmp r1, r2
beq .L6
.L28:
ldr r1, .L29+8
ldr r1, [r1]
cmp r1, r2
beq .L6
.L7:
ldr r2, .L29+12
mov r0, r4
ldr r2, [r2]
cmp r2, r3
beq .L25
bl is_inttype
cmp r0, #0
beq .L9
mov r0, r5
bl is_inttype
cmp r0, #0
bne .L26
.L9:
mov r0, r5
bl is_inttype
cmp r0, #0
popeq {r4, r5, r6, pc}
mov r0, r4
pop {r4, r5, r6, lr}
b emit_toint
.L23:
ldr r2, .L29+4
ldr r3, [r5]
ldr r1, [r2]
cmp r3, r1
beq .L27
ldr r2, [r4]
ldr r0, .L29
cmp r1, r2
ldr r0, [r0]
bne .L28
.L6:
cmp r0, r3
bne .L7
pop {r4, r5, r6, lr}
ldr r0, .L29+16
b emit
.L25:
pop {r4, r5, r6, lr}
b emit_to_bool
.L26:
mov r0, r4
pop {r4, r5, r6, lr}
b emit_intcast
.L24:
cmp r3, r1
bne .L5
pop {r4, r5, r6, lr}
ldr r0, .L29+20
b emit
.L22:
ldr r0, .L29+24
pop {r4, r5, r6, lr}
b emit
.L27:
ldr r0, .L29+28
pop {r4, r5, r6, lr}
b emit
.L30:
.align 2
.L29:
.word KIND_FLOAT
.word KIND_DOUBLE
.word KIND_LDOUBLE
.word KIND_BOOL
.word .LC3
.word .LC2
.word .LC0
.word .LC1
.size emit_load_convert, .-emit_load_convert
.comm SAVE,4,4
.comm KIND_LDOUBLE,4,4
.comm KIND_FLOAT,4,4
.comm KIND_DOUBLE,4,4
.comm KIND_BOOL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_load_struct_ref.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rbp"
.LC1:
.string "rax"
.LC2:
.string "internal error: %s"
.text
.p2align 4
.type emit_load_struct_ref, @function
emit_load_struct_ref:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edx
.L8:
mov eax, DWORD PTR 0[rbp]
cmp eax, 130
je .L2
jg .L3
cmp eax, 128
je .L4
cmp eax, 129
jne .L6
mov rdi, rbp
call ensure_lvar_init@PLT
mov edx, DWORD PTR 32[rbp]
add ebx, DWORD PTR [r12]
mov rdi, r12
lea rsi, .LC0[rip]
add edx, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_lload@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
cmp eax, 131
jne .L6
mov edi, DWORD PTR 4[rbp]
call emit_expr@PLT
add ebx, DWORD PTR [r12]
mov rdi, r12
lea rsi, .LC1[rip]
mov edx, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_lload@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
add ebx, DWORD PTR [r12]
mov esi, DWORD PTR 24[rbp]
mov rdi, r12
mov edx, ebx
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_gload@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
mov rax, QWORD PTR 8[rbp]
mov rbp, QWORD PTR 16[rbp]
add ebx, DWORD PTR [rax]
jmp .L8
.p2align 4,,10
.p2align 3
.L6:
mov rdi, rbp
call node2s@PLT
pop rbx
.cfi_def_cfa_offset 24
lea rdi, .LC2[rip]
pop rbp
.cfi_def_cfa_offset 16
mov esi, eax
pop r12
.cfi_def_cfa_offset 8
jmp error@PLT
.cfi_endproc
.LFE0:
.size emit_load_struct_ref, .-emit_load_struct_ref
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_load_struct_ref.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rbp\000"
.align 2
.LC1:
.ascii "rax\000"
.align 2
.LC2:
.ascii "internal error: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_load_struct_ref, %function
emit_load_struct_ref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
mov r6, r2
.L8:
ldr r3, [r4]
sub r3, r3, #128
cmp r3, #3
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L7
.word .L6
.word .L5
.word .L3
.L3:
ldr r0, [r4, #4]
bl emit_expr
ldr r2, [r5]
mov r0, r5
add r2, r6, r2
ldr r1, .L11
pop {r4, r5, r6, lr}
b emit_lload
.L5:
ldr r2, [r5]
mov r0, r5
ldr r1, [r4, #16]
add r2, r6, r2
pop {r4, r5, r6, lr}
b emit_gload
.L6:
mov r0, r4
bl ensure_lvar_init
ldr r2, [r4, #20]
ldr r3, [r5]
mov r0, r5
add r2, r2, r3
add r2, r2, r6
ldr r1, .L11+4
pop {r4, r5, r6, lr}
b emit_lload
.L7:
ldr r3, [r4, #8]
ldr r4, [r4, #12]
ldr r3, [r3]
add r6, r6, r3
b .L8
.L2:
mov r0, r4
bl node2s
pop {r4, r5, r6, lr}
mov r1, r0
ldr r0, .L11+8
b error
.L12:
.align 2
.L11:
.word .LC1
.word .LC0
.word .LC2
.size emit_load_struct_ref, .-emit_load_struct_ref
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_logand.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "test #rax, #rax"
.LC1:
.string "mov $0, #rax"
.LC2:
.string "je %s"
.LC3:
.string "mov $1, #rax"
.text
.p2align 4
.type emit_logand, @function
emit_logand:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call make_label@PLT
mov edi, DWORD PTR 4[rbx]
mov rbp, rax
call emit_expr@PLT
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
mov edi, DWORD PTR [rbx]
call emit_expr@PLT
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp emit_label@PLT
.cfi_endproc
.LFE0:
.size emit_logand, .-emit_logand
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_logand.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "test #rax, #rax\000"
.align 2
.LC1:
.ascii "mov $0, #rax\000"
.align 2
.LC2:
.ascii "je %s\000"
.align 2
.LC3:
.ascii "mov $1, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_logand, %function
emit_logand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
bl make_label
mov r4, r0
ldr r8, .L4
ldr r7, .L4+4
ldr r0, [r5, #4]
bl emit_expr
ldr r6, .L4+8
mov r0, r8
bl emit
mov r0, r7
bl emit
mov r1, r4
mov r0, r6
bl emit
ldr r0, [r5]
bl emit_expr
mov r0, r8
bl emit
mov r0, r7
bl emit
mov r1, r4
mov r0, r6
bl emit
ldr r0, .L4+12
bl emit
mov r0, r4
pop {r4, r5, r6, r7, r8, lr}
b emit_label
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size emit_logand, .-emit_logand
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_lognot.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "cmp $0, #rax"
.LC1:
.string "sete #al"
.LC2:
.string "movzb #al, #eax"
.text
.p2align 4
.type emit_lognot, @function
emit_lognot:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR [rdi]
call emit_expr@PLT
lea rdi, .LC0[rip]
call emit@PLT
lea rdi, .LC1[rip]
call emit@PLT
lea rdi, .LC2[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_lognot, .-emit_lognot
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_lognot.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "cmp $0, #rax\000"
.align 2
.LC1:
.ascii "sete #al\000"
.align 2
.LC2:
.ascii "movzb #al, #eax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_lognot, %function
emit_lognot:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, [r0]
bl emit_expr
ldr r0, .L4
bl emit
ldr r0, .L4+4
bl emit
pop {r4, lr}
ldr r0, .L4+8
b emit
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.size emit_lognot, .-emit_lognot
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_logor.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "test #rax, #rax"
.LC1:
.string "mov $1, #rax"
.LC2:
.string "jne %s"
.LC3:
.string "mov $0, #rax"
.text
.p2align 4
.type emit_logor, @function
emit_logor:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call make_label@PLT
mov edi, DWORD PTR 4[rbx]
mov rbp, rax
call emit_expr@PLT
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
mov edi, DWORD PTR [rbx]
call emit_expr@PLT
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp emit_label@PLT
.cfi_endproc
.LFE0:
.size emit_logor, .-emit_logor
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_logor.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "test #rax, #rax\000"
.align 2
.LC1:
.ascii "mov $1, #rax\000"
.align 2
.LC2:
.ascii "jne %s\000"
.align 2
.LC3:
.ascii "mov $0, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_logor, %function
emit_logor:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
bl make_label
mov r4, r0
ldr r8, .L4
ldr r7, .L4+4
ldr r0, [r5, #4]
bl emit_expr
ldr r6, .L4+8
mov r0, r8
bl emit
mov r0, r7
bl emit
mov r1, r4
mov r0, r6
bl emit
ldr r0, [r5]
bl emit_expr
mov r0, r8
bl emit
mov r0, r7
bl emit
mov r1, r4
mov r0, r6
bl emit
ldr r0, .L4+12
bl emit
mov r0, r4
pop {r4, r5, r6, r7, r8, lr}
b emit_label
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size emit_logor, .-emit_logor
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_lsave.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movss #xmm0, %d(#rbp)"
.LC1:
.string "movsd #xmm0, %d(#rbp)"
.LC2:
.string "%d(%%rbp)"
.LC3:
.string "mov #%s, %s"
.text
.p2align 4
.type emit_lsave, @function
emit_lsave:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, esi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rax, QWORD PTR [rdi]
cmp rax, QWORD PTR KIND_FLOAT[rip]
je .L7
cmp rax, QWORD PTR KIND_DOUBLE[rip]
je .L8
mov rbp, rdi
call maybe_convert_bool@PLT
mov rdi, rbp
mov esi, 97
call get_int_reg@PLT
mov esi, r12d
lea rdi, .LC2[rip]
mov r13, rax
call format@PLT
mov rdi, rbp
mov r12, rax
mov rsi, rax
call maybe_emit_bitshift_save@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdx, r12
mov rsi, r13
pop r12
.cfi_def_cfa_offset 16
lea rdi, .LC3[rip]
xor eax, eax
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC1[rip]
pop r12
.cfi_def_cfa_offset 16
xor eax, eax
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
pop rbp
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop r12
.cfi_def_cfa_offset 16
xor eax, eax
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_lsave, .-emit_lsave
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_FLOAT
.align 8
.type KIND_FLOAT, @object
.size KIND_FLOAT, 8
KIND_FLOAT:
.zero 8
.globl KIND_DOUBLE
.align 8
.type KIND_DOUBLE, @object
.size KIND_DOUBLE, 8
KIND_DOUBLE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_lsave.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movss #xmm0, %d(#rbp)\000"
.align 2
.LC1:
.ascii "movsd #xmm0, %d(#rbp)\000"
.align 2
.LC2:
.ascii "%d(%%rbp)\000"
.align 2
.LC3:
.ascii "mov #%s, %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_lsave, %function
emit_lsave:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L9
ldr r3, [r0]
ldr r2, [r2]
cmp r3, r2
beq .L7
ldr r2, .L9+4
ldr r2, [r2]
cmp r3, r2
beq .L8
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
bl maybe_convert_bool
mov r1, #97
mov r0, r4
bl get_int_reg
mov r1, r5
mov r6, r0
ldr r0, .L9+8
bl format
mov r5, r0
mov r0, r4
mov r1, r5
bl maybe_emit_bitshift_save
mov r2, r5
mov r1, r6
pop {r4, r5, r6, lr}
ldr r0, .L9+12
b emit
.L8:
ldr r0, .L9+16
b emit
.L7:
ldr r0, .L9+20
b emit
.L10:
.align 2
.L9:
.word KIND_FLOAT
.word KIND_DOUBLE
.word .LC2
.word .LC3
.word .LC1
.word .LC0
.size emit_lsave, .-emit_lsave
.comm SAVE,4,4
.comm KIND_FLOAT,4,4
.comm KIND_DOUBLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_lvar.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rbp"
.text
.p2align 4
.type emit_lvar, @function
emit_lvar:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
call ensure_lvar_init@PLT
mov edi, DWORD PTR 4[rbx]
mov edx, DWORD PTR [rbx]
lea rsi, .LC0[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp emit_lload@PLT
.cfi_endproc
.LFE0:
.size emit_lvar, .-emit_lvar
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_lvar.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rbp\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_lvar, %function
emit_lvar:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl ensure_lvar_init
ldr r2, [r4]
ldr r0, [r4, #4]
ldr r1, .L4
pop {r4, lr}
b emit_lload
.L5:
.align 2
.L4:
.word .LC0
.size emit_lvar, .-emit_lvar
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_padding.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_padding, @function
emit_padding:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, DWORD PTR [rdi]
sub ebp, esi
mov edi, ebp
not edi
shr edi, 31
call assert@PLT
mov edi, ebp
pop rbp
.cfi_def_cfa_offset 8
jmp emit_zero@PLT
.cfi_endproc
.LFE0:
.size emit_padding, .-emit_padding
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_padding.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_padding, %function
emit_padding:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, [r0]
sub r4, r4, r1
mvn r0, r4
lsr r0, r0, #31
bl assert
mov r0, r4
pop {r4, lr}
b emit_zero
.size emit_padding, .-emit_padding
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_pointer_arith.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rcx"
.LC1:
.string "rax"
.LC2:
.string "imul $%d, #rax"
.LC3:
.string "mov #rax, #rcx"
.LC4:
.string "add #rcx, #rax"
.LC5:
.string "sub #rcx, #rax"
.LC6:
.string "invalid operator '%d'"
.text
.p2align 4
.type emit_pointer_arith, @function
emit_pointer_arith:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdx
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edi
mov rdi, rsi
call emit_expr@PLT
lea rdi, .LC0[rip]
call push@PLT
lea rdi, .LC1[rip]
call push@PLT
mov rdi, r12
call emit_expr@PLT
mov rax, QWORD PTR 0[rbp]
mov rax, QWORD PTR [rax]
mov esi, DWORD PTR [rax]
cmp esi, 1
jle .L2
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
.L2:
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
call pop@PLT
cmp bl, 43
je .L3
cmp bl, 45
je .L4
movsx esi, bl
lea rdi, .LC6[rip]
call error@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp pop@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp pop@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
pop rbx
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp pop@PLT
.cfi_endproc
.LFE0:
.size emit_pointer_arith, .-emit_pointer_arith
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_pointer_arith.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rcx\000"
.align 2
.LC1:
.ascii "rax\000"
.align 2
.LC2:
.ascii "imul $%d, #rax\000"
.align 2
.LC3:
.ascii "mov #rax, #rcx\000"
.align 2
.LC4:
.ascii "add #rcx, #rax\000"
.align 2
.LC5:
.ascii "sub #rcx, #rax\000"
.align 2
.LC6:
.ascii "invalid operator '%d'\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_pointer_arith, %function
emit_pointer_arith:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r2
mov r5, r1
mov r4, r0
mov r0, r1
bl emit_expr
ldr r0, .L10
bl push
ldr r0, .L10+4
bl push
mov r0, r6
bl emit_expr
ldr r3, [r5]
ldr r3, [r3]
ldr r1, [r3]
cmp r1, #1
ble .L2
ldr r0, .L10+8
bl emit
.L2:
ldr r0, .L10+12
bl emit
ldr r0, .L10+4
bl pop
cmp r4, #43
beq .L3
cmp r4, #45
beq .L4
mov r1, r4
ldr r0, .L10+16
bl error
pop {r4, r5, r6, lr}
ldr r0, .L10
b pop
.L3:
ldr r0, .L10+20
bl emit
pop {r4, r5, r6, lr}
ldr r0, .L10
b pop
.L4:
ldr r0, .L10+24
bl emit
pop {r4, r5, r6, lr}
ldr r0, .L10
b pop
.L11:
.align 2
.L10:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC6
.word .LC4
.word .LC5
.size emit_pointer_arith, .-emit_pointer_arith
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_post_inc_dec.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rax"
.LC1:
.string "%s $%d, #rax"
.text
.p2align 4
.type emit_post_inc_dec, @function
emit_post_inc_dec:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR [rdi]
call emit_expr@PLT
lea rdi, .LC0[rip]
call push@PLT
mov rax, QWORD PTR 8[rbx]
mov edx, 1
mov rax, QWORD PTR [rax]
test rax, rax
je .L2
mov edx, DWORD PTR [rax]
.L2:
mov rsi, rbp
lea rdi, .LC1[rip]
call emit@PLT
mov edi, DWORD PTR [rbx]
call emit_store@PLT
add rsp, 8
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp pop@PLT
.cfi_endproc
.LFE0:
.size emit_post_inc_dec, .-emit_post_inc_dec
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_post_inc_dec.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rax\000"
.align 2
.LC1:
.ascii "%s $%d, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_post_inc_dec, %function
emit_post_inc_dec:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
ldr r0, [r0]
bl emit_expr
ldr r0, .L6
bl push
ldr r3, [r4, #4]
mov r1, r5
ldr r3, [r3]
ldr r0, .L6+4
cmp r3, #0
moveq r2, #1
ldrne r2, [r3]
bl emit
ldr r0, [r4]
bl emit_store
pop {r4, r5, r6, lr}
ldr r0, .L6
b pop
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.size emit_post_inc_dec, .-emit_post_inc_dec
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_pre_inc_dec.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s $%d, #rax"
.text
.p2align 4
.type emit_pre_inc_dec, @function
emit_pre_inc_dec:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR [rdi]
call emit_expr@PLT
mov rax, QWORD PTR 8[rbx]
mov edx, 1
mov rax, QWORD PTR [rax]
test rax, rax
je .L2
mov edx, DWORD PTR [rax]
.L2:
mov rsi, rbp
lea rdi, .LC0[rip]
call emit@PLT
mov edi, DWORD PTR [rbx]
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp emit_store@PLT
.cfi_endproc
.LFE0:
.size emit_pre_inc_dec, .-emit_pre_inc_dec
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_pre_inc_dec.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s $%d, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_pre_inc_dec, %function
emit_pre_inc_dec:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
ldr r0, [r0]
bl emit_expr
ldr r3, [r4, #4]
mov r1, r5
ldr r3, [r3]
ldr r0, .L6
cmp r3, #0
moveq r2, #1
ldrne r2, [r3]
bl emit
ldr r0, [r4]
pop {r4, r5, r6, lr}
b emit_store
.L7:
.align 2
.L6:
.word .LC0
.size emit_pre_inc_dec, .-emit_pre_inc_dec
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_regsave_area.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sub $%d, #rsp"
.LC1:
.string "mov #rdi, (#rsp)"
.LC2:
.string "mov #rsi, 8(#rsp)"
.LC3:
.string "mov #rdx, 16(#rsp)"
.LC4:
.string "mov #rcx, 24(#rsp)"
.LC5:
.string "mov #r8, 32(#rsp)"
.LC6:
.string "mov #r9, 40(#rsp)"
.LC7:
.string "movaps #xmm0, 48(#rsp)"
.LC8:
.string "movaps #xmm1, 64(#rsp)"
.LC9:
.string "movaps #xmm2, 80(#rsp)"
.LC10:
.string "movaps #xmm3, 96(#rsp)"
.LC11:
.string "movaps #xmm4, 112(#rsp)"
.LC12:
.string "movaps #xmm5, 128(#rsp)"
.LC13:
.string "movaps #xmm6, 144(#rsp)"
.LC14:
.string "movaps #xmm7, 160(#rsp)"
.text
.p2align 4
.type emit_regsave_area, @function
emit_regsave_area:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, DWORD PTR REGAREA_SIZE[rip]
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC7[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC8[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC9[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC10[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC11[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC12[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC13[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC14[rip]
xor eax, eax
call emit@PLT
mov eax, DWORD PTR REGAREA_SIZE[rip]
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emit_regsave_area, .-emit_regsave_area
.globl REGAREA_SIZE
.bss
.align 4
.type REGAREA_SIZE, @object
.size REGAREA_SIZE, 4
REGAREA_SIZE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_regsave_area.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sub $%d, #rsp\000"
.align 2
.LC1:
.ascii "mov #rdi, (#rsp)\000"
.align 2
.LC2:
.ascii "mov #rsi, 8(#rsp)\000"
.align 2
.LC3:
.ascii "mov #rdx, 16(#rsp)\000"
.align 2
.LC4:
.ascii "mov #rcx, 24(#rsp)\000"
.align 2
.LC5:
.ascii "mov #r8, 32(#rsp)\000"
.align 2
.LC6:
.ascii "mov #r9, 40(#rsp)\000"
.align 2
.LC7:
.ascii "movaps #xmm0, 48(#rsp)\000"
.align 2
.LC8:
.ascii "movaps #xmm1, 64(#rsp)\000"
.align 2
.LC9:
.ascii "movaps #xmm2, 80(#rsp)\000"
.align 2
.LC10:
.ascii "movaps #xmm3, 96(#rsp)\000"
.align 2
.LC11:
.ascii "movaps #xmm4, 112(#rsp)\000"
.align 2
.LC12:
.ascii "movaps #xmm5, 128(#rsp)\000"
.align 2
.LC13:
.ascii "movaps #xmm6, 144(#rsp)\000"
.align 2
.LC14:
.ascii "movaps #xmm7, 160(#rsp)\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_regsave_area, %function
emit_regsave_area:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
ldr r0, .L4+4
ldr r1, [r4]
bl emit
ldr r0, .L4+8
bl emit
ldr r0, .L4+12
bl emit
ldr r0, .L4+16
bl emit
ldr r0, .L4+20
bl emit
ldr r0, .L4+24
bl emit
ldr r0, .L4+28
bl emit
ldr r0, .L4+32
bl emit
ldr r0, .L4+36
bl emit
ldr r0, .L4+40
bl emit
ldr r0, .L4+44
bl emit
ldr r0, .L4+48
bl emit
ldr r0, .L4+52
bl emit
ldr r0, .L4+56
bl emit
ldr r0, .L4+60
bl emit
ldr r0, [r4]
pop {r4, pc}
.L5:
.align 2
.L4:
.word REGAREA_SIZE
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.word .LC13
.word .LC14
.size emit_regsave_area, .-emit_regsave_area
.comm REGAREA_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_ret.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "leave"
.LC1:
.string "ret"
.text
.p2align 4
.type emit_ret, @function
emit_ret:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call emit@PLT
lea rdi, .LC1[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_ret, .-emit_ret
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_ret.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "leave\000"
.align 2
.LC1:
.ascii "ret\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_ret, %function
emit_ret:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl emit
pop {r4, lr}
ldr r0, .L4+4
b emit
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.size emit_ret, .-emit_ret
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_return.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_return, @function
emit_return:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov rdi, QWORD PTR [rdi]
test rdi, rdi
je .L2
call emit_expr@PLT
mov rax, QWORD PTR [rbx]
mov edi, DWORD PTR [rax]
call maybe_booleanize_retval@PLT
.L2:
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
jmp emit_ret@PLT
.cfi_endproc
.LFE0:
.size emit_return, .-emit_return
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_return.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_return, %function
emit_return:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
cmp r0, #0
beq .L2
bl emit_expr
ldr r3, [r4]
ldr r0, [r3]
bl maybe_booleanize_retval
.L2:
pop {r4, lr}
b emit_ret
.size emit_return, .-emit_return
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_save_literal.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movb $%d, %d(#rbp)"
.LC1:
.string "movw $%d, %d(#rbp)"
.LC2:
.string "movl $%d, %d(#rbp)"
.LC3:
.string "movl $%lu, %d(#rbp)"
.LC4:
.string "movl $%u, %d(#rbp)"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC5:
.string "internal error: <%s> <%s> <%d>"
.text
.p2align 4
.type emit_save_literal, @function
emit_save_literal:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
mov eax, DWORD PTR [rsi]
add eax, -128
cmp eax, 9
ja .L2
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L10-.L4
.long .L9-.L4
.long .L9-.L4
.long .L9-.L4
.long .L6-.L4
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L9:
mov esi, DWORD PTR [rdi]
mov edx, r12d
lea rdi, .LC3[rip]
call emit@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov rsi, QWORD PTR 0[rbp]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
lea edx, 4[r12]
lea rdi, .LC3[rip]
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
sar rsi, 32
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov esi, DWORD PTR 8[rdi]
mov edx, r12d
lea rdi, .LC3[rip]
call emit@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
movsx rsi, DWORD PTR 12[rbp]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
lea edx, 4[r12]
lea rdi, .LC3[rip]
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
movss xmm0, DWORD PTR 8[rdi]
movss DWORD PTR 4[rsp], xmm0
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov rsi, QWORD PTR 4[rsp]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov edx, r12d
lea rdi, .LC4[rip]
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov rsi, QWORD PTR [rdi]
mov edx, r12d
.L21:
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
xor esi, esi
cmp QWORD PTR [rdi], 0
mov edx, r12d
setne sil
jmp .L21
.p2align 4,,10
.p2align 3
.L8:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov rsi, QWORD PTR [rdi]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov edx, r12d
lea rdi, .LC2[rip]
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov rsi, QWORD PTR [rdi]
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov edx, r12d
lea rdi, .LC1[rip]
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp emit@PLT
.L2:
.cfi_restore_state
mov rdi, rsi
call ty2s@PLT
mov rdi, rbp
mov r13, rax
call node2s@PLT
mov esi, eax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov ecx, r12d
mov rdx, r13
pop rbp
.cfi_def_cfa_offset 24
lea rdi, .LC5[rip]
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp error@PLT
.L23:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size emit_save_literal, .-emit_save_literal
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_save_literal.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movb $%d, %d(#rbp)\000"
.align 2
.LC1:
.ascii "movw $%d, %d(#rbp)\000"
.align 2
.LC2:
.ascii "movl $%d, %d(#rbp)\000"
.align 2
.LC3:
.ascii "movl $%lu, %d(#rbp)\000"
.align 2
.LC4:
.ascii "movl $%u, %d(#rbp)\000"
.align 2
.LC5:
.ascii "internal error: <%s> <%s> <%d>\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_save_literal, %function
emit_save_literal:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr ip, [r1]
mov r5, r0
sub ip, ip, #128
mov r4, r2
sub sp, sp, #12
cmp ip, #9
ldrls pc, [pc, ip, asl #2]
b .L2
.L4:
.word .L10
.word .L9
.word .L9
.word .L9
.word .L6
.word .L8
.word .L7
.word .L6
.word .L5
.word .L3
.L9:
ldr r1, [r0]
ldr r0, .L15
bl emit
mov r3, #32
ldr r1, [r5]
ldr r0, .L15
add r2, r4, #4
asr r1, r1, r3
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b emit
.L6:
ldr r1, [r0, #4]
ldr r0, .L15
bl emit
mov r3, #32
ldr r1, [r5, #4]
ldr r0, .L15
add r2, r4, #4
asr r1, r1, r3
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b emit
.L7:
ldr r1, [r0, #4]
ldr r0, .L15+4
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b emit
.L5:
ldr r1, [r0]
.L12:
ldr r0, .L15+8
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b emit
.L3:
ldr r1, [r0]
subs r1, r1, #0
movne r1, #1
b .L12
.L8:
ldr r1, [r0]
ldr r0, .L15+12
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b emit
.L10:
ldr r1, [r0]
ldr r0, .L15+16
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b emit
.L2:
str r1, [sp, #4]
bl node2s
ldr r1, [sp, #4]
mov r5, r0
mov r0, r1
bl ty2s
mov r3, r4
mov r2, r0
mov r1, r5
ldr r0, .L15+20
add sp, sp, #12
@ sp needed
pop {r4, r5, lr}
b error
.L16:
.align 2
.L15:
.word .LC3
.word .LC4
.word .LC0
.word .LC2
.word .LC1
.word .LC5
.size emit_save_literal, .-emit_save_literal
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_store.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "internal error"
.text
.p2align 4
.type emit_store, @function
emit_store:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rdi]
cmp eax, 130
je .L2
jg .L3
cmp eax, 128
je .L4
cmp eax, 129
jne .L6
sub rsp, 24
.cfi_def_cfa_offset 32
mov QWORD PTR 8[rsp], rdi
call ensure_lvar_init@PLT
mov rdi, QWORD PTR 8[rsp]
mov esi, DWORD PTR 12[rdi]
mov edi, DWORD PTR 4[rdi]
add rsp, 24
.cfi_def_cfa_offset 8
jmp emit_lsave@PLT
.p2align 4,,10
.p2align 3
.L3:
cmp eax, 131
jne .L6
jmp emit_assign_deref@PLT
.p2align 4,,10
.p2align 3
.L2:
mov esi, DWORD PTR 4[rdi]
mov edi, DWORD PTR 8[rdi]
xor edx, edx
jmp emit_gsave@PLT
.p2align 4,,10
.p2align 3
.L6:
lea rdi, .LC0[rip]
jmp error@PLT
.p2align 4,,10
.p2align 3
.L4:
mov esi, DWORD PTR 4[rdi]
mov edi, DWORD PTR 16[rdi]
xor edx, edx
jmp emit_assign_struct_ref@PLT
.cfi_endproc
.LFE0:
.size emit_store, .-emit_store
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_store.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "internal error\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_store, %function
emit_store:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, lr}
sub r3, r3, #128
mov r4, r0
cmp r3, #3
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L7
.word .L6
.word .L5
.word .L3
.L3:
pop {r4, lr}
b emit_assign_deref
.L7:
ldr r1, [r0, #4]
mov r2, #0
pop {r4, lr}
ldr r0, [r0, #16]
b emit_assign_struct_ref
.L6:
bl ensure_lvar_init
ldr r1, [r4, #12]
ldr r0, [r4, #4]
pop {r4, lr}
b emit_lsave
.L5:
ldr r1, [r0, #4]
mov r2, #0
pop {r4, lr}
ldr r0, [r0, #8]
b emit_gsave
.L2:
ldr r0, .L10
pop {r4, lr}
b error
.L11:
.align 2
.L10:
.word .LC0
.size emit_store, .-emit_store
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_ternary.c"
.intel_syntax noprefix
.text
.p2align 4
.type emit_ternary, @function
emit_ternary:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
mov rdi, QWORD PTR 16[rdi]
call emit_expr@PLT
xor eax, eax
call make_label@PLT
mov rdi, rax
mov rbp, rax
call emit_je@PLT
mov rdi, QWORD PTR 8[rbx]
test rdi, rdi
jne .L9
.L2:
cmp QWORD PTR [rbx], 0
je .L3
xor eax, eax
call make_label@PLT
mov rdi, rax
mov r12, rax
call emit_jmp@PLT
mov rdi, rbp
call emit_label@PLT
mov rdi, QWORD PTR [rbx]
call emit_expr@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_label@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp emit_label@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
call emit_expr@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size emit_ternary, .-emit_ternary
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_ternary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_ternary, %function
emit_ternary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r0, [r0, #8]
bl emit_expr
bl make_label
mov r5, r0
bl emit_je
ldr r0, [r4, #4]
cmp r0, #0
bne .L9
.L2:
ldr r3, [r4]
cmp r3, #0
beq .L3
bl make_label
mov r6, r0
bl emit_jmp
mov r0, r5
bl emit_label
ldr r0, [r4]
bl emit_expr
mov r0, r6
pop {r4, r5, r6, lr}
b emit_label
.L3:
mov r0, r5
pop {r4, r5, r6, lr}
b emit_label
.L9:
bl emit_expr
b .L2
.size emit_ternary, .-emit_ternary
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_to_bool.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "ucomiss"
.LC1:
.string "ucomisd"
.LC2:
.string "xorpd #xmm1, #xmm1"
.LC3:
.string "%s #xmm1, #xmm0"
.LC4:
.string "setne #al"
.LC5:
.string "cmp $0, #rax"
.LC6:
.string "movzb #al, #eax"
.text
.p2align 4
.type emit_to_bool, @function
emit_to_bool:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
call is_flotype@PLT
test rax, rax
je .L2
mov edi, 1
call push_xmm@PLT
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
mov rax, QWORD PTR KIND_FLOAT[rip]
cmp QWORD PTR [rbx], rax
lea rsi, .LC0[rip]
lea rax, .LC1[rip]
lea rdi, .LC3[rip]
cmovne rsi, rax
xor eax, eax
call emit@PLT
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
mov edi, 1
call pop_xmm@PLT
lea rdi, .LC6[rip]
xor eax, eax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC6[rip]
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_to_bool, .-emit_to_bool
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_FLOAT
.align 8
.type KIND_FLOAT, @object
.size KIND_FLOAT, 8
KIND_FLOAT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_to_bool.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "ucomiss\000"
.align 2
.LC1:
.ascii "ucomisd\000"
.align 2
.LC2:
.ascii "xorpd #xmm1, #xmm1\000"
.align 2
.LC3:
.ascii "%s #xmm1, #xmm0\000"
.align 2
.LC4:
.ascii "setne #al\000"
.align 2
.LC5:
.ascii "cmp $0, #rax\000"
.align 2
.LC6:
.ascii "movzb #al, #eax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_to_bool, %function
emit_to_bool:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl is_flotype
cmp r0, #0
beq .L2
mov r0, #1
bl push_xmm
ldr r0, .L8
bl emit
ldr r3, .L8+4
ldr ip, [r4]
ldr r1, [r3]
ldr r2, .L8+8
ldr r3, .L8+12
cmp ip, r1
moveq r1, r2
movne r1, r3
ldr r0, .L8+16
bl emit
ldr r0, .L8+20
bl emit
mov r0, #1
bl pop_xmm
pop {r4, lr}
ldr r0, .L8+24
b emit
.L2:
ldr r0, .L8+28
bl emit
ldr r0, .L8+20
bl emit
pop {r4, lr}
ldr r0, .L8+24
b emit
.L9:
.align 2
.L8:
.word .LC2
.word KIND_FLOAT
.word .LC0
.word .LC1
.word .LC3
.word .LC4
.word .LC6
.word .LC5
.size emit_to_bool, .-emit_to_bool
.comm SAVE,4,4
.comm KIND_FLOAT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_toint.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "cvttss2si #xmm0, #eax"
.LC1:
.string "cvttsd2si #xmm0, #eax"
.text
.p2align 4
.type emit_toint, @function
emit_toint:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
cmp rax, QWORD PTR KIND_FLOAT[rip]
je .L5
cmp rax, QWORD PTR KIND_DOUBLE[rip]
je .L6
ret
.p2align 4,,10
.p2align 3
.L5:
lea rdi, .LC0[rip]
jmp emit@PLT
.p2align 4,,10
.p2align 3
.L6:
lea rdi, .LC1[rip]
jmp emit@PLT
.cfi_endproc
.LFE0:
.size emit_toint, .-emit_toint
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl KIND_FLOAT
.align 8
.type KIND_FLOAT, @object
.size KIND_FLOAT, 8
KIND_FLOAT:
.zero 8
.globl KIND_DOUBLE
.align 8
.type KIND_DOUBLE, @object
.size KIND_DOUBLE, 8
KIND_DOUBLE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_toint.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "cvttss2si #xmm0, #eax\000"
.align 2
.LC1:
.ascii "cvttsd2si #xmm0, #eax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_toint, %function
emit_toint:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L6
ldr r3, [r0]
ldr r2, [r2]
cmp r3, r2
beq .L5
ldr r2, .L6+4
ldr r2, [r2]
cmp r3, r2
bxne lr
ldr r0, .L6+8
b emit
.L5:
ldr r0, .L6+12
b emit
.L7:
.align 2
.L6:
.word KIND_FLOAT
.word KIND_DOUBLE
.word .LC1
.word .LC0
.size emit_toint, .-emit_toint
.comm SAVE,4,4
.comm KIND_FLOAT,4,4
.comm KIND_DOUBLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_toplevel.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "internal error"
.text
.p2align 4
.globl emit_toplevel
.type emit_toplevel, @function
emit_toplevel:
.LFB0:
.cfi_startproc
endbr64
mov DWORD PTR stackpos[rip], 8
mov rax, QWORD PTR [rdi]
cmp rax, QWORD PTR AST_FUNC[rip]
je .L8
cmp rax, QWORD PTR AST_DECL[rip]
je .L9
lea rdi, .LC0[rip]
jmp error@PLT
.p2align 4,,10
.p2align 3
.L9:
jmp emit_global_var@PLT
.p2align 4,,10
.p2align 3
.L8:
sub rsp, 24
.cfi_def_cfa_offset 32
mov QWORD PTR 8[rsp], rdi
call emit_func_prologue@PLT
mov rdi, QWORD PTR 8[rsp]
mov edi, DWORD PTR 8[rdi]
call emit_expr@PLT
xor eax, eax
add rsp, 24
.cfi_def_cfa_offset 8
jmp emit_ret@PLT
.cfi_endproc
.LFE0:
.size emit_toplevel, .-emit_toplevel
.globl stackpos
.bss
.align 4
.type stackpos, @object
.size stackpos, 4
stackpos:
.zero 4
.globl AST_FUNC
.align 8
.type AST_FUNC, @object
.size AST_FUNC, 8
AST_FUNC:
.zero 8
.globl AST_DECL
.align 8
.type AST_DECL, @object
.size AST_DECL, 8
AST_DECL:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_toplevel.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "internal error\000"
.text
.align 2
.global emit_toplevel
.syntax unified
.arm
.fpu softvfp
.type emit_toplevel, %function
emit_toplevel:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #8
ldr r2, .L10
ldr r3, [r0]
ldr ip, [r2]
ldr r2, .L10+4
cmp r3, ip
str r1, [r2]
beq .L8
ldr r2, .L10+8
ldr r2, [r2]
cmp r3, r2
beq .L9
ldr r0, .L10+12
b error
.L9:
b emit_global_var
.L8:
push {r4, lr}
mov r4, r0
bl emit_func_prologue
ldr r0, [r4, #4]
bl emit_expr
pop {r4, lr}
b emit_ret
.L11:
.align 2
.L10:
.word AST_FUNC
.word stackpos
.word AST_DECL
.word .LC0
.size emit_toplevel, .-emit_toplevel
.comm stackpos,4,4
.comm AST_FUNC,4,4
.comm AST_DECL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_zero.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".quad 0"
.LC1:
.string ".long 0"
.LC2:
.string ".byte 0"
.text
.p2align 4
.type emit_zero, @function
emit_zero:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
cmp edi, 7
jle .L2
mov ebx, edi
lea r12, .LC0[rip]
.p2align 4,,10
.p2align 3
.L3:
mov rdi, r12
sub ebx, 8
call emit@PLT
cmp ebx, 7
jg .L3
and ebp, 7
.L2:
cmp ebp, 3
jle .L4
lea rdi, .LC1[rip]
sub ebp, 4
call emit@PLT
.L4:
test ebp, ebp
jle .L1
lea rbx, .LC2[rip]
.L6:
mov rdi, rbx
call emit@PLT
sub ebp, 1
jne .L6
.L1:
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emit_zero, .-emit_zero
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_zero.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".quad 0\000"
.align 2
.LC1:
.ascii ".long 0\000"
.align 2
.LC2:
.ascii ".byte 0\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_zero, %function
emit_zero:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #7
push {r4, r5, r6, lr}
mov r5, r0
ble .L2
mov r4, r0
ldr r6, .L11
.L3:
mov r0, r6
sub r4, r4, #8
bl emit
cmp r4, #7
bgt .L3
and r5, r5, #7
.L2:
cmp r5, #3
ble .L4
ldr r0, .L11+4
bl emit
sub r5, r5, #4
.L4:
cmp r5, #0
pople {r4, r5, r6, pc}
ldr r4, .L11+8
.L6:
mov r0, r4
bl emit
subs r5, r5, #1
bne .L6
pop {r4, r5, r6, pc}
.L12:
.align 2
.L11:
.word .LC0
.word .LC1
.word .LC2
.size emit_zero, .-emit_zero
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_emit_zero_filler.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movl $0, %d(#rbp)"
.LC1:
.string "movb $0, %d(#rbp)"
.text
.p2align 4
.type emit_zero_filler, @function
emit_zero_filler:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14d, esi
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
lea r12d, -3[rsi]
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov ebp, edi
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
cmp edi, r12d
jge .L2
mov ebx, edi
lea r13, .LC0[rip]
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebx
mov rdi, r13
add ebx, 4
call emit@PLT
cmp ebx, r12d
jl .L3
lea eax, -4[r14]
sub eax, ebp
and eax, -4
lea ebp, 4[rax+rbp]
.L2:
cmp r14d, ebp
jle .L1
lea rbx, .LC1[rip]
.L5:
mov esi, ebp
mov rdi, rbx
add ebp, 1
call emit@PLT
cmp r14d, ebp
jne .L5
.L1:
pop rbx
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size emit_zero_filler, .-emit_zero_filler
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_emit_zero_filler.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movl $0, %d(#rbp)\000"
.align 2
.LC1:
.ascii "movb $0, %d(#rbp)\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type emit_zero_filler, %function
emit_zero_filler:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
sub r6, r1, #3
cmp r0, r6
mov r8, r1
mov r5, r0
bge .L2
mov r4, r0
ldr r7, .L10
.L3:
mov r1, r4
mov r0, r7
add r4, r4, #4
bl emit
cmp r4, r6
blt .L3
sub r3, r8, #4
sub r3, r3, r5
bic r3, r3, #3
add r5, r5, #4
add r5, r5, r3
.L2:
cmp r8, r5
pople {r4, r5, r6, r7, r8, pc}
ldr r4, .L10+4
.L5:
mov r1, r5
mov r0, r4
add r5, r5, #1
bl emit
cmp r8, r5
bne .L5
pop {r4, r5, r6, r7, r8, pc}
.L11:
.align 2
.L10:
.word .LC0
.word .LC1
.size emit_zero_filler, .-emit_zero_filler
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_ensure_lvar_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type ensure_lvar_init, @function
ensure_lvar_init:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rax, QWORD PTR AST_LVAR[rip]
mov rbx, rdi
cmp QWORD PTR [rdi], rax
sete dil
movzx edi, dil
call assert@PLT
mov rdi, QWORD PTR 8[rbx]
test rdi, rdi
je .L2
mov rax, QWORD PTR 16[rbx]
mov esi, DWORD PTR 24[rbx]
mov edx, DWORD PTR [rax]
call emit_decl_init@PLT
.L2:
mov QWORD PTR 8[rbx], 0
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ensure_lvar_init, .-ensure_lvar_init
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl AST_LVAR
.align 8
.type AST_LVAR, @object
.size AST_LVAR, 8
AST_LVAR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_ensure_lvar_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_lvar_init, %function
ensure_lvar_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L8
push {r4, lr}
ldr r3, [r3]
mov r4, r0
ldr r0, [r0]
sub r0, r0, r3
clz r0, r0
lsr r0, r0, #5
bl assert
ldr r0, [r4, #4]
cmp r0, #0
beq .L2
ldr r3, [r4, #8]
ldr r1, [r4, #12]
ldr r2, [r3]
bl emit_decl_init
.L2:
mov r3, #0
str r3, [r4, #4]
pop {r4, pc}
.L9:
.align 2
.L8:
.word AST_LVAR
.size ensure_lvar_init, .-ensure_lvar_init
.comm SAVE,4,4
.comm AST_LVAR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_get_caller_list.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string " -> "
.LC1:
.string "%s"
.text
.p2align 4
.type get_caller_list, @function
get_caller_list:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
lea r12, .LC0[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
xor ebx, ebx
call make_buffer@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR functions[rip]
mov esi, ebx
add ebx, 1
call vec_get@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
mov edx, eax
xor eax, eax
call buf_printf@PLT
.L2:
mov edi, DWORD PTR functions[rip]
call vec_len@PLT
cmp eax, ebx
jle .L10
test ebx, ebx
je .L3
mov rsi, r12
mov rdi, rbp
xor eax, eax
call buf_printf@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L10:
mov rdi, rbp
xor esi, esi
call buf_write@PLT
pop rbx
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp buf_body@PLT
.cfi_endproc
.LFE0:
.size get_caller_list, .-get_caller_list
.globl functions
.bss
.align 4
.type functions, @object
.size functions, 4
functions:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_get_caller_list.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii " -> \000"
.align 2
.LC1:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_caller_list, %function
get_caller_list:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl make_buffer
mov r4, #0
mov r6, r0
ldr r5, .L11
ldr r8, .L11+4
ldr r7, .L11+8
b .L2
.L3:
mov r1, r4
ldr r0, [r5]
bl vec_get
mov r1, r7
mov r2, r0
mov r0, r6
bl buf_printf
add r4, r4, #1
.L2:
ldr r0, [r5]
bl vec_len
cmp r0, r4
ble .L10
cmp r4, #0
beq .L3
mov r1, r8
mov r0, r6
bl buf_printf
b .L3
.L10:
mov r0, r6
mov r1, #0
bl buf_write
mov r0, r6
pop {r4, r5, r6, r7, r8, lr}
b buf_body
.L12:
.align 2
.L11:
.word functions
.word .LC0
.word .LC1
.size get_caller_list, .-get_caller_list
.comm functions,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_booleanize_retval.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movzx #al, #rax"
.text
.p2align 4
.type maybe_booleanize_retval, @function
maybe_booleanize_retval:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR KIND_BOOL[rip]
cmp QWORD PTR [rdi], rax
je .L4
ret
.p2align 4,,10
.p2align 3
.L4:
lea rdi, .LC0[rip]
jmp emit@PLT
.cfi_endproc
.LFE0:
.size maybe_booleanize_retval, .-maybe_booleanize_retval
.globl KIND_BOOL
.bss
.align 8
.type KIND_BOOL, @object
.size KIND_BOOL, 8
KIND_BOOL:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_booleanize_retval.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movzx #al, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_booleanize_retval, %function
maybe_booleanize_retval:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L4
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
bxne lr
ldr r0, .L4+4
b emit
.L5:
.align 2
.L4:
.word KIND_BOOL
.word .LC0
.size maybe_booleanize_retval, .-maybe_booleanize_retval
.comm KIND_BOOL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_convert_bool.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "test #rax, #rax"
.LC1:
.string "setne #al"
.text
.p2align 4
.type maybe_convert_bool, @function
maybe_convert_bool:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR KIND_BOOL[rip]
cmp QWORD PTR [rdi], rax
je .L7
ret
.p2align 4,,10
.p2align 3
.L7:
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call emit@PLT
lea rdi, .LC1[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp emit@PLT
.cfi_endproc
.LFE0:
.size maybe_convert_bool, .-maybe_convert_bool
.globl KIND_BOOL
.bss
.align 8
.type KIND_BOOL, @object
.size KIND_BOOL, 8
KIND_BOOL:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_convert_bool.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "test #rax, #rax\000"
.align 2
.LC1:
.ascii "setne #al\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_convert_bool, %function
maybe_convert_bool:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L7
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
bxne lr
push {r4, lr}
ldr r0, .L7+4
bl emit
pop {r4, lr}
ldr r0, .L7+8
b emit
.L8:
.align 2
.L7:
.word KIND_BOOL
.word .LC0
.word .LC1
.size maybe_convert_bool, .-maybe_convert_bool
.comm KIND_BOOL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_emit_bitshift_load.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "shr $%d, #rax"
.LC1:
.string "rcx"
.LC2:
.string "mov $0x%lx, #rcx"
.LC3:
.string "and #rcx, #rax"
.text
.p2align 4
.type maybe_emit_bitshift_load, @function
maybe_emit_bitshift_load:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR [rdi], 0
jle .L1
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov esi, DWORD PTR 8[rdi]
mov rbx, rdi
xor eax, eax
lea rdi, .LC0[rip]
call emit@PLT
lea rdi, .LC1[rip]
call push@PLT
mov rcx, QWORD PTR [rbx]
mov esi, 1
xor eax, eax
lea rdi, .LC2[rip]
sal esi, cl
sub esi, 1
call emit@PLT
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
pop rbx
.cfi_restore 3
.cfi_def_cfa_offset 8
jmp pop@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size maybe_emit_bitshift_load, .-maybe_emit_bitshift_load
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_emit_bitshift_load.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "shr $%d, #rax\000"
.align 2
.LC1:
.ascii "rcx\000"
.align 2
.LC2:
.ascii "mov $0x%lx, #rcx\000"
.align 2
.LC3:
.ascii "and #rcx, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_emit_bitshift_load, %function
maybe_emit_bitshift_load:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
cmp r3, #0
bxle lr
push {r4, lr}
ldr r1, [r0, #4]
mov r4, r0
ldr r0, .L7
bl emit
ldr r0, .L7+4
bl push
mvn r1, #0
ldr r3, [r4]
ldr r0, .L7+8
mvn r1, r1, lsl r3
bl emit
ldr r0, .L7+12
bl emit
pop {r4, lr}
ldr r0, .L7+4
b pop
.L8:
.align 2
.L7:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size maybe_emit_bitshift_load, .-maybe_emit_bitshift_load
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_emit_bitshift_save.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rcx"
.LC1:
.string "rdi"
.LC2:
.string "mov $0x%lx, #rdi"
.LC3:
.string "and #rdi, #rax"
.LC4:
.string "shl $%d, #rax"
.LC5:
.string "mov %s, #%s"
.LC6:
.string "and #rdi, #rcx"
.LC7:
.string "or #rcx, #rax"
.text
.p2align 4
.type maybe_emit_bitshift_save, @function
maybe_emit_bitshift_save:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR [rdi], 0
jle .L1
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, 1
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
lea rdi, .LC0[rip]
call push@PLT
lea rdi, .LC1[rip]
call push@PLT
mov rcx, QWORD PTR [rbx]
mov esi, ebp
xor eax, eax
lea rdi, .LC2[rip]
sal esi, cl
sub esi, 1
call emit@PLT
lea rdi, .LC3[rip]
xor eax, eax
call emit@PLT
mov esi, DWORD PTR 8[rbx]
lea rdi, .LC4[rip]
xor eax, eax
call emit@PLT
mov rdi, rbx
mov esi, 99
call get_int_reg@PLT
mov rsi, r12
lea rdi, .LC5[rip]
mov edx, eax
xor eax, eax
call emit@PLT
mov rcx, QWORD PTR [rbx]
lea rdi, .LC2[rip]
xor eax, eax
sal ebp, cl
mov ecx, DWORD PTR 8[rbx]
lea esi, -1[rbp]
sal esi, cl
not esi
call emit@PLT
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC7[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
call pop@PLT
pop rbx
.cfi_restore 3
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 16
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 8
jmp pop@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size maybe_emit_bitshift_save, .-maybe_emit_bitshift_save
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_emit_bitshift_save.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rcx\000"
.align 2
.LC1:
.ascii "rdi\000"
.align 2
.LC2:
.ascii "mov $0x%lx, #rdi\000"
.align 2
.LC3:
.ascii "and #rdi, #rax\000"
.align 2
.LC4:
.ascii "shl $%d, #rax\000"
.align 2
.LC5:
.ascii "mov %s, #%s\000"
.align 2
.LC6:
.ascii "and #rdi, #rcx\000"
.align 2
.LC7:
.ascii "or #rcx, #rax\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_emit_bitshift_save, %function
maybe_emit_bitshift_save:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
cmp r3, #0
bxle lr
push {r4, r5, r6, lr}
mov r4, r0
mov r5, #1
ldr r0, .L7
mov r6, r1
bl push
ldr r0, .L7+4
bl push
ldr r1, [r4]
ldr r0, .L7+8
lsl r1, r5, r1
sub r1, r1, #1
bl emit
ldr r0, .L7+12
bl emit
ldr r1, [r4, #4]
ldr r0, .L7+16
bl emit
mov r1, #99
mov r0, r4
bl get_int_reg
mov r1, r6
mov r2, r0
ldr r0, .L7+20
bl emit
ldr r3, [r4]
ldr r1, [r4, #4]
lsl r5, r5, r3
sub r5, r5, #1
mvn r1, r5, lsl r1
ldr r0, .L7+8
bl emit
ldr r0, .L7+24
bl emit
ldr r0, .L7+28
bl emit
ldr r0, .L7+4
bl pop
pop {r4, r5, r6, lr}
ldr r0, .L7
b pop
.L8:
.align 2
.L7:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size maybe_emit_bitshift_save, .-maybe_emit_bitshift_save
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_emit_builtin.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "__builtin_return_address"
.LC1:
.string "__builtin_reg_class"
.LC2:
.string "__builtin_va_start"
.text
.p2align 4
.type maybe_emit_builtin, @function
maybe_emit_builtin:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov esi, DWORD PTR [rdi]
mov rbp, rdi
lea rdi, .LC0[rip]
call strcmp@PLT
test eax, eax
je .L8
mov esi, DWORD PTR 0[rbp]
lea rdi, .LC1[rip]
call strcmp@PLT
test eax, eax
je .L9
mov esi, DWORD PTR 0[rbp]
lea rdi, .LC2[rip]
call strcmp@PLT
mov r8d, eax
xor eax, eax
test r8d, r8d
je .L10
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov rdi, rbp
call emit_builtin_reg_class@PLT
mov eax, 1
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, rbp
call emit_builtin_return_address@PLT
mov eax, 1
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov rdi, rbp
call emit_builtin_va_start@PLT
mov eax, 1
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size maybe_emit_builtin, .-maybe_emit_builtin
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_emit_builtin.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "__builtin_return_address\000"
.align 2
.LC1:
.ascii "__builtin_reg_class\000"
.align 2
.LC2:
.ascii "__builtin_va_start\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_emit_builtin, %function
maybe_emit_builtin:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L11
ldr r1, [r4]
bl strcmp
cmp r0, #0
beq .L8
ldr r1, [r4]
ldr r0, .L11+4
bl strcmp
cmp r0, #0
beq .L9
ldr r1, [r4]
ldr r0, .L11+8
bl strcmp
cmp r0, #0
beq .L10
mov r0, #0
pop {r4, pc}
.L9:
mov r0, r4
bl emit_builtin_reg_class
mov r0, #1
pop {r4, pc}
.L8:
mov r0, r4
bl emit_builtin_return_address
mov r0, #1
pop {r4, pc}
.L10:
mov r0, r4
bl emit_builtin_va_start
mov r0, #1
pop {r4, pc}
.L12:
.align 2
.L11:
.word .LC0
.word .LC1
.word .LC2
.size maybe_emit_builtin, .-maybe_emit_builtin
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_print_source_line.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "# %s"
.text
.p2align 4
.type maybe_print_source_line, @function
maybe_print_source_line:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR dumpsource[rip]
test eax, eax
jne .L14
ret
.p2align 4,,10
.p2align 3
.L14:
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, esi
mov rsi, rdi
mov edi, DWORD PTR source_lines[rip]
call map_get@PLT
mov r12, rax
test rax, rax
je .L15
.L4:
movsx rsi, ebx
lea rdi, .LC0[rip]
pop rbx
.cfi_remember_state
.cfi_restore 3
.cfi_def_cfa_offset 24
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 16
mov rsi, QWORD PTR -8[r12+rsi*8]
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 8
jmp emit_nostack@PLT
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
mov rdi, rbp
call read_source_file@PLT
mov r12, rax
test rax, rax
je .L1
mov edi, DWORD PTR source_lines[rip]
mov rdx, rax
mov rsi, rbp
call map_put@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L1:
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size maybe_print_source_line, .-maybe_print_source_line
.globl source_lines
.bss
.align 4
.type source_lines, @object
.size source_lines, 4
source_lines:
.zero 4
.globl dumpsource
.align 4
.type dumpsource, @object
.size dumpsource, 4
dumpsource:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_print_source_line.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "# %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_print_source_line, %function
maybe_print_source_line:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L15
ldr r3, [r3]
cmp r3, #0
bxeq lr
push {r4, r5, r6, r7, r8, lr}
ldr r7, .L15+4
mov r5, r0
mov r4, r1
mov r1, r0
ldr r0, [r7]
bl map_get
subs r6, r0, #0
beq .L14
.L4:
sub r1, r4, #-1073741823
ldr r1, [r6, r1, lsl #2]
ldr r0, .L15+8
pop {r4, r5, r6, r7, r8, lr}
b emit_nostack
.L14:
mov r0, r5
bl read_source_file
subs r6, r0, #0
popeq {r4, r5, r6, r7, r8, pc}
mov r1, r5
mov r2, r6
ldr r0, [r7]
bl map_put
b .L4
.L16:
.align 2
.L15:
.word dumpsource
.word source_lines
.word .LC0
.size maybe_print_source_line, .-maybe_print_source_line
.comm source_lines,4,4
.comm dumpsource,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_maybe_print_source_loc.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".file %ld \"%s\""
.LC1:
.string ".loc %ld %d 0"
.LC2:
.string "%s"
.text
.p2align 4
.type maybe_print_source_loc, @function
maybe_print_source_loc:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
test rax, rax
je .L12
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov r12, QWORD PTR [rax]
mov rbx, rdi
mov edi, DWORD PTR source_files[rip]
mov rsi, r12
call map_get@PLT
mov rbp, rax
test rax, rax
je .L16
.L3:
mov rax, QWORD PTR [rbx]
mov rsi, rbp
lea rdi, .LC1[rip]
mov edx, DWORD PTR 8[rax]
call format@PLT
mov rsi, QWORD PTR last_loc[rip]
mov rdi, rax
mov rbp, rax
call strcmp@PLT
test rax, rax
jne .L17
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov QWORD PTR last_loc[rip], rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L17:
.cfi_restore_state
mov rsi, rbp
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
mov rax, QWORD PTR [rbx]
mov rdi, r12
mov esi, DWORD PTR 8[rax]
call maybe_print_source_line@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov QWORD PTR last_loc[rip], rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L16:
.cfi_restore_state
mov edi, DWORD PTR source_files[rip]
call map_len@PLT
mov edi, DWORD PTR source_files[rip]
mov rsi, r12
lea ebp, 1[rax]
movsx rbp, ebp
mov rdx, rbp
call map_put@PLT
mov rdi, r12
call quote_cstring@PLT
mov rsi, rbp
lea rdi, .LC0[rip]
mov edx, eax
xor eax, eax
call emit@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L12:
.cfi_def_cfa_offset 8
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.cfi_endproc
.LFE0:
.size maybe_print_source_loc, .-maybe_print_source_loc
.globl source_files
.bss
.align 4
.type source_files, @object
.size source_files, 4
source_files:
.zero 4
.globl last_loc
.align 8
.type last_loc, @object
.size last_loc, 8
last_loc:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_maybe_print_source_loc.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".file %ld \"%s\"\000"
.align 2
.LC1:
.ascii ".loc %ld %d 0\000"
.align 2
.LC2:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_print_source_loc, %function
maybe_print_source_loc:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
cmp r3, #0
bxeq lr
push {r4, r5, r6, r7, r8, lr}
ldr r7, [r3]
ldr r6, .L18
mov r4, r0
mov r1, r7
ldr r0, [r6]
bl map_get
subs r5, r0, #0
beq .L16
.L3:
ldr r3, [r4]
mov r1, r5
ldr r2, [r3, #4]
ldr r0, .L18+4
bl format
ldr r6, .L18+8
mov r5, r0
ldr r1, [r6]
bl strcmp
cmp r0, #0
bne .L17
str r5, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L17:
mov r1, r5
ldr r0, .L18+12
bl emit
ldr r3, [r4]
mov r0, r7
ldr r1, [r3, #4]
bl maybe_print_source_line
str r5, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L16:
ldr r0, [r6]
bl map_len
add r5, r0, #1
mov r2, r5
mov r1, r7
ldr r0, [r6]
bl map_put
mov r0, r7
bl quote_cstring
mov r1, r5
mov r2, r0
ldr r0, .L18+16
bl emit
b .L3
.L19:
.align 2
.L18:
.word source_files
.word .LC1
.word last_loc
.word .LC2
.word .LC0
.size maybe_print_source_loc, .-maybe_print_source_loc
.comm source_files,4,4
.comm last_loc,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_pop.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "pop #%s"
.text
.p2align 4
.type pop, @function
pop:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, rdi
lea rdi, .LC0[rip]
call emit@PLT
mov rax, QWORD PTR stackpos[rip]
lea rdi, -8[rax]
mov QWORD PTR stackpos[rip], rdi
not rdi
add rsp, 8
.cfi_def_cfa_offset 8
shr rdi, 63
jmp assert@PLT
.cfi_endproc
.LFE0:
.size pop, .-pop
.globl stackpos
.bss
.align 8
.type stackpos, @object
.size stackpos, 8
stackpos:
.zero 8
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_pop.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "pop #%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pop, %function
pop:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, r0
push {r4, lr}
ldr r0, .L4
bl emit
pop {r4, lr}
ldr r2, .L4+4
ldr r3, [r2]
sub r3, r3, #8
mvn r0, r3
lsr r0, r0, #31
str r3, [r2]
b assert
.L5:
.align 2
.L4:
.word .LC0
.word stackpos
.size pop, .-pop
.comm stackpos,4,4
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits