x86
stringlengths
335
106k
risc
stringlengths
139
103k
source
stringclasses
1 value
.file "extr_control.c_test_if4.c" .intel_syntax noprefix .text .globl test_if4 .type test_if4, @function test_if4: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 100 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_if4, .-test_if4 .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:
.file "extr_control.c_test_if4.c" .option pic .text .align 1 .globl test_if4 .type test_if4, @function test_if4: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,100 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size test_if4, .-test_if4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_if5.c" .intel_syntax noprefix .text .globl test_if5 .type test_if5, @function test_if5: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 101 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_if5, .-test_if5 .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:
.file "extr_control.c_test_if5.c" .option pic .text .align 1 .globl test_if5 .type test_if5, @function test_if5: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,101 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size test_if5, .-test_if5 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_if6.c" .intel_syntax noprefix .text .globl test_if6 .type test_if6, @function test_if6: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 102 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_if6, .-test_if6 .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:
.file "extr_control.c_test_if6.c" .option pic .text .align 1 .globl test_if6 .type test_if6, @function test_if6: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,102 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size test_if6, .-test_if6 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_if7.c" .intel_syntax noprefix .text .globl test_if7 .type test_if7, @function test_if7: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 103 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_if7, .-test_if7 .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:
.file "extr_control.c_test_if7.c" .option pic .text .align 1 .globl test_if7 .type test_if7, @function test_if7: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,103 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size test_if7, .-test_if7 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_if8.c" .intel_syntax noprefix .text .globl test_if8 .type test_if8, @function test_if8: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 104 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_if8, .-test_if8 .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:
.file "extr_control.c_test_if8.c" .option pic .text .align 1 .globl test_if8 .type test_if8, @function test_if8: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,104 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size test_if8, .-test_if8 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_if9.c" .intel_syntax noprefix .text .globl test_if9 .type test_if9, @function test_if9: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 105 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_if9, .-test_if9 .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:
.file "extr_control.c_test_if9.c" .option pic .text .align 1 .globl test_if9 .type test_if9, @function test_if9: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,105 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size test_if9, .-test_if9 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_label.c" .intel_syntax noprefix .text .type test_label, @function test_label: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -12[rbp], 0 nop .L2: add DWORD PTR -12[rbp], 1 mov eax, DWORD PTR -12[rbp] mov esi, eax mov edi, 1 call expect@PLT mov DWORD PTR -8[rbp], 0 mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 0 call expect@PLT mov DWORD PTR -4[rbp], 0 add DWORD PTR -4[rbp], 3 add DWORD PTR -4[rbp], 5 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 8 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_label, .-test_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:
.file "extr_control.c_test_label.c" .option pic .text .align 1 .type test_label, @function test_label: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sw zero,-28(s0) nop .L2: lw a5,-28(s0) addiw a5,a5,1 sw a5,-28(s0) lw a5,-28(s0) mv a1,a5 li a0,1 call expect@plt sw zero,-24(s0) lw a5,-24(s0) mv a1,a5 li a0,0 call expect@plt sw zero,-20(s0) lw a5,-20(s0) addiw a5,a5,3 sw a5,-20(s0) lw a5,-20(s0) addiw a5,a5,5 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,8 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size test_label, .-test_label .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_logor.c" .intel_syntax noprefix .text .type test_logor, @function test_logor: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov esi, 1 mov edi, 1 call expect@PLT mov esi, 1 mov edi, 1 call expect@PLT mov esi, 0 mov edi, 0 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_logor, .-test_logor .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:
.file "extr_control.c_test_logor.c" .option pic .text .align 1 .type test_logor, @function test_logor: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 li a1,1 li a0,1 call expect@plt li a1,1 li a0,1 call expect@plt li a1,0 li a0,0 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size test_logor, .-test_logor .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_test_while.c" .intel_syntax noprefix .text .type test_while, @function test_while: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -8[rbp], 0 mov DWORD PTR -4[rbp], 0 jmp .L2 .L3: mov eax, DWORD PTR -4[rbp] lea edx, 1[rax] mov DWORD PTR -4[rbp], edx add DWORD PTR -8[rbp], eax .L2: cmp DWORD PTR -4[rbp], 100 jle .L3 mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 5050 call expect@PLT mov DWORD PTR -8[rbp], 1 mov DWORD PTR -4[rbp], 0 jmp .L4 .L5: mov eax, DWORD PTR -4[rbp] lea edx, 1[rax] mov DWORD PTR -4[rbp], edx add DWORD PTR -8[rbp], eax .L4: cmp DWORD PTR -4[rbp], 100 jle .L5 mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 5051 call expect@PLT mov DWORD PTR -8[rbp], 0 mov DWORD PTR -4[rbp], 0 jmp .L6 .L9: mov eax, DWORD PTR -4[rbp] lea edx, 1[rax] mov DWORD PTR -4[rbp], edx cmp eax, 4 jg .L7 jmp .L6 .L7: mov eax, DWORD PTR -4[rbp] add DWORD PTR -8[rbp], eax cmp DWORD PTR -4[rbp], 9 je .L11 .L6: cmp DWORD PTR -4[rbp], 9 jle .L9 jmp .L8 .L11: nop .L8: mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 30 call expect@PLT mov DWORD PTR -4[rbp], 0 nop .L10: mov eax, DWORD PTR -4[rbp] lea edx, 1[rax] mov DWORD PTR -4[rbp], edx cmp eax, 99 jle .L10 mov DWORD PTR -4[rbp], 0 mov DWORD PTR -4[rbp], 67 nop mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 67 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_while, .-test_while .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:
.file "extr_control.c_test_while.c" .option pic .text .align 1 .type test_while, @function test_while: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sw zero,-24(s0) sw zero,-20(s0) j .L2 .L3: lw a5,-20(s0) addiw a4,a5,1 sw a4,-20(s0) lw a4,-24(s0) addw a5,a4,a5 sw a5,-24(s0) .L2: lw a5,-20(s0) sext.w a4,a5 li a5,100 ble a4,a5,.L3 lw a5,-24(s0) mv a1,a5 li a5,4096 addi a0,a5,954 call expect@plt li a5,1 sw a5,-24(s0) sw zero,-20(s0) j .L4 .L5: lw a5,-20(s0) addiw a4,a5,1 sw a4,-20(s0) lw a4,-24(s0) addw a5,a4,a5 sw a5,-24(s0) .L4: lw a5,-20(s0) sext.w a4,a5 li a5,100 ble a4,a5,.L5 lw a5,-24(s0) mv a1,a5 li a5,4096 addi a0,a5,955 call expect@plt sw zero,-24(s0) sw zero,-20(s0) j .L6 .L9: lw a5,-20(s0) addiw a4,a5,1 sw a4,-20(s0) mv a4,a5 li a5,4 bgt a4,a5,.L7 j .L6 .L7: lw a4,-24(s0) lw a5,-20(s0) addw a5,a4,a5 sw a5,-24(s0) lw a5,-20(s0) sext.w a4,a5 li a5,9 beq a4,a5,.L11 .L6: lw a5,-20(s0) sext.w a4,a5 li a5,9 ble a4,a5,.L9 j .L8 .L11: nop .L8: lw a5,-24(s0) mv a1,a5 li a0,30 call expect@plt sw zero,-20(s0) nop .L10: lw a5,-20(s0) addiw a4,a5,1 sw a4,-20(s0) mv a4,a5 li a5,99 ble a4,a5,.L10 sw zero,-20(s0) li a5,67 sw a5,-20(s0) nop lw a5,-20(s0) mv a1,a5 li a0,67 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size test_while, .-test_while .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_control.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "control flow" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call test_if@PLT mov eax, 0 call test_for@PLT mov eax, 0 call test_while@PLT mov eax, 0 call test_do@PLT mov eax, 0 call test_switch@PLT mov eax, 0 call test_goto@PLT mov eax, 0 call test_label@PLT mov eax, 0 call test_computed_goto@PLT mov eax, 0 call test_logor@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_control.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "control flow" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call test_if@plt call test_for@plt call test_while@plt call test_do@plt call test_switch@plt call test_goto@plt call test_label@plt call test_computed_goto@plt call test_logor@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_conversion.c_test_bool.c" .intel_syntax noprefix .text .type test_bool, @function test_bool: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov BYTE PTR -1[rbp], 1 movzx eax, BYTE PTR -1[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov BYTE PTR -1[rbp], 1 movzx eax, BYTE PTR -1[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov BYTE PTR -1[rbp], 1 movzx eax, BYTE PTR -1[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov BYTE PTR -1[rbp], 0 movzx eax, BYTE PTR -1[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_bool, .-test_bool .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:
.file "extr_conversion.c_test_bool.c" .option pic .text .align 1 .type test_bool, @function test_bool: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,1 sb a5,-17(s0) lbu a5,-17(s0) sext.w a5,a5 mv a1,a5 li a0,1 call expect@plt li a5,1 sb a5,-17(s0) lbu a5,-17(s0) sext.w a5,a5 mv a1,a5 li a0,1 call expect@plt li a5,1 sb a5,-17(s0) lbu a5,-17(s0) sext.w a5,a5 mv a1,a5 li a0,1 call expect@plt sb zero,-17(s0) lbu a5,-17(s0) sext.w a5,a5 mv a1,a5 li a0,0 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size test_bool, .-test_bool .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_conversion.c_test_float.c" .intel_syntax noprefix .text .type test_float, @function test_float: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 movsd xmm0, QWORD PTR .LC0[rip] movsd QWORD PTR -8[rbp], xmm0 pxor xmm0, xmm0 cvtsd2ss xmm0, QWORD PTR -8[rbp] movss DWORD PTR -12[rbp], xmm0 mov eax, DWORD PTR -12[rbp] movd xmm0, eax mov edi, 4 call expectf@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_float, .-test_float .section .rodata .align 8 .LC0: .long 0 .long 1074790400 .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:
.file "extr_conversion.c_test_float.c" .option pic .text .align 1 .type test_float, @function test_float: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 lla a5,.LC0 fld fa5,0(a5) fsd fa5,-24(s0) fld fa5,-24(s0) fcvt.s.d fa5,fa5 fsw fa5,-28(s0) flw fa0,-28(s0) li a0,4 call expectf@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size test_float, .-test_float .section .rodata .align 3 .LC0: .word 0 .word 1074790400 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_conversion.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "type conversion" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call test_bool@PLT mov eax, 0 call test_float@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_conversion.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "type conversion" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call test_bool@plt call test_float@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_t1.c" .intel_syntax noprefix .text .type t1, @function t1: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], 1 mov eax, DWORD PTR -4[rbp] add eax, 2 mov esi, eax mov edi, 3 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t1, .-t1 .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:
.file "extr_decl.c_t1.c" .option pic .text .align 1 .type t1, @function t1: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,1 sw a5,-20(s0) lw a5,-20(s0) addiw a5,a5,2 sext.w a5,a5 mv a1,a5 li a0,3 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size t1, .-t1 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_t2.c" .intel_syntax noprefix .text .type t2, @function t2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -12[rbp], 1 mov DWORD PTR -8[rbp], 50 mov edx, DWORD PTR -12[rbp] mov eax, DWORD PTR -8[rbp] add eax, edx mov DWORD PTR -4[rbp], eax mov eax, DWORD PTR -4[rbp] add eax, eax mov esi, eax mov edi, 102 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t2, .-t2 .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:
.file "extr_decl.c_t2.c" .option pic .text .align 1 .type t2, @function t2: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,1 sw a5,-28(s0) li a5,50 sw a5,-24(s0) lw a4,-28(s0) lw a5,-24(s0) addw a5,a4,a5 sw a5,-20(s0) lw a5,-20(s0) slliw a5,a5,1 sext.w a5,a5 mv a1,a5 li a0,102 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size t2, .-t2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_t3.c" .intel_syntax noprefix .text .type t3, @function t3: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -12[rbp], 55 lea rax, -12[rbp] mov QWORD PTR -24[rbp], rax mov rax, QWORD PTR -24[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 55 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t3, .-t3 .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:
.file "extr_decl.c_t3.c" .option pic .text .align 1 .type t3, @function t3: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,55 sw a5,-32(s0) addi a5,s0,-32 sd a5,-40(s0) ld a5,-40(s0) lw a5,0(a5) mv a1,a5 li a0,55 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size t3, .-t3 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_t4.c" .intel_syntax noprefix .text .type t4, @function t4: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -16[rbp], 55 mov DWORD PTR -12[rbp], 67 lea rax, -16[rbp] add rax, 4 mov QWORD PTR -24[rbp], rax mov rax, QWORD PTR -24[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 67 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t4, .-t4 .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:
.file "extr_decl.c_t4.c" .option pic .text .align 1 .type t4, @function t4: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,55 sw a5,-32(s0) li a5,67 sw a5,-28(s0) addi a5,s0,-32 addi a5,a5,4 sd a5,-40(s0) ld a5,-40(s0) lw a5,0(a5) mv a1,a5 li a0,67 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size t4, .-t4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_t5.c" .intel_syntax noprefix .text .type t5, @function t5: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -20[rbp], 20 mov DWORD PTR -16[rbp], 30 mov DWORD PTR -12[rbp], 40 lea rax, -20[rbp] add rax, 4 mov QWORD PTR -32[rbp], rax mov rax, QWORD PTR -32[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 30 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t5, .-t5 .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:
.file "extr_decl.c_t5.c" .option pic .text .align 1 .type t5, @function t5: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,20 sw a5,-40(s0) li a5,30 sw a5,-36(s0) li a5,40 sw a5,-32(s0) addi a5,s0,-40 addi a5,a5,4 sd a5,-48(s0) ld a5,-48(s0) lw a5,0(a5) mv a1,a5 li a0,30 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size t5, .-t5 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_t6.c" .intel_syntax noprefix .text .type t6, @function t6: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -20[rbp], 20 mov DWORD PTR -16[rbp], 30 mov DWORD PTR -12[rbp], 40 mov eax, DWORD PTR -20[rbp] mov esi, eax mov edi, 20 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t6, .-t6 .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:
.file "extr_decl.c_t6.c" .option pic .text .align 1 .type t6, @function t6: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,20 sw a5,-40(s0) li a5,30 sw a5,-36(s0) li a5,40 sw a5,-32(s0) lw a5,-40(s0) mv a1,a5 li a0,20 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size t6, .-t6 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_decl.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "declaration" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call t1@PLT mov eax, 0 call t2@PLT mov eax, 0 call t3@PLT mov eax, 0 call t4@PLT mov eax, 0 call t5@PLT mov eax, 0 call t6@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_decl.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "declaration" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call t1@plt call t2@plt call t3@plt call t4@plt call t5@plt call t6@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_enum.c_testmain.c" .intel_syntax noprefix .text .globl g1 .bss .align 4 .type g1, @object .size g1, 4 g1: .zero 4 .globl g3 .align 4 .type g3, @object .size g3, 4 g3: .zero 4 .section .rodata .LC0: .string "enum" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 lea rdi, .LC0[rip] call print@PLT mov eax, DWORD PTR g1[rip] mov esi, eax mov edi, 0 call expect@PLT mov eax, DWORD PTR g3[rip] mov esi, eax mov edi, 2 call expect@PLT mov esi, 0 mov edi, 0 call expect@PLT mov esi, 0 mov edi, 0 call expect@PLT mov DWORD PTR -4[rbp], 0 mov esi, 0 mov edi, 0 call expect@PLT mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 0 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_enum.c_testmain.c" .option pic .text .comm g1,4,4 .comm g3,4,4 .section .rodata .align 3 .LC0: .string "enum" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 lla a0,.LC0 call print@plt la a5,g1 lw a5,0(a5) mv a1,a5 li a0,0 call expect@plt la a5,g3 lw a5,0(a5) mv a1,a5 li a0,2 call expect@plt li a1,0 li a0,0 call expect@plt li a1,0 li a0,0 call expect@plt sw zero,-20(s0) li a1,0 li a0,0 call expect@plt lw a5,-20(s0) mv a1,a5 li a0,0 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_extern.c_testmain.c" .intel_syntax noprefix .text .globl externvar1 .bss .align 4 .type externvar1, @object .size externvar1, 4 externvar1: .zero 4 .globl externvar2 .align 4 .type externvar2, @object .size externvar2, 4 externvar2: .zero 4 .section .rodata .LC0: .string "extern" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, DWORD PTR externvar1[rip] mov esi, eax mov edi, 98 call expect@PLT mov eax, DWORD PTR externvar2[rip] mov esi, eax mov edi, 99 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_extern.c_testmain.c" .option pic .text .comm externvar1,4,4 .comm externvar2,4,4 .section .rodata .align 3 .LC0: .string "extern" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt la a5,externvar1 lw a5,0(a5) mv a1,a5 li a0,98 call expect@plt la a5,externvar2 lw a5,0(a5) mv a1,a5 li a0,99 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_fmtdbl.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "%a" .text .globl fmtdbl .type fmtdbl, @function fmtdbl: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 movsd QWORD PTR -8[rbp], xmm0 mov rax, QWORD PTR -8[rbp] movq xmm0, rax lea rdi, .LC0[rip] call fmt@PLT leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size fmtdbl, .-fmtdbl .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:
.file "extr_float.c_fmtdbl.c" .option pic .text .section .rodata .align 3 .LC0: .string "%a" .text .align 1 .globl fmtdbl .type fmtdbl, @function fmtdbl: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 fsd fa0,-24(s0) fld fa0,-24(s0) lla a0,.LC0 call fmt@plt mv a5,a0 mv a0,a5 ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size fmtdbl, .-fmtdbl .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_fmtint.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "%d" .text .globl fmtint .type fmtint, @function fmtint: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], edi mov eax, DWORD PTR -4[rbp] mov esi, eax lea rdi, .LC0[rip] call fmt@PLT leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size fmtint, .-fmtint .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:
.file "extr_float.c_fmtint.c" .option pic .text .section .rodata .align 3 .LC0: .string "%d" .text .align 1 .globl fmtint .type fmtint, @function fmtint: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 mv a5,a0 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 lla a0,.LC0 call fmt@plt mv a5,a0 mv a0,a5 ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size fmtint, .-fmtint .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_recursive.c" .intel_syntax noprefix .text .globl recursive .type recursive, @function recursive: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 movsd QWORD PTR -8[rbp], xmm0 movsd xmm0, QWORD PTR .LC0[rip] comisd xmm0, QWORD PTR -8[rbp] jbe .L6 mov rax, QWORD PTR -8[rbp] jmp .L4 .L6: mov rax, QWORD PTR .LC1[rip] movq xmm0, rax call recursive movq rax, xmm0 .L4: movq xmm0, rax leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size recursive, .-recursive .section .rodata .align 8 .LC0: .long 0 .long 1076101120 .align 8 .LC1: .long 171798692 .long 1074439127 .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:
.file "extr_float.c_recursive.c" .option pic .text .align 1 .globl recursive .type recursive, @function recursive: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 fsd fa0,-24(s0) fld fa4,-24(s0) lla a5,.LC0 fld fa5,0(a5) flt.d a5,fa4,fa5 beqz a5,.L6 fld fa5,-24(s0) j .L4 .L6: lla a5,.LC1 fld fa5,0(a5) fmv.d fa0,fa5 call recursive fmv.d fa5,fa0 .L4: fmv.d fa0,fa5 ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size recursive, .-recursive .section .rodata .align 3 .LC0: .word 0 .word 1076101120 .align 3 .LC1: .word 171798692 .word 1074439127 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_td1.c" .intel_syntax noprefix .text .globl td1 .type td1, @function td1: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 movss DWORD PTR -4[rbp], xmm0 pxor xmm0, xmm0 cvtss2sd xmm0, DWORD PTR -4[rbp] movq rax, xmm0 movq xmm0, rax pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size td1, .-td1 .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:
.file "extr_float.c_td1.c" .option pic .text .align 1 .globl td1 .type td1, @function td1: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 fsw fa0,-20(s0) flw fa5,-20(s0) fcvt.d.s fa5,fa5 fmv.d fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size td1, .-td1 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_td2.c" .intel_syntax noprefix .text .globl td2 .type td2, @function td2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 movsd QWORD PTR -8[rbp], xmm0 movsd xmm0, QWORD PTR -8[rbp] movq rax, xmm0 movq xmm0, rax pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size td2, .-td2 .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:
.file "extr_float.c_td2.c" .option pic .text .align 1 .globl td2 .type td2, @function td2: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 fsd fa0,-24(s0) fld fa5,-24(s0) fmv.d fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size td2, .-td2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_td3.c" .intel_syntax noprefix .text .globl td3 .type td3, @function td3: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi pxor xmm0, xmm0 cvtsi2sd xmm0, DWORD PTR -4[rbp] movq rax, xmm0 movq xmm0, rax pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size td3, .-td3 .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:
.file "extr_float.c_td3.c" .option pic .text .align 1 .globl td3 .type td3, @function td3: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 sw a5,-20(s0) lw a5,-20(s0) fcvt.d.w fa5,a5 fmv.d fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size td3, .-td3 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "float" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call std@PLT movsd xmm0, QWORD PTR .LC1[rip] mov rax, QWORD PTR .LC1[rip] movapd xmm1, xmm0 movq xmm0, rax call expect@PLT movss xmm0, DWORD PTR .LC2[rip] movss DWORD PTR -8[rbp], xmm0 movss xmm0, DWORD PTR -8[rbp] movss DWORD PTR -4[rbp], xmm0 pxor xmm0, xmm0 cvtss2sd xmm0, DWORD PTR -8[rbp] mov rax, QWORD PTR .LC3[rip] movapd xmm1, xmm0 movq xmm0, rax call expectf@PLT pxor xmm0, xmm0 cvtss2sd xmm0, DWORD PTR -4[rbp] mov rax, QWORD PTR .LC3[rip] movapd xmm1, xmm0 movq xmm0, rax call expectf@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .section .rodata .align 8 .LC1: .long 1717986918 .long 1072064102 .align 4 .LC2: .long 1092616192 .align 8 .LC3: .long 0 .long 1076101120 .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:
.file "extr_float.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "float" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 lla a0,.LC0 call print@plt call std@plt lla a5,.LC1 fld fa4,0(a5) lla a5,.LC1 fld fa5,0(a5) fmv.d fa1,fa4 fmv.d fa0,fa5 call expect@plt lla a5,.LC2 flw fa5,0(a5) fsw fa5,-24(s0) flw fa5,-24(s0) fsw fa5,-20(s0) flw fa5,-24(s0) fcvt.d.s fa4,fa5 lla a5,.LC3 fld fa5,0(a5) fmv.d fa1,fa4 fmv.d fa0,fa5 call expectf@plt flw fa5,-20(s0) fcvt.d.s fa4,fa5 lla a5,.LC3 fld fa5,0(a5) fmv.d fa1,fa4 fmv.d fa0,fa5 call expectf@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size testmain, .-testmain .section .rodata .align 3 .LC1: .word 1717986918 .word 1072064102 .align 2 .LC2: .word 1092616192 .align 3 .LC3: .word 0 .word 1076101120 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_tf1.c" .intel_syntax noprefix .text .globl tf1 .type tf1, @function tf1: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 movss DWORD PTR -4[rbp], xmm0 movss xmm0, DWORD PTR -4[rbp] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size tf1, .-tf1 .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:
.file "extr_float.c_tf1.c" .option pic .text .align 1 .globl tf1 .type tf1, @function tf1: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 fsw fa0,-20(s0) flw fa5,-20(s0) fmv.s fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size tf1, .-tf1 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_tf2.c" .intel_syntax noprefix .text .globl tf2 .type tf2, @function tf2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 movsd QWORD PTR -8[rbp], xmm0 pxor xmm0, xmm0 cvtsd2ss xmm0, QWORD PTR -8[rbp] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size tf2, .-tf2 .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:
.file "extr_float.c_tf2.c" .option pic .text .align 1 .globl tf2 .type tf2, @function tf2: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 fsd fa0,-24(s0) fld fa5,-24(s0) fcvt.s.d fa5,fa5 fmv.s fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size tf2, .-tf2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_float.c_tf3.c" .intel_syntax noprefix .text .globl tf3 .type tf3, @function tf3: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi pxor xmm0, xmm0 cvtsi2ss xmm0, DWORD PTR -4[rbp] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size tf3, .-tf3 .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:
.file "extr_float.c_tf3.c" .option pic .text .align 1 .globl tf3 .type tf3, @function tf3: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 sw a5,-20(s0) lw a5,-20(s0) fcvt.s.w fa5,a5 fmv.s fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size tf3, .-tf3 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_funcargs.c_many_floats.c" .intel_syntax noprefix .text .type many_floats, @function many_floats: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 movss DWORD PTR -4[rbp], xmm0 movss DWORD PTR -8[rbp], xmm1 movss DWORD PTR -12[rbp], xmm2 movss DWORD PTR -16[rbp], xmm3 movss DWORD PTR -20[rbp], xmm4 movss DWORD PTR -24[rbp], xmm5 movss DWORD PTR -28[rbp], xmm6 movss DWORD PTR -32[rbp], xmm7 mov eax, DWORD PTR -4[rbp] movd xmm0, eax mov edi, 1 call expectf@PLT mov eax, DWORD PTR -8[rbp] movd xmm0, eax mov edi, 2 call expectf@PLT mov eax, DWORD PTR -12[rbp] movd xmm0, eax mov edi, 3 call expectf@PLT mov eax, DWORD PTR -16[rbp] movd xmm0, eax mov edi, 4 call expectf@PLT mov eax, DWORD PTR -20[rbp] movd xmm0, eax mov edi, 5 call expectf@PLT mov eax, DWORD PTR -24[rbp] movd xmm0, eax mov edi, 6 call expectf@PLT mov eax, DWORD PTR -28[rbp] movd xmm0, eax mov edi, 7 call expectf@PLT mov eax, DWORD PTR -32[rbp] movd xmm0, eax mov edi, 8 call expectf@PLT movss xmm0, DWORD PTR 16[rbp] mov edi, 9 call expectf@PLT mov eax, DWORD PTR 24[rbp] movd xmm0, eax mov edi, 10 call expectf@PLT mov eax, DWORD PTR 32[rbp] movd xmm0, eax mov edi, 11 call expectf@PLT mov eax, DWORD PTR 40[rbp] movd xmm0, eax mov edi, 12 call expectf@PLT mov eax, DWORD PTR 48[rbp] movd xmm0, eax mov edi, 13 call expectf@PLT mov eax, DWORD PTR 56[rbp] movd xmm0, eax mov edi, 14 call expectf@PLT mov eax, DWORD PTR 64[rbp] movd xmm0, eax mov edi, 15 call expectf@PLT mov eax, DWORD PTR 72[rbp] movd xmm0, eax mov edi, 16 call expectf@PLT mov eax, DWORD PTR 80[rbp] movd xmm0, eax mov edi, 17 call expectf@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size many_floats, .-many_floats .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:
.file "extr_funcargs.c_many_floats.c" .option pic .text .align 1 .type many_floats, @function many_floats: addi sp,sp,-80 sd ra,72(sp) sd s0,64(sp) addi s0,sp,80 fsw fa0,-20(s0) fsw fa1,-24(s0) fsw fa2,-28(s0) fsw fa3,-32(s0) fsw fa4,-36(s0) fsw fa5,-40(s0) fsw fa6,-44(s0) fsw fa7,-48(s0) sw a0,-52(s0) sw a1,-56(s0) sw a2,-60(s0) sw a3,-64(s0) sw a4,-68(s0) sw a5,-72(s0) sw a6,-76(s0) sw a7,-80(s0) flw fa0,-20(s0) li a0,1 call expectf@plt flw fa0,-24(s0) li a0,2 call expectf@plt flw fa0,-28(s0) li a0,3 call expectf@plt flw fa0,-32(s0) li a0,4 call expectf@plt flw fa0,-36(s0) li a0,5 call expectf@plt flw fa0,-40(s0) li a0,6 call expectf@plt flw fa0,-44(s0) li a0,7 call expectf@plt flw fa0,-48(s0) li a0,8 call expectf@plt flw fa0,-52(s0) li a0,9 call expectf@plt flw fa0,-56(s0) li a0,10 call expectf@plt flw fa0,-60(s0) li a0,11 call expectf@plt flw fa0,-64(s0) li a0,12 call expectf@plt flw fa0,-68(s0) li a0,13 call expectf@plt flw fa0,-72(s0) li a0,14 call expectf@plt flw fa0,-76(s0) li a0,15 call expectf@plt flw fa0,-80(s0) li a0,16 call expectf@plt flw fa0,0(s0) li a0,17 call expectf@plt nop ld ra,72(sp) ld s0,64(sp) addi sp,sp,80 jr ra .size many_floats, .-many_floats .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_funcargs.c_many_ints.c" .intel_syntax noprefix .text .type many_ints, @function many_ints: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov DWORD PTR -4[rbp], edi mov DWORD PTR -8[rbp], esi mov DWORD PTR -12[rbp], edx mov DWORD PTR -16[rbp], ecx mov DWORD PTR -20[rbp], r8d mov DWORD PTR -24[rbp], r9d mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 2 call expect@PLT mov eax, DWORD PTR -12[rbp] mov esi, eax mov edi, 3 call expect@PLT mov eax, DWORD PTR -16[rbp] mov esi, eax mov edi, 4 call expect@PLT mov eax, DWORD PTR -20[rbp] mov esi, eax mov edi, 5 call expect@PLT mov eax, DWORD PTR -24[rbp] mov esi, eax mov edi, 6 call expect@PLT mov esi, DWORD PTR 16[rbp] mov edi, 7 call expect@PLT mov eax, DWORD PTR 24[rbp] mov esi, eax mov edi, 8 call expect@PLT mov eax, DWORD PTR 32[rbp] mov esi, eax mov edi, 9 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size many_ints, .-many_ints .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:
.file "extr_funcargs.c_many_ints.c" .option pic .text .align 1 .type many_ints, @function many_ints: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 mv t4,a0 mv t3,a1 mv t1,a2 mv a0,a3 mv a1,a4 mv a2,a5 mv a3,a6 mv a4,a7 mv a5,t4 sw a5,-20(s0) mv a5,t3 sw a5,-24(s0) mv a5,t1 sw a5,-28(s0) mv a5,a0 sw a5,-32(s0) mv a5,a1 sw a5,-36(s0) mv a5,a2 sw a5,-40(s0) mv a5,a3 sw a5,-44(s0) mv a5,a4 sw a5,-48(s0) lw a5,-20(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-24(s0) mv a1,a5 li a0,2 call expect@plt lw a5,-28(s0) mv a1,a5 li a0,3 call expect@plt lw a5,-32(s0) mv a1,a5 li a0,4 call expect@plt lw a5,-36(s0) mv a1,a5 li a0,5 call expect@plt lw a5,-40(s0) mv a1,a5 li a0,6 call expect@plt lw a5,-44(s0) mv a1,a5 li a0,7 call expect@plt lw a5,-48(s0) mv a1,a5 li a0,8 call expect@plt lw a5,0(s0) mv a1,a5 li a0,9 call expect@plt nop ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size many_ints, .-many_ints .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_funcargs.c_mixed.c" .intel_syntax noprefix .text .type mixed, @function mixed: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 64 movss DWORD PTR -4[rbp], xmm0 mov DWORD PTR -8[rbp], edi movss DWORD PTR -12[rbp], xmm1 mov DWORD PTR -16[rbp], esi movss DWORD PTR -20[rbp], xmm2 mov DWORD PTR -24[rbp], edx movss DWORD PTR -28[rbp], xmm3 mov DWORD PTR -32[rbp], ecx movss DWORD PTR -36[rbp], xmm4 mov DWORD PTR -40[rbp], r8d movss DWORD PTR -44[rbp], xmm5 mov DWORD PTR -48[rbp], r9d movss DWORD PTR -52[rbp], xmm6 movss DWORD PTR -56[rbp], xmm7 movss xmm0, DWORD PTR -4[rbp] mov rax, QWORD PTR .LC0[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 2 call expect@PLT movss xmm0, DWORD PTR -12[rbp] mov rax, QWORD PTR .LC1[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR -16[rbp] mov esi, eax mov edi, 4 call expect@PLT movss xmm0, DWORD PTR -20[rbp] mov rax, QWORD PTR .LC2[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR -24[rbp] mov esi, eax mov edi, 6 call expect@PLT movss xmm0, DWORD PTR -28[rbp] mov rax, QWORD PTR .LC3[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR -32[rbp] mov esi, eax mov edi, 8 call expect@PLT movss xmm0, DWORD PTR -36[rbp] mov rax, QWORD PTR .LC4[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR -40[rbp] mov esi, eax mov edi, 10 call expect@PLT movss xmm0, DWORD PTR -44[rbp] mov rax, QWORD PTR .LC5[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR -48[rbp] mov esi, eax mov edi, 12 call expect@PLT movss xmm0, DWORD PTR -52[rbp] mov rax, QWORD PTR .LC6[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov esi, DWORD PTR 16[rbp] mov edi, 14 call expect@PLT movss xmm0, DWORD PTR -56[rbp] mov rax, QWORD PTR .LC7[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 24[rbp] mov esi, eax mov edi, 16 call expect@PLT movss xmm0, DWORD PTR 32[rbp] mov rax, QWORD PTR .LC8[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 40[rbp] mov esi, eax mov edi, 18 call expect@PLT movss xmm0, DWORD PTR 48[rbp] mov rax, QWORD PTR .LC9[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 56[rbp] mov esi, eax mov edi, 20 call expect@PLT movss xmm0, DWORD PTR 64[rbp] mov rax, QWORD PTR .LC10[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 72[rbp] mov esi, eax mov edi, 22 call expect@PLT movss xmm0, DWORD PTR 80[rbp] mov rax, QWORD PTR .LC11[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 88[rbp] mov esi, eax mov edi, 24 call expect@PLT movss xmm0, DWORD PTR 96[rbp] mov rax, QWORD PTR .LC12[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 104[rbp] mov esi, eax mov edi, 26 call expect@PLT movss xmm0, DWORD PTR 112[rbp] mov rax, QWORD PTR .LC13[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 120[rbp] mov esi, eax mov edi, 28 call expect@PLT movss xmm0, DWORD PTR 128[rbp] mov rax, QWORD PTR .LC14[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 136[rbp] mov esi, eax mov edi, 30 call expect@PLT movss xmm0, DWORD PTR 144[rbp] mov rax, QWORD PTR .LC15[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 152[rbp] mov esi, eax mov edi, 32 call expect@PLT movss xmm0, DWORD PTR 160[rbp] mov rax, QWORD PTR .LC16[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 168[rbp] mov esi, eax mov edi, 34 call expect@PLT movss xmm0, DWORD PTR 176[rbp] mov rax, QWORD PTR .LC17[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 184[rbp] mov esi, eax mov edi, 36 call expect@PLT movss xmm0, DWORD PTR 192[rbp] mov rax, QWORD PTR .LC18[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 200[rbp] mov esi, eax mov edi, 38 call expect@PLT movss xmm0, DWORD PTR 208[rbp] mov rax, QWORD PTR .LC19[rip] movaps xmm1, xmm0 movq xmm0, rax call expectf@PLT mov eax, DWORD PTR 216[rbp] mov esi, eax mov edi, 40 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size mixed, .-mixed .section .rodata .align 8 .LC0: .long 0 .long 1072693248 .align 8 .LC1: .long 0 .long 1074266112 .align 8 .LC2: .long 0 .long 1075052544 .align 8 .LC3: .long 0 .long 1075576832 .align 8 .LC4: .long 0 .long 1075970048 .align 8 .LC5: .long 0 .long 1076232192 .align 8 .LC6: .long 0 .long 1076494336 .align 8 .LC7: .long 0 .long 1076756480 .align 8 .LC8: .long 0 .long 1076953088 .align 8 .LC9: .long 0 .long 1077084160 .align 8 .LC10: .long 0 .long 1077215232 .align 8 .LC11: .long 0 .long 1077346304 .align 8 .LC12: .long 0 .long 1077477376 .align 8 .LC13: .long 0 .long 1077608448 .align 8 .LC14: .long 0 .long 1077739520 .align 8 .LC15: .long 0 .long 1077870592 .align 8 .LC16: .long 0 .long 1077968896 .align 8 .LC17: .long 0 .long 1078034432 .align 8 .LC18: .long 0 .long 1078099968 .align 8 .LC19: .long 0 .long 1078165504 .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:
.file "extr_funcargs.c_mixed.c" .option pic .text .align 1 .type mixed, @function mixed: addi sp,sp,-80 sd ra,72(sp) sd s0,64(sp) addi s0,sp,80 fsw fa0,-20(s0) mv t4,a0 fsw fa1,-28(s0) mv t3,a1 fsw fa2,-36(s0) mv t1,a2 fsw fa3,-44(s0) mv a0,a3 fsw fa4,-52(s0) mv a1,a4 fsw fa5,-60(s0) mv a2,a5 fsw fa6,-68(s0) mv a3,a6 fsw fa7,-76(s0) mv a4,a7 mv a5,t4 sw a5,-24(s0) mv a5,t3 sw a5,-32(s0) mv a5,t1 sw a5,-40(s0) mv a5,a0 sw a5,-48(s0) mv a5,a1 sw a5,-56(s0) mv a5,a2 sw a5,-64(s0) mv a5,a3 sw a5,-72(s0) mv a5,a4 sw a5,-80(s0) lla a5,.LC0 fld fa5,0(a5) flw fa1,-20(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-24(s0) mv a1,a5 li a0,2 call expect@plt lla a5,.LC1 fld fa5,0(a5) flw fa1,-28(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-32(s0) mv a1,a5 li a0,4 call expect@plt lla a5,.LC2 fld fa5,0(a5) flw fa1,-36(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-40(s0) mv a1,a5 li a0,6 call expect@plt lla a5,.LC3 fld fa5,0(a5) flw fa1,-44(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-48(s0) mv a1,a5 li a0,8 call expect@plt lla a5,.LC4 fld fa5,0(a5) flw fa1,-52(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-56(s0) mv a1,a5 li a0,10 call expect@plt lla a5,.LC5 fld fa5,0(a5) flw fa1,-60(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-64(s0) mv a1,a5 li a0,12 call expect@plt lla a5,.LC6 fld fa5,0(a5) flw fa1,-68(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-72(s0) mv a1,a5 li a0,14 call expect@plt lla a5,.LC7 fld fa5,0(a5) flw fa1,-76(s0) fmv.d fa0,fa5 call expectf@plt lw a5,-80(s0) mv a1,a5 li a0,16 call expect@plt lla a5,.LC8 fld fa5,0(a5) flw fa1,0(s0) fmv.d fa0,fa5 call expectf@plt lw a5,8(s0) mv a1,a5 li a0,18 call expect@plt lla a5,.LC9 fld fa5,0(a5) flw fa1,16(s0) fmv.d fa0,fa5 call expectf@plt lw a5,24(s0) mv a1,a5 li a0,20 call expect@plt lla a5,.LC10 fld fa5,0(a5) flw fa1,32(s0) fmv.d fa0,fa5 call expectf@plt lw a5,40(s0) mv a1,a5 li a0,22 call expect@plt lla a5,.LC11 fld fa5,0(a5) flw fa1,48(s0) fmv.d fa0,fa5 call expectf@plt lw a5,56(s0) mv a1,a5 li a0,24 call expect@plt lla a5,.LC12 fld fa5,0(a5) flw fa1,64(s0) fmv.d fa0,fa5 call expectf@plt lw a5,72(s0) mv a1,a5 li a0,26 call expect@plt lla a5,.LC13 fld fa5,0(a5) flw fa1,80(s0) fmv.d fa0,fa5 call expectf@plt lw a5,88(s0) mv a1,a5 li a0,28 call expect@plt lla a5,.LC14 fld fa5,0(a5) flw fa1,96(s0) fmv.d fa0,fa5 call expectf@plt lw a5,104(s0) mv a1,a5 li a0,30 call expect@plt lla a5,.LC15 fld fa5,0(a5) flw fa1,112(s0) fmv.d fa0,fa5 call expectf@plt lw a5,120(s0) mv a1,a5 li a0,32 call expect@plt lla a5,.LC16 fld fa5,0(a5) flw fa1,128(s0) fmv.d fa0,fa5 call expectf@plt lw a5,136(s0) mv a1,a5 li a0,34 call expect@plt lla a5,.LC17 fld fa5,0(a5) flw fa1,144(s0) fmv.d fa0,fa5 call expectf@plt lw a5,152(s0) mv a1,a5 li a0,36 call expect@plt lla a5,.LC18 fld fa5,0(a5) flw fa1,160(s0) fmv.d fa0,fa5 call expectf@plt lw a5,168(s0) mv a1,a5 li a0,38 call expect@plt lla a5,.LC19 fld fa5,0(a5) flw fa1,176(s0) fmv.d fa0,fa5 call expectf@plt lw a5,184(s0) mv a1,a5 li a0,40 call expect@plt nop ld ra,72(sp) ld s0,64(sp) addi sp,sp,80 jr ra .size mixed, .-mixed .section .rodata .align 3 .LC0: .word 0 .word 1072693248 .align 3 .LC1: .word 0 .word 1074266112 .align 3 .LC2: .word 0 .word 1075052544 .align 3 .LC3: .word 0 .word 1075576832 .align 3 .LC4: .word 0 .word 1075970048 .align 3 .LC5: .word 0 .word 1076232192 .align 3 .LC6: .word 0 .word 1076494336 .align 3 .LC7: .word 0 .word 1076756480 .align 3 .LC8: .word 0 .word 1076953088 .align 3 .LC9: .word 0 .word 1077084160 .align 3 .LC10: .word 0 .word 1077215232 .align 3 .LC11: .word 0 .word 1077346304 .align 3 .LC12: .word 0 .word 1077477376 .align 3 .LC13: .word 0 .word 1077608448 .align 3 .LC14: .word 0 .word 1077739520 .align 3 .LC15: .word 0 .word 1077870592 .align 3 .LC16: .word 0 .word 1077968896 .align 3 .LC17: .word 0 .word 1078034432 .align 3 .LC18: .word 0 .word 1078099968 .align 3 .LC19: .word 0 .word 1078165504 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_funcargs.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "function argument" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT sub rsp, 8 push 9 push 8 push 7 mov r9d, 6 mov r8d, 5 mov ecx, 4 mov edx, 3 mov esi, 2 mov edi, 1 call many_ints@PLT add rsp, 32 movsd xmm7, QWORD PTR .LC1[rip] movsd xmm6, QWORD PTR .LC2[rip] movsd xmm5, QWORD PTR .LC3[rip] movsd xmm4, QWORD PTR .LC4[rip] movsd xmm3, QWORD PTR .LC5[rip] movsd xmm2, QWORD PTR .LC6[rip] movsd xmm1, QWORD PTR .LC7[rip] mov rax, QWORD PTR .LC8[rip] sub rsp, 8 movsd xmm0, QWORD PTR .LC9[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC10[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC11[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC12[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC13[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC14[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC15[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC16[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movsd xmm0, QWORD PTR .LC17[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 movq xmm0, rax call many_floats@PLT add rsp, 80 movsd xmm7, QWORD PTR .LC11[rip] movsd xmm6, QWORD PTR .LC13[rip] movsd xmm5, QWORD PTR .LC15[rip] movsd xmm4, QWORD PTR .LC17[rip] movsd xmm3, QWORD PTR .LC2[rip] movsd xmm2, QWORD PTR .LC4[rip] movsd xmm1, QWORD PTR .LC6[rip] mov rax, QWORD PTR .LC8[rip] push 40 movsd xmm0, QWORD PTR .LC18[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 38 movsd xmm0, QWORD PTR .LC19[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 36 movsd xmm0, QWORD PTR .LC20[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 34 movsd xmm0, QWORD PTR .LC21[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 32 movsd xmm0, QWORD PTR .LC22[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 30 movsd xmm0, QWORD PTR .LC23[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 28 movsd xmm0, QWORD PTR .LC24[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 26 movsd xmm0, QWORD PTR .LC25[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 24 movsd xmm0, QWORD PTR .LC26[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 22 movsd xmm0, QWORD PTR .LC27[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 20 movsd xmm0, QWORD PTR .LC28[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 18 movsd xmm0, QWORD PTR .LC9[rip] lea rsp, -8[rsp] movsd QWORD PTR [rsp], xmm0 push 16 push 14 mov r9d, 12 mov r8d, 10 mov ecx, 8 mov edx, 6 mov esi, 4 mov edi, 2 movq xmm0, rax call mixed@PLT add rsp, 208 nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .section .rodata .align 8 .LC1: .long 0 .long 1075838976 .align 8 .LC2: .long 0 .long 1075576832 .align 8 .LC3: .long 0 .long 1075314688 .align 8 .LC4: .long 0 .long 1075052544 .align 8 .LC5: .long 0 .long 1074790400 .align 8 .LC6: .long 0 .long 1074266112 .align 8 .LC7: .long 0 .long 1073741824 .align 8 .LC8: .long 0 .long 1072693248 .align 8 .LC9: .long 0 .long 1076953088 .align 8 .LC10: .long 0 .long 1076887552 .align 8 .LC11: .long 0 .long 1076756480 .align 8 .LC12: .long 0 .long 1076625408 .align 8 .LC13: .long 0 .long 1076494336 .align 8 .LC14: .long 0 .long 1076363264 .align 8 .LC15: .long 0 .long 1076232192 .align 8 .LC16: .long 0 .long 1076101120 .align 8 .LC17: .long 0 .long 1075970048 .align 8 .LC18: .long 0 .long 1078165504 .align 8 .LC19: .long 0 .long 1078099968 .align 8 .LC20: .long 0 .long 1078034432 .align 8 .LC21: .long 0 .long 1077968896 .align 8 .LC22: .long 0 .long 1077870592 .align 8 .LC23: .long 0 .long 1077739520 .align 8 .LC24: .long 0 .long 1077608448 .align 8 .LC25: .long 0 .long 1077477376 .align 8 .LC26: .long 0 .long 1077346304 .align 8 .LC27: .long 0 .long 1077215232 .align 8 .LC28: .long 0 .long 1077084160 .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:
.file "extr_funcargs.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "function argument" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-208 sd ra,200(sp) sd s0,192(sp) addi s0,sp,208 lla a0,.LC0 call print@plt li a5,9 sd a5,0(sp) li a7,8 li a6,7 li a5,6 li a4,5 li a3,4 li a2,3 li a1,2 li a0,1 call many_ints@plt lla a5,.LC1 fld ft8,0(a5) lla a5,.LC2 fld fa7,0(a5) lla a5,.LC3 fld fa6,0(a5) lla a5,.LC4 fld ft7,0(a5) lla a5,.LC5 fld ft6,0(a5) lla a5,.LC6 fld ft5,0(a5) lla a5,.LC7 fld ft4,0(a5) lla a5,.LC8 fld ft3,0(a5) lla a5,.LC9 fld ft2,0(a5) lla a5,.LC10 fld ft1,0(a5) lla a5,.LC11 fld ft0,0(a5) lla a5,.LC12 fld fa4,0(a5) lla a5,.LC13 fld fa3,0(a5) lla a5,.LC14 fld fa2,0(a5) lla a5,.LC15 fld fa1,0(a5) lla a5,.LC16 fld fa0,0(a5) lla a5,.LC17 fld fa5,0(a5) fsd fa5,0(sp) fmv.x.d a7,ft8 fmv.x.d a6,fa7 fmv.x.d a5,fa6 fmv.x.d a4,ft7 fmv.x.d a3,ft6 fmv.x.d a2,ft5 fmv.x.d a1,ft4 fmv.x.d a0,ft3 fmv.d fa7,ft2 fmv.d fa6,ft1 fmv.d fa5,ft0 call many_floats@plt lla a5,.LC2 fld ft2,0(a5) lla a5,.LC4 fld ft1,0(a5) lla a5,.LC6 fld ft0,0(a5) lla a5,.LC8 fld fa4,0(a5) lla a5,.LC10 fld fa3,0(a5) lla a5,.LC12 fld fa2,0(a5) lla a5,.LC14 fld fa1,0(a5) lla a5,.LC16 fld fa0,0(a5) li a5,40 sd a5,184(sp) lla a5,.LC18 fld fa5,0(a5) fsd fa5,176(sp) li a5,38 sd a5,168(sp) lla a5,.LC19 fld fa5,0(a5) fsd fa5,160(sp) li a5,36 sd a5,152(sp) lla a5,.LC20 fld fa5,0(a5) fsd fa5,144(sp) li a5,34 sd a5,136(sp) lla a5,.LC21 fld fa5,0(a5) fsd fa5,128(sp) li a5,32 sd a5,120(sp) lla a5,.LC22 fld fa5,0(a5) fsd fa5,112(sp) li a5,30 sd a5,104(sp) lla a5,.LC23 fld fa5,0(a5) fsd fa5,96(sp) li a5,28 sd a5,88(sp) lla a5,.LC24 fld fa5,0(a5) fsd fa5,80(sp) li a5,26 sd a5,72(sp) lla a5,.LC25 fld fa5,0(a5) fsd fa5,64(sp) li a5,24 sd a5,56(sp) lla a5,.LC26 fld fa5,0(a5) fsd fa5,48(sp) li a5,22 sd a5,40(sp) lla a5,.LC27 fld fa5,0(a5) fsd fa5,32(sp) li a5,20 sd a5,24(sp) lla a5,.LC28 fld fa5,0(a5) fsd fa5,16(sp) li a5,18 sd a5,8(sp) lla a5,.LC17 fld fa5,0(a5) fsd fa5,0(sp) li a7,16 fmv.d fa7,ft2 li a6,14 fmv.d fa6,ft1 li a5,12 fmv.d fa5,ft0 li a4,10 li a3,8 li a2,6 li a1,4 li a0,2 call mixed@plt nop ld ra,200(sp) ld s0,192(sp) addi sp,sp,208 jr ra .size testmain, .-testmain .section .rodata .align 3 .LC1: .word 0 .word 1076887552 .align 3 .LC2: .word 0 .word 1076756480 .align 3 .LC3: .word 0 .word 1076625408 .align 3 .LC4: .word 0 .word 1076494336 .align 3 .LC5: .word 0 .word 1076363264 .align 3 .LC6: .word 0 .word 1076232192 .align 3 .LC7: .word 0 .word 1076101120 .align 3 .LC8: .word 0 .word 1075970048 .align 3 .LC9: .word 0 .word 1075838976 .align 3 .LC10: .word 0 .word 1075576832 .align 3 .LC11: .word 0 .word 1075314688 .align 3 .LC12: .word 0 .word 1075052544 .align 3 .LC13: .word 0 .word 1074790400 .align 3 .LC14: .word 0 .word 1074266112 .align 3 .LC15: .word 0 .word 1073741824 .align 3 .LC16: .word 0 .word 1072693248 .align 3 .LC17: .word 0 .word 1076953088 .align 3 .LC18: .word 0 .word 1078165504 .align 3 .LC19: .word 0 .word 1078099968 .align 3 .LC20: .word 0 .word 1078034432 .align 3 .LC21: .word 0 .word 1077968896 .align 3 .LC22: .word 0 .word 1077870592 .align 3 .LC23: .word 0 .word 1077739520 .align 3 .LC24: .word 0 .word 1077608448 .align 3 .LC25: .word 0 .word 1077477376 .align 3 .LC26: .word 0 .word 1077346304 .align 3 .LC27: .word 0 .word 1077215232 .align 3 .LC28: .word 0 .word 1077084160 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_empty.c" .intel_syntax noprefix .text .type empty, @function empty: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size empty, .-empty .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:
.file "extr_function.c_empty.c" .option pic .text .align 1 .type empty, @function empty: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 nop ld s0,8(sp) addi sp,sp,16 jr ra .size empty, .-empty .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_empty2.c" .intel_syntax noprefix .text .type empty2, @function empty2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size empty2, .-empty2 .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:
.file "extr_function.c_empty2.c" .option pic .text .align 1 .type empty2, @function empty2: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 nop ld s0,8(sp) addi sp,sp,16 jr ra .size empty2, .-empty2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_func_ptr_call.c" .intel_syntax noprefix .text .type func_ptr_call, @function func_ptr_call: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov edi, 2 call ptrtest3@PLT movd eax, xmm0 movd xmm0, eax mov edi, 4 call expectf@PLT mov rax, QWORD PTR ptrtest1@GOTPCREL[rip] mov QWORD PTR -32[rbp], rax mov rax, QWORD PTR -32[rbp] call rax mov esi, eax mov edi, 55 call expect@PLT mov rax, QWORD PTR ptrtest2@GOTPCREL[rip] mov QWORD PTR -24[rbp], rax mov rax, QWORD PTR -24[rbp] mov edi, 55 call rax mov esi, eax mov edi, 110 call expect@PLT mov rax, QWORD PTR ptrtest3@GOTPCREL[rip] mov QWORD PTR -16[rbp], rax mov rax, QWORD PTR -16[rbp] movss xmm0, DWORD PTR .LC0[rip] call rax movd eax, xmm0 movd xmm0, eax mov edi, 4 call expectf@PLT mov rax, QWORD PTR ptrtest1@GOTPCREL[rip] mov QWORD PTR -8[rbp], rax mov rax, QWORD PTR -8[rbp] call rax mov esi, eax mov edi, 55 call expect@PLT mov esi, 5 mov rax, QWORD PTR ptrtest2@GOTPCREL[rip] mov rdi, rax call ptrtest4@PLT mov esi, eax mov edi, 10 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size func_ptr_call, .-func_ptr_call .section .rodata .align 4 .LC0: .long 1073741824 .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:
.file "extr_function.c_func_ptr_call.c" .option pic .text .align 1 .type func_ptr_call, @function func_ptr_call: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 li a0,2 call ptrtest3@plt fmv.x.s a5,fa0 fmv.s.x fa0,a5 li a0,4 call expectf@plt la a5,ptrtest1 sd a5,-48(s0) ld a5,-48(s0) jalr a5 mv a5,a0 mv a1,a5 li a0,55 call expect@plt la a5,ptrtest2 sd a5,-40(s0) ld a5,-40(s0) li a0,55 jalr a5 mv a5,a0 mv a1,a5 li a0,110 call expect@plt la a5,ptrtest3 sd a5,-32(s0) lla a5,.LC0 flw fa5,0(a5) ld a5,-32(s0) fmv.s fa0,fa5 jalr a5 fmv.x.s a5,fa0 fmv.s.x fa0,a5 li a0,4 call expectf@plt la a5,ptrtest1 sd a5,-24(s0) ld a5,-24(s0) jalr a5 mv a5,a0 mv a1,a5 li a0,55 call expect@plt li a1,5 la a0,ptrtest2 call ptrtest4@plt mv a5,a0 mv a1,a5 li a0,10 call expect@plt nop ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size func_ptr_call, .-func_ptr_call .section .rodata .align 2 .LC0: .word 1073741824 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_local_static.c" .intel_syntax noprefix .text .type local_static, @function local_static: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 0 call local_static2@PLT mov esi, eax mov edi, 6 call expect@PLT mov eax, 0 call local_static2@PLT mov esi, eax mov edi, 7 call expect@PLT mov eax, 0 call local_static3@PLT mov eax, 0 call local_static2@PLT mov esi, eax mov edi, 8 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size local_static, .-local_static .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:
.file "extr_function.c_local_static.c" .option pic .text .align 1 .type local_static, @function local_static: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 call local_static2@plt mv a5,a0 mv a1,a5 li a0,6 call expect@plt call local_static2@plt mv a5,a0 mv a1,a5 li a0,7 call expect@plt call local_static3@plt call local_static2@plt mv a5,a0 mv a1,a5 li a0,8 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size local_static, .-local_static .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_local_static2.c" .intel_syntax noprefix .text .type local_static2, @function local_static2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR z.2[rip], 3 mov eax, DWORD PTR x.1[rip] lea edx, 1[rax] mov DWORD PTR x.1[rip], edx movzx edx, BYTE PTR y.0[rip] movsx edx, dl sub edx, 48 add edx, eax mov eax, DWORD PTR z.2[rip] add eax, edx pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size local_static2, .-local_static2 .local z.2 .comm z.2,4,4 .data .align 4 .type x.1, @object .size x.1, 4 x.1: .long 1 .type y.0, @object .size y.0, 2 y.0: .string "2" .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:
.file "extr_function.c_local_static2.c" .option pic .text .align 1 .type local_static2, @function local_static2: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 lla a5,z.1507 li a4,3 sw a4,0(a5) lla a5,x.1505 lw a5,0(a5) addiw a4,a5,1 sext.w a3,a4 lla a4,x.1505 sw a3,0(a4) lla a4,y.1506 lbu a4,0(a4) sext.w a4,a4 addiw a4,a4,-48 sext.w a4,a4 addw a5,a5,a4 sext.w a4,a5 lla a5,z.1507 lw a5,0(a5) addw a5,a4,a5 sext.w a5,a5 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size local_static2, .-local_static2 .local z.1507 .comm z.1507,4,4 .data .align 2 .type x.1505, @object .size x.1505, 4 x.1505: .word 1 .align 3 .type y.1506, @object .size y.1506, 2 y.1506: .string "2" .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_local_static3.c" .intel_syntax noprefix .text .type local_static3, @function local_static3: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR z.2[rip], 100 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size local_static3, .-local_static3 .local z.2 .comm z.2,4,4 .data .type y.1, @object .size y.1, 2 y.1: .string "8" .align 4 .type x.0, @object .size x.0, 4 x.0: .long 5 .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:
.file "extr_function.c_local_static3.c" .option pic .text .align 1 .type local_static3, @function local_static3: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 lla a5,z.1507 li a4,100 sw a4,0(a5) nop ld s0,8(sp) addi sp,sp,16 jr ra .size local_static3, .-local_static3 .local z.1507 .comm z.1507,4,4 .data .align 3 .type y.1506, @object .size y.1506, 2 y.1506: .string "8" .align 2 .type x.1505, @object .size x.1505, 4 x.1505: .word 5 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_ptrtest1.c" .intel_syntax noprefix .text .globl ptrtest1 .type ptrtest1, @function ptrtest1: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 55 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size ptrtest1, .-ptrtest1 .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:
.file "extr_function.c_ptrtest1.c" .option pic .text .align 1 .globl ptrtest1 .type ptrtest1, @function ptrtest1: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,55 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size ptrtest1, .-ptrtest1 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_ptrtest2.c" .intel_syntax noprefix .text .globl ptrtest2 .type ptrtest2, @function ptrtest2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi mov eax, DWORD PTR -4[rbp] add eax, eax pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size ptrtest2, .-ptrtest2 .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:
.file "extr_function.c_ptrtest2.c" .option pic .text .align 1 .globl ptrtest2 .type ptrtest2, @function ptrtest2: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 sw a5,-20(s0) lw a5,-20(s0) slliw a5,a5,1 sext.w a5,a5 mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size ptrtest2, .-ptrtest2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_ptrtest3.c" .intel_syntax noprefix .text .globl ptrtest3 .type ptrtest3, @function ptrtest3: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 movss DWORD PTR -4[rbp], xmm0 movss xmm0, DWORD PTR -4[rbp] addss xmm0, xmm0 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size ptrtest3, .-ptrtest3 .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:
.file "extr_function.c_ptrtest3.c" .option pic .text .align 1 .globl ptrtest3 .type ptrtest3, @function ptrtest3: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 fsw fa0,-20(s0) flw fa5,-20(s0) fadd.s fa5,fa5,fa5 fmv.s fa0,fa5 ld s0,24(sp) addi sp,sp,32 jr ra .size ptrtest3, .-ptrtest3 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_ptrtest4.c" .intel_syntax noprefix .text .globl ptrtest4 .type ptrtest4, @function ptrtest4: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov QWORD PTR -8[rbp], rdi mov DWORD PTR -12[rbp], esi mov eax, DWORD PTR -12[rbp] mov rdx, QWORD PTR -8[rbp] mov edi, eax call rdx leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size ptrtest4, .-ptrtest4 .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:
.file "extr_function.c_ptrtest4.c" .option pic .text .align 1 .globl ptrtest4 .type ptrtest4, @function ptrtest4: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sd a0,-24(s0) mv a5,a1 sw a5,-28(s0) lw a5,-28(s0) ld a4,-24(s0) mv a0,a5 jalr a4 mv a5,a0 mv a0,a5 ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size ptrtest4, .-ptrtest4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_retfunc.c" .intel_syntax noprefix .text .globl t6 .bss .align 4 .type t6, @object .size t6, 4 t6: .zero 4 .text .type retfunc, @function retfunc: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rax, t6[rip] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size retfunc, .-retfunc .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:
.file "extr_function.c_retfunc.c" .option pic .text .comm t6,4,4 .align 1 .type retfunc, @function retfunc: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 la a5,t6 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size retfunc, .-retfunc .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_retfunc2.c" .intel_syntax noprefix .text .globl t6 .bss .align 4 .type t6, @object .size t6, 4 t6: .zero 4 .text .type retfunc2, @function retfunc2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, DWORD PTR t6[rip] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size retfunc2, .-retfunc2 .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:
.file "extr_function.c_retfunc2.c" .option pic .text .comm t6,4,4 .align 1 .type retfunc2, @function retfunc2: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 la a5,t6 lw a5,0(a5) mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size retfunc2, .-retfunc2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_sum.c" .intel_syntax noprefix .text .globl sum .type sum, @function sum: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov rax, rdi mov rcx, rsi mov rdx, rcx mov QWORD PTR -16[rbp], rax mov QWORD PTR -8[rbp], rdx mov edx, DWORD PTR -16[rbp] mov eax, DWORD PTR -12[rbp] add edx, eax mov eax, DWORD PTR -8[rbp] add edx, eax mov eax, DWORD PTR -4[rbp] add eax, edx pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size sum, .-sum .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:
.file "extr_function.c_sum.c" .option pic .text .align 1 .globl sum .type sum, @function sum: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 sd a0,-32(s0) sd a1,-24(s0) lw a4,-32(s0) lw a5,-28(s0) addw a5,a4,a5 sext.w a4,a5 lw a5,-24(s0) addw a5,a4,a5 sext.w a4,a5 lw a5,-20(s0) addw a5,a4,a5 sext.w a5,a5 mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size sum, .-sum .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t1.c" .intel_syntax noprefix .text .globl t1 .type t1, @function t1: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 77 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t1, .-t1 .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:
.file "extr_function.c_t1.c" .option pic .text .align 1 .globl t1 .type t1, @function t1: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,77 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size t1, .-t1 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t10.c" .intel_syntax noprefix .text .globl t10 .type t10, @function t10: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi movsd QWORD PTR -16[rbp], xmm0 pxor xmm0, xmm0 cvtsi2sd xmm0, DWORD PTR -4[rbp] addsd xmm0, QWORD PTR -16[rbp] cvttsd2si eax, xmm0 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t10, .-t10 .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:
.file "extr_function.c_t10.c" .option pic .text .align 1 .globl t10 .type t10, @function t10: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 fsd fa0,-32(s0) sw a5,-20(s0) lw a5,-20(s0) fcvt.d.w fa4,a5 fld fa5,-32(s0) fadd.d fa5,fa4,fa5 fcvt.w.d a5,fa5,rtz sext.w a5,a5 mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size t10, .-t10 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t2.c" .intel_syntax noprefix .text .type t2, @function t2: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], edi mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 79 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t2, .-t2 .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:
.file "extr_function.c_t2.c" .option pic .text .align 1 .type t2, @function t2: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 mv a5,a0 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,79 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size t2, .-t2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t3.c" .intel_syntax noprefix .text .type t3, @function t3: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov DWORD PTR -4[rbp], edi mov DWORD PTR -8[rbp], esi mov DWORD PTR -12[rbp], edx mov DWORD PTR -16[rbp], ecx mov DWORD PTR -20[rbp], r8d mov DWORD PTR -24[rbp], r9d mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 2 call expect@PLT mov eax, DWORD PTR -12[rbp] mov esi, eax mov edi, 3 call expect@PLT mov eax, DWORD PTR -16[rbp] mov esi, eax mov edi, 4 call expect@PLT mov eax, DWORD PTR -20[rbp] mov esi, eax mov edi, 5 call expect@PLT mov eax, DWORD PTR -24[rbp] mov esi, eax mov edi, 6 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t3, .-t3 .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:
.file "extr_function.c_t3.c" .option pic .text .align 1 .type t3, @function t3: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 mv a6,a0 mv a0,a1 mv a1,a2 mv a2,a3 mv a3,a4 mv a4,a5 mv a5,a6 sw a5,-20(s0) mv a5,a0 sw a5,-24(s0) mv a5,a1 sw a5,-28(s0) mv a5,a2 sw a5,-32(s0) mv a5,a3 sw a5,-36(s0) mv a5,a4 sw a5,-40(s0) lw a5,-20(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-24(s0) mv a1,a5 li a0,2 call expect@plt lw a5,-28(s0) mv a1,a5 li a0,3 call expect@plt lw a5,-32(s0) mv a1,a5 li a0,4 call expect@plt lw a5,-36(s0) mv a1,a5 li a0,5 call expect@plt lw a5,-40(s0) mv a1,a5 li a0,6 call expect@plt nop ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size t3, .-t3 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t4.c" .intel_syntax noprefix .text .type t4, @function t4: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -12[rbp], 98 lea rax, -12[rbp] mov rdi, rax call t4a@PLT mov esi, eax mov edi, 98 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t4, .-t4 .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:
.file "extr_function.c_t4.c" .option pic .text .align 1 .type t4, @function t4: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,98 sw a5,-32(s0) addi a5,s0,-32 mv a0,a5 call t4a@plt mv a5,a0 mv a1,a5 li a0,98 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size t4, .-t4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t4a.c" .intel_syntax noprefix .text .globl t4a .type t4a, @function t4a: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov QWORD PTR -8[rbp], rdi mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t4a, .-t4a .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:
.file "extr_function.c_t4a.c" .option pic .text .align 1 .globl t4a .type t4a, @function t4a: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 sd a0,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size t4a, .-t4a .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t5.c" .intel_syntax noprefix .text .type t5, @function t5: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -20[rbp], 1 mov DWORD PTR -16[rbp], 2 mov DWORD PTR -12[rbp], 3 lea rax, -20[rbp] mov QWORD PTR -32[rbp], rax mov rax, QWORD PTR -32[rbp] mov DWORD PTR [rax], 99 add QWORD PTR -32[rbp], 4 mov rax, QWORD PTR -32[rbp] mov DWORD PTR [rax], 98 add QWORD PTR -32[rbp], 4 mov rax, QWORD PTR -32[rbp] mov DWORD PTR [rax], 97 lea rax, -20[rbp] mov rdi, rax call t5a@PLT lea rax, -20[rbp] mov rdi, rax call t5b@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t5, .-t5 .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:
.file "extr_function.c_t5.c" .option pic .text .align 1 .type t5, @function t5: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,1 sw a5,-40(s0) li a5,2 sw a5,-36(s0) li a5,3 sw a5,-32(s0) addi a5,s0,-40 sd a5,-48(s0) ld a5,-48(s0) li a4,99 sw a4,0(a5) ld a5,-48(s0) addi a5,a5,4 sd a5,-48(s0) ld a5,-48(s0) li a4,98 sw a4,0(a5) ld a5,-48(s0) addi a5,a5,4 sd a5,-48(s0) ld a5,-48(s0) li a4,97 sw a4,0(a5) addi a5,s0,-40 mv a0,a5 call t5a@plt addi a5,s0,-40 mv a0,a5 call t5b@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size t5, .-t5 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t5a.c" .intel_syntax noprefix .text .type t5a, @function t5a: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov QWORD PTR -8[rbp], rdi mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 99 call expect@PLT add QWORD PTR -8[rbp], 4 mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 98 call expect@PLT add QWORD PTR -8[rbp], 4 mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 97 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t5a, .-t5a .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:
.file "extr_function.c_t5a.c" .option pic .text .align 1 .type t5a, @function t5a: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sd a0,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a1,a5 li a0,99 call expect@plt ld a5,-24(s0) addi a5,a5,4 sd a5,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a1,a5 li a0,98 call expect@plt ld a5,-24(s0) addi a5,a5,4 sd a5,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a1,a5 li a0,97 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size t5a, .-t5a .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t5b.c" .intel_syntax noprefix .text .type t5b, @function t5b: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov QWORD PTR -8[rbp], rdi mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 99 call expect@PLT add QWORD PTR -8[rbp], 4 mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 98 call expect@PLT add QWORD PTR -8[rbp], 4 mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 97 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t5b, .-t5b .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:
.file "extr_function.c_t5b.c" .option pic .text .align 1 .type t5b, @function t5b: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sd a0,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a1,a5 li a0,99 call expect@plt ld a5,-24(s0) addi a5,a5,4 sd a5,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a1,a5 li a0,98 call expect@plt ld a5,-24(s0) addi a5,a5,4 sd a5,-24(s0) ld a5,-24(s0) lw a5,0(a5) mv a1,a5 li a0,97 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size t5b, .-t5b .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t6.c" .intel_syntax noprefix .text .globl t6 .type t6, @function t6: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, 3 pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t6, .-t6 .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:
.file "extr_function.c_t6.c" .option pic .text .align 1 .globl t6 .type t6, @function t6: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 li a5,3 mv a0,a5 ld s0,8(sp) addi sp,sp,16 jr ra .size t6, .-t6 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t7.c" .intel_syntax noprefix .text .globl t7 .type t7, @function t7: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi mov DWORD PTR -8[rbp], esi mov eax, DWORD PTR -4[rbp] imul eax, DWORD PTR -8[rbp] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t7, .-t7 .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:
.file "extr_function.c_t7.c" .option pic .text .align 1 .globl t7 .type t7, @function t7: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 mv a4,a1 sw a5,-20(s0) mv a5,a4 sw a5,-24(s0) lw a4,-20(s0) lw a5,-24(s0) mulw a5,a4,a5 sext.w a5,a5 mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size t7, .-t7 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t8.c" .intel_syntax noprefix .text .globl t8 .type t8, @function t8: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 192 mov DWORD PTR -180[rbp], edi mov QWORD PTR -168[rbp], rsi mov QWORD PTR -160[rbp], rdx mov QWORD PTR -152[rbp], rcx mov QWORD PTR -144[rbp], r8 mov QWORD PTR -136[rbp], r9 test al, al je .L3 movaps XMMWORD PTR -128[rbp], xmm0 movaps XMMWORD PTR -112[rbp], xmm1 movaps XMMWORD PTR -96[rbp], xmm2 movaps XMMWORD PTR -80[rbp], xmm3 movaps XMMWORD PTR -64[rbp], xmm4 movaps XMMWORD PTR -48[rbp], xmm5 movaps XMMWORD PTR -32[rbp], xmm6 movaps XMMWORD PTR -16[rbp], xmm7 .L3: mov eax, DWORD PTR -180[rbp] mov esi, eax mov edi, 23 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t8, .-t8 .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:
.file "extr_function.c_t8.c" .option pic .text .align 1 .globl t8 .type t8, @function t8: addi sp,sp,-96 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sd a1,8(s0) sd a2,16(s0) sd a3,24(s0) sd a4,32(s0) sd a5,40(s0) sd a6,48(s0) sd a7,56(s0) mv a5,a0 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,23 call expect@plt nop mv a0,a5 ld ra,24(sp) ld s0,16(sp) addi sp,sp,96 jr ra .size t8, .-t8 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_t9.c" .intel_syntax noprefix .text .type t9, @function t9: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size t9, .-t9 .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:
.file "extr_function.c_t9.c" .option pic .text .align 1 .type t9, @function t9: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 nop ld s0,8(sp) addi sp,sp,16 jr ra .size t9, .-t9 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_test_bool.c" .intel_syntax noprefix .text .type test_bool, @function test_bool: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov edi, 256 call booltest1@PLT mov esi, eax mov edi, 0 call expect@PLT mov edi, 257 call booltest1@PLT mov esi, eax mov edi, 1 call expect@PLT mov edi, 512 call booltest2@PLT mov esi, eax mov edi, 1 call expect@PLT mov edi, 513 call booltest2@PLT mov esi, eax mov edi, 1 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_bool, .-test_bool .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:
.file "extr_function.c_test_bool.c" .option pic .text .align 1 .type test_bool, @function test_bool: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 li a0,256 call booltest1@plt mv a5,a0 mv a1,a5 li a0,0 call expect@plt li a0,257 call booltest1@plt mv a5,a0 mv a1,a5 li a0,1 call expect@plt li a0,512 call booltest2@plt mv a5,a0 mv a1,a5 li a0,1 call expect@plt li a0,513 call booltest2@plt mv a5,a0 mv a1,a5 li a0,1 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size test_bool, .-test_bool .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_function.c_test_funcdesg.c" .intel_syntax noprefix .text .type test_funcdesg, @function test_funcdesg: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_funcdesg, .-test_funcdesg .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:
.file "extr_function.c_test_funcdesg.c" .option pic .text .align 1 .type test_funcdesg, @function test_funcdesg: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 nop ld s0,8(sp) addi sp,sp,16 jr ra .size test_funcdesg, .-test_funcdesg .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_generic.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "_Generic" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_generic.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "_Generic" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_global.c_testmain.c" .intel_syntax noprefix .text .globl a1 .bss .align 8 .type a1, @object .size a1, 8 a1: .zero 8 .globl a2 .align 8 .type a2, @object .size a2, 8 a2: .zero 8 .globl defaultint .align 4 .type defaultint, @object .size defaultint, 4 defaultint: .zero 4 .globl intp .align 8 .type intp, @object .size intp, 8 intp: .zero 8 .globl l1 .align 4 .type l1, @object .size l1, 4 l1: .zero 4 .globl p1 .align 8 .type p1, @object .size p1, 8 p1: .zero 8 .globl s1 .align 4 .type s1, @object .size s1, 4 s1: .zero 4 .globl s2 .align 4 .type s2, @object .size s2, 4 s2: .zero 4 .globl val .align 4 .type val, @object .size val, 4 val: .zero 4 .globl x1 .align 4 .type x1, @object .size x1, 4 x1: .zero 4 .globl x2 .align 4 .type x2, @object .size x2, 4 x2: .zero 4 .globl x3 .align 4 .type x3, @object .size x3, 4 x3: .zero 4 .globl x4 .align 4 .type x4, @object .size x4, 4 x4: .zero 4 .globl x5 .align 4 .type x5, @object .size x5, 4 x5: .zero 4 .globl x6 .align 4 .type x6, @object .size x6, 4 x6: .zero 4 .section .rodata .LC0: .string "global variable" .LC1: .string "abcd" .LC2: .string "ABCD" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov DWORD PTR defaultint[rip], 3 mov eax, DWORD PTR defaultint[rip] mov esi, eax mov edi, 3 call expect@PLT mov eax, DWORD PTR val[rip] mov esi, eax mov edi, 21 call expect@PLT mov DWORD PTR val[rip], 22 mov eax, DWORD PTR val[rip] mov esi, eax mov edi, 22 call expect@PLT mov rax, QWORD PTR p1[rip] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 22 call expect@PLT mov rax, QWORD PTR a1[rip] add rax, 4 mov DWORD PTR [rax], 23 mov rax, QWORD PTR a1[rip] add rax, 4 mov eax, DWORD PTR [rax] mov esi, eax mov edi, 23 call expect@PLT mov rax, QWORD PTR a2[rip] add rax, 4 mov eax, DWORD PTR [rax] mov esi, eax mov edi, 25 call expect@PLT mov DWORD PTR x1[rip], 1 mov DWORD PTR x2[rip], 2 mov eax, DWORD PTR x1[rip] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR x2[rip] mov esi, eax mov edi, 2 call expect@PLT mov DWORD PTR x3[rip], 3 mov eax, DWORD PTR x3[rip] mov esi, eax mov edi, 3 call expect@PLT mov eax, DWORD PTR x4[rip] mov esi, eax mov edi, 4 call expect@PLT mov eax, DWORD PTR x5[rip] mov esi, eax mov edi, 5 call expect@PLT mov DWORD PTR x6[rip], 6 mov eax, DWORD PTR x6[rip] mov esi, eax mov edi, 6 call expect@PLT mov eax, DWORD PTR s1[rip] mov esi, eax lea rdi, .LC1[rip] call expect_string@PLT mov eax, DWORD PTR s2[rip] mov esi, eax lea rdi, .LC2[rip] call expect_string@PLT mov eax, DWORD PTR l1[rip] mov esi, eax mov edi, 8 call expectl@PLT mov rax, QWORD PTR intp[rip] mov eax, DWORD PTR [rax] mov esi, eax mov edi, 9 call expectl@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_global.c_testmain.c" .option pic .text .comm a1,8,8 .comm a2,8,8 .comm defaultint,4,4 .comm intp,8,8 .comm l1,4,4 .comm p1,8,8 .comm s1,4,4 .comm s2,4,4 .comm val,4,4 .comm x1,4,4 .comm x2,4,4 .comm x3,4,4 .comm x4,4,4 .comm x5,4,4 .comm x6,4,4 .section .rodata .align 3 .LC0: .string "global variable" .align 3 .LC1: .string "abcd" .align 3 .LC2: .string "ABCD" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt la a5,defaultint li a4,3 sw a4,0(a5) la a5,defaultint lw a5,0(a5) mv a1,a5 li a0,3 call expect@plt la a5,val lw a5,0(a5) mv a1,a5 li a0,21 call expect@plt la a5,val li a4,22 sw a4,0(a5) la a5,val lw a5,0(a5) mv a1,a5 li a0,22 call expect@plt la a5,p1 ld a5,0(a5) lw a5,0(a5) mv a1,a5 li a0,22 call expect@plt la a5,a1 ld a5,0(a5) addi a5,a5,4 li a4,23 sw a4,0(a5) la a5,a1 ld a5,0(a5) addi a5,a5,4 lw a5,0(a5) mv a1,a5 li a0,23 call expect@plt la a5,a2 ld a5,0(a5) addi a5,a5,4 lw a5,0(a5) mv a1,a5 li a0,25 call expect@plt la a5,x1 li a4,1 sw a4,0(a5) la a5,x2 li a4,2 sw a4,0(a5) la a5,x1 lw a5,0(a5) mv a1,a5 li a0,1 call expect@plt la a5,x2 lw a5,0(a5) mv a1,a5 li a0,2 call expect@plt la a5,x3 li a4,3 sw a4,0(a5) la a5,x3 lw a5,0(a5) mv a1,a5 li a0,3 call expect@plt la a5,x4 lw a5,0(a5) mv a1,a5 li a0,4 call expect@plt la a5,x5 lw a5,0(a5) mv a1,a5 li a0,5 call expect@plt la a5,x6 li a4,6 sw a4,0(a5) la a5,x6 lw a5,0(a5) mv a1,a5 li a0,6 call expect@plt la a5,s1 lw a5,0(a5) mv a1,a5 lla a0,.LC1 call expect_string@plt la a5,s2 lw a5,0(a5) mv a1,a5 lla a0,.LC2 call expect_string@plt la a5,l1 lw a5,0(a5) mv a1,a5 li a0,8 call expectl@plt la a5,intp ld a5,0(a5) lw a5,0(a5) mv a1,a5 li a0,9 call expectl@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_import.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "import" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_import.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "import" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_includeguard.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "include guard" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_includeguard.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "include guard" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_array.c" .intel_syntax noprefix .text .type test_array, @function test_array: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 368 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -364[rbp], 1 mov DWORD PTR -360[rbp], 3 mov DWORD PTR -356[rbp], 5 mov eax, DWORD PTR -364[rbp] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR -360[rbp] mov esi, eax mov edi, 3 call expect@PLT mov eax, DWORD PTR -356[rbp] mov esi, eax mov edi, 5 call expect@PLT mov DWORD PTR -352[rbp], 1 mov DWORD PTR -348[rbp], 3 mov DWORD PTR -344[rbp], 5 mov DWORD PTR -340[rbp], 2 mov DWORD PTR -336[rbp], 4 mov DWORD PTR -332[rbp], 6 mov DWORD PTR -328[rbp], 3 mov DWORD PTR -324[rbp], 5 mov DWORD PTR -320[rbp], 7 mov DWORD PTR -316[rbp], 0 mov DWORD PTR -312[rbp], 0 mov DWORD PTR -308[rbp], 0 mov QWORD PTR -304[rbp], 0 mov QWORD PTR -296[rbp], 0 mov QWORD PTR -288[rbp], 0 mov QWORD PTR -280[rbp], 0 mov QWORD PTR -272[rbp], 0 mov QWORD PTR -264[rbp], 0 mov DWORD PTR -304[rbp], 1 mov DWORD PTR -300[rbp], 3 mov DWORD PTR -296[rbp], 5 mov DWORD PTR -292[rbp], 2 mov DWORD PTR -288[rbp], 4 mov DWORD PTR -284[rbp], 6 mov DWORD PTR -280[rbp], 3 mov DWORD PTR -276[rbp], 5 mov DWORD PTR -272[rbp], 7 lea rcx, -304[rbp] lea rax, -352[rbp] mov edx, 12 mov rsi, rcx mov rdi, rax call verify@PLT mov QWORD PTR -256[rbp], 0 mov QWORD PTR -248[rbp], 0 mov QWORD PTR -240[rbp], 0 mov QWORD PTR -232[rbp], 0 mov QWORD PTR -224[rbp], 0 mov QWORD PTR -216[rbp], 0 mov DWORD PTR -256[rbp], 1 mov DWORD PTR -252[rbp], 3 mov DWORD PTR -248[rbp], 5 mov DWORD PTR -244[rbp], 2 mov DWORD PTR -240[rbp], 4 mov DWORD PTR -236[rbp], 6 mov DWORD PTR -232[rbp], 3 mov DWORD PTR -228[rbp], 5 mov DWORD PTR -224[rbp], 7 lea rcx, -256[rbp] lea rax, -352[rbp] mov edx, 12 mov rsi, rcx mov rdi, rax call verify@PLT mov DWORD PTR -208[rbp], 1 mov DWORD PTR -204[rbp], 0 mov DWORD PTR -200[rbp], 0 mov DWORD PTR -196[rbp], 2 mov DWORD PTR -192[rbp], 0 mov DWORD PTR -188[rbp], 0 mov DWORD PTR -184[rbp], 3 mov DWORD PTR -180[rbp], 0 mov DWORD PTR -176[rbp], 0 mov DWORD PTR -172[rbp], 4 mov DWORD PTR -168[rbp], 0 mov DWORD PTR -164[rbp], 0 mov QWORD PTR -160[rbp], 0 mov QWORD PTR -152[rbp], 0 mov QWORD PTR -144[rbp], 0 mov QWORD PTR -136[rbp], 0 mov QWORD PTR -128[rbp], 0 mov QWORD PTR -120[rbp], 0 mov DWORD PTR -160[rbp], 1 mov DWORD PTR -148[rbp], 2 mov DWORD PTR -136[rbp], 3 mov DWORD PTR -124[rbp], 4 lea rcx, -160[rbp] lea rax, -208[rbp] mov edx, 12 mov rsi, rcx mov rdi, rax call verify@PLT mov QWORD PTR -112[rbp], 0 mov QWORD PTR -104[rbp], 0 mov QWORD PTR -96[rbp], 0 mov QWORD PTR -88[rbp], 0 mov QWORD PTR -80[rbp], 0 mov QWORD PTR -72[rbp], 0 mov WORD PTR -112[rbp], 1 mov WORD PTR -100[rbp], 2 mov WORD PTR -98[rbp], 3 mov WORD PTR -88[rbp], 4 mov WORD PTR -86[rbp], 5 mov WORD PTR -84[rbp], 6 mov QWORD PTR -64[rbp], 0 mov QWORD PTR -56[rbp], 0 mov QWORD PTR -48[rbp], 0 mov QWORD PTR -40[rbp], 0 mov QWORD PTR -32[rbp], 0 mov QWORD PTR -24[rbp], 0 mov WORD PTR -64[rbp], 1 mov WORD PTR -52[rbp], 2 mov WORD PTR -50[rbp], 3 mov WORD PTR -40[rbp], 4 mov WORD PTR -38[rbp], 5 mov WORD PTR -36[rbp], 6 lea rcx, -64[rbp] lea rax, -112[rbp] mov edx, 24 mov rsi, rcx mov rdi, rax call verify_short@PLT mov DWORD PTR -368[rbp], 3 mov eax, DWORD PTR -368[rbp] mov esi, eax mov edi, 3 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_array, .-test_array .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:
.file "extr_initializer.c_test_array.c" .option pic .text .section .rodata .align 3 .LC0: .word 1 .word 3 .word 5 .word 2 .word 4 .word 6 .word 3 .word 5 .word 7 .word 0 .word 0 .word 0 .align 3 .LC1: .word 1 .word 0 .word 0 .word 2 .word 0 .word 0 .word 3 .word 0 .word 0 .word 4 .word 0 .word 0 .text .align 1 .type test_array, @function test_array: addi sp,sp,-384 sd ra,376(sp) sd s0,368(sp) addi s0,sp,384 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,1 sw a5,-376(s0) li a5,3 sw a5,-372(s0) li a5,5 sw a5,-368(s0) lw a5,-376(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-372(s0) mv a1,a5 li a0,3 call expect@plt lw a5,-368(s0) mv a1,a5 li a0,5 call expect@plt lla a5,.LC0 ld a0,0(a5) ld a1,8(a5) ld a2,16(a5) ld a3,24(a5) ld a4,32(a5) ld a5,40(a5) sd a0,-360(s0) sd a1,-352(s0) sd a2,-344(s0) sd a3,-336(s0) sd a4,-328(s0) sd a5,-320(s0) sd zero,-312(s0) sd zero,-304(s0) sd zero,-296(s0) sd zero,-288(s0) sd zero,-280(s0) sd zero,-272(s0) li a5,1 sw a5,-312(s0) li a5,3 sw a5,-308(s0) li a5,5 sw a5,-304(s0) li a5,2 sw a5,-300(s0) li a5,4 sw a5,-296(s0) li a5,6 sw a5,-292(s0) li a5,3 sw a5,-288(s0) li a5,5 sw a5,-284(s0) li a5,7 sw a5,-280(s0) addi a4,s0,-312 addi a5,s0,-360 li a2,12 mv a1,a4 mv a0,a5 call verify@plt sd zero,-264(s0) sd zero,-256(s0) sd zero,-248(s0) sd zero,-240(s0) sd zero,-232(s0) sd zero,-224(s0) li a5,1 sw a5,-264(s0) li a5,3 sw a5,-260(s0) li a5,5 sw a5,-256(s0) li a5,2 sw a5,-252(s0) li a5,4 sw a5,-248(s0) li a5,6 sw a5,-244(s0) li a5,3 sw a5,-240(s0) li a5,5 sw a5,-236(s0) li a5,7 sw a5,-232(s0) addi a4,s0,-264 addi a5,s0,-360 li a2,12 mv a1,a4 mv a0,a5 call verify@plt lla a5,.LC1 ld a0,0(a5) ld a1,8(a5) ld a2,16(a5) ld a3,24(a5) ld a4,32(a5) ld a5,40(a5) sd a0,-216(s0) sd a1,-208(s0) sd a2,-200(s0) sd a3,-192(s0) sd a4,-184(s0) sd a5,-176(s0) sd zero,-168(s0) sd zero,-160(s0) sd zero,-152(s0) sd zero,-144(s0) sd zero,-136(s0) sd zero,-128(s0) li a5,1 sw a5,-168(s0) li a5,2 sw a5,-156(s0) li a5,3 sw a5,-144(s0) li a5,4 sw a5,-132(s0) addi a4,s0,-168 addi a5,s0,-216 li a2,12 mv a1,a4 mv a0,a5 call verify@plt sd zero,-120(s0) sd zero,-112(s0) sd zero,-104(s0) sd zero,-96(s0) sd zero,-88(s0) sd zero,-80(s0) li a5,1 sh a5,-120(s0) li a5,2 sh a5,-108(s0) li a5,3 sh a5,-106(s0) li a5,4 sh a5,-96(s0) li a5,5 sh a5,-94(s0) li a5,6 sh a5,-92(s0) sd zero,-72(s0) sd zero,-64(s0) sd zero,-56(s0) sd zero,-48(s0) sd zero,-40(s0) sd zero,-32(s0) li a5,1 sh a5,-72(s0) li a5,2 sh a5,-60(s0) li a5,3 sh a5,-58(s0) li a5,4 sh a5,-48(s0) li a5,5 sh a5,-46(s0) li a5,6 sh a5,-44(s0) addi a4,s0,-72 addi a5,s0,-120 li a2,24 mv a1,a4 mv a0,a5 call verify_short@plt li a5,3 sw a5,-384(s0) lw a5,-384(s0) mv a1,a5 li a0,3 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,376(sp) ld s0,368(sp) addi sp,sp,384 jr ra .size test_array, .-test_array .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_array_designator.c" .intel_syntax noprefix .text .type test_array_designator, @function test_array_designator: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 80 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov QWORD PTR -72[rbp], 0 mov DWORD PTR -64[rbp], 0 mov DWORD PTR -68[rbp], 5 mov eax, DWORD PTR -72[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -68[rbp] mov esi, eax mov edi, 5 mov eax, 0 call expect@PLT mov eax, DWORD PTR -64[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov QWORD PTR -48[rbp], 0 mov QWORD PTR -40[rbp], 0 mov DWORD PTR -40[rbp], 1 mov DWORD PTR -36[rbp], 2 mov eax, DWORD PTR -48[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -44[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -40[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov eax, DWORD PTR -36[rbp] mov esi, eax mov edi, 2 mov eax, 0 call expect@PLT mov QWORD PTR -32[rbp], 0 mov QWORD PTR -24[rbp], 0 mov QWORD PTR -16[rbp], 0 mov DWORD PTR -24[rbp], 1 mov DWORD PTR -20[rbp], 2 mov DWORD PTR -16[rbp], 3 mov DWORD PTR -12[rbp], 4 mov eax, DWORD PTR -32[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -28[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -24[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov eax, DWORD PTR -20[rbp] mov esi, eax mov edi, 2 mov eax, 0 call expect@PLT mov eax, DWORD PTR -16[rbp] mov esi, eax mov edi, 3 mov eax, 0 call expect@PLT mov eax, DWORD PTR -12[rbp] mov esi, eax mov edi, 4 mov eax, 0 call expect@PLT mov DWORD PTR -60[rbp], 1 mov DWORD PTR -56[rbp], 2 mov DWORD PTR -52[rbp], 3 mov eax, DWORD PTR -60[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov eax, DWORD PTR -56[rbp] mov esi, eax mov edi, 2 mov eax, 0 call expect@PLT mov eax, DWORD PTR -52[rbp] mov esi, eax mov edi, 3 mov eax, 0 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_array_designator, .-test_array_designator .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:
.file "extr_initializer.c_test_array_designator.c" .option pic .text .align 1 .type test_array_designator, @function test_array_designator: addi sp,sp,-96 sd ra,88(sp) sd s0,80(sp) addi s0,sp,96 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) sd zero,-96(s0) sw zero,-88(s0) li a5,5 sw a5,-92(s0) lw a5,-96(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-92(s0) mv a1,a5 li a0,5 call expect@plt lw a5,-88(s0) mv a1,a5 li a0,0 call expect@plt sd zero,-64(s0) sd zero,-56(s0) li a5,1 sw a5,-56(s0) li a5,2 sw a5,-52(s0) lw a5,-64(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-60(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-56(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-52(s0) mv a1,a5 li a0,2 call expect@plt sd zero,-48(s0) sd zero,-40(s0) sd zero,-32(s0) li a5,1 sw a5,-40(s0) li a5,2 sw a5,-36(s0) li a5,3 sw a5,-32(s0) li a5,4 sw a5,-28(s0) lw a5,-48(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-44(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-40(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-36(s0) mv a1,a5 li a0,2 call expect@plt lw a5,-32(s0) mv a1,a5 li a0,3 call expect@plt lw a5,-28(s0) mv a1,a5 li a0,4 call expect@plt li a5,1 sw a5,-80(s0) li a5,2 sw a5,-76(s0) li a5,3 sw a5,-72(s0) lw a5,-80(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-76(s0) mv a1,a5 li a0,2 call expect@plt lw a5,-72(s0) mv a1,a5 li a0,3 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,88(sp) ld s0,80(sp) addi sp,sp,96 jr ra .size test_array_designator, .-test_array_designator .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_complex_designator.c" .intel_syntax noprefix .text .type test_complex_designator, @function test_complex_designator: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 112 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov QWORD PTR -64[rbp], 0 mov QWORD PTR -56[rbp], 0 mov QWORD PTR -48[rbp], 0 mov QWORD PTR -40[rbp], 0 mov QWORD PTR -32[rbp], 0 mov QWORD PTR -24[rbp], 0 mov DWORD PTR -44[rbp], 10 mov DWORD PTR -40[rbp], 11 mov DWORD PTR -36[rbp], 5 mov DWORD PTR -32[rbp], 6 mov DWORD PTR -28[rbp], 7 mov DWORD PTR -24[rbp], 8 mov DWORD PTR -20[rbp], 9 mov eax, DWORD PTR -64[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -60[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -56[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -52[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -48[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT mov eax, DWORD PTR -44[rbp] mov esi, eax mov edi, 10 mov eax, 0 call expect@PLT mov eax, DWORD PTR -40[rbp] mov esi, eax mov edi, 11 mov eax, 0 call expect@PLT mov eax, DWORD PTR -36[rbp] mov esi, eax mov edi, 5 mov eax, 0 call expect@PLT mov eax, DWORD PTR -32[rbp] mov esi, eax mov edi, 6 mov eax, 0 call expect@PLT mov eax, DWORD PTR -28[rbp] mov esi, eax mov edi, 7 mov eax, 0 call expect@PLT mov eax, DWORD PTR -24[rbp] mov esi, eax mov edi, 8 mov eax, 0 call expect@PLT mov eax, DWORD PTR -20[rbp] mov esi, eax mov edi, 9 mov eax, 0 call expect@PLT mov QWORD PTR -96[rbp], 0 mov QWORD PTR -88[rbp], 0 mov QWORD PTR -80[rbp], 0 mov DWORD PTR -96[rbp], 1 mov DWORD PTR -84[rbp], 3 mov eax, DWORD PTR -96[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov eax, DWORD PTR -84[rbp] mov esi, eax mov edi, 3 mov eax, 0 call expect@PLT mov QWORD PTR -112[rbp], 0 mov QWORD PTR -104[rbp], 0 mov DWORD PTR -112[rbp], 1 mov DWORD PTR -108[rbp], 10 mov DWORD PTR -104[rbp], 11 mov eax, DWORD PTR -112[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov eax, DWORD PTR -108[rbp] mov esi, eax mov edi, 10 mov eax, 0 call expect@PLT mov eax, DWORD PTR -104[rbp] mov esi, eax mov edi, 11 mov eax, 0 call expect@PLT mov eax, DWORD PTR -100[rbp] mov esi, eax mov edi, 0 mov eax, 0 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_complex_designator, .-test_complex_designator .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:
.file "extr_initializer.c_test_complex_designator.c" .option pic .text .align 1 .type test_complex_designator, @function test_complex_designator: addi sp,sp,-112 sd ra,104(sp) sd s0,96(sp) addi s0,sp,112 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) sd zero,-72(s0) sd zero,-64(s0) sd zero,-56(s0) sd zero,-48(s0) sd zero,-40(s0) sd zero,-32(s0) li a5,10 sw a5,-52(s0) li a5,11 sw a5,-48(s0) li a5,5 sw a5,-44(s0) li a5,6 sw a5,-40(s0) li a5,7 sw a5,-36(s0) li a5,8 sw a5,-32(s0) li a5,9 sw a5,-28(s0) lw a5,-72(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-68(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-64(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-60(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-56(s0) mv a1,a5 li a0,0 call expect@plt lw a5,-52(s0) mv a1,a5 li a0,10 call expect@plt lw a5,-48(s0) mv a1,a5 li a0,11 call expect@plt lw a5,-44(s0) mv a1,a5 li a0,5 call expect@plt lw a5,-40(s0) mv a1,a5 li a0,6 call expect@plt lw a5,-36(s0) mv a1,a5 li a0,7 call expect@plt lw a5,-32(s0) mv a1,a5 li a0,8 call expect@plt lw a5,-28(s0) mv a1,a5 li a0,9 call expect@plt sd zero,-96(s0) sd zero,-88(s0) sd zero,-80(s0) li a5,1 sw a5,-96(s0) li a5,3 sw a5,-84(s0) lw a5,-96(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-84(s0) mv a1,a5 li a0,3 call expect@plt sd zero,-112(s0) sd zero,-104(s0) li a5,1 sw a5,-112(s0) li a5,10 sw a5,-108(s0) li a5,11 sw a5,-104(s0) lw a5,-112(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-108(s0) mv a1,a5 li a0,10 call expect@plt lw a5,-104(s0) mv a1,a5 li a0,11 call expect@plt lw a5,-100(s0) mv a1,a5 li a0,0 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,104(sp) ld s0,96(sp) addi sp,sp,112 jr ra .size test_complex_designator, .-test_complex_designator .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_excessive.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "abc" .text .type test_excessive, @function test_excessive: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov WORD PTR -14[rbp], 513 mov BYTE PTR -12[rbp], 3 mov esi, 3 mov edi, 3 call expect@PLT mov WORD PTR -11[rbp], 25185 mov BYTE PTR -9[rbp], 99 mov esi, 3 mov edi, 3 call expect@PLT lea rax, -11[rbp] mov edx, 3 mov rsi, rax lea rdi, .LC0[rip] call strncmp@PLT mov esi, eax mov edi, 0 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_excessive, .-test_excessive .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:
.file "extr_initializer.c_test_excessive.c" .option pic .text .section .rodata .align 3 .LC0: .string "abc" .text .align 1 .type test_excessive, @function test_excessive: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,513 sh a5,-40(s0) li a5,3 sb a5,-38(s0) li a1,3 li a0,3 call expect@plt li a5,24576 addiw a5,a5,609 sh a5,-32(s0) li a5,99 sb a5,-30(s0) li a1,3 li a0,3 call expect@plt addi a5,s0,-32 li a2,3 mv a1,a5 lla a0,.LC0 call strncmp@plt mv a5,a0 mv a1,a5 li a0,0 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size test_excessive, .-test_excessive .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_nested.c" .intel_syntax noprefix .text .type test_nested, @function test_nested: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -32[rbp], 1 mov DWORD PTR -28[rbp], 2 movabs rax, 723118041428460547 mov QWORD PTR -24[rbp], rax mov eax, DWORD PTR -32[rbp] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR -28[rbp] mov esi, eax mov edi, 2 call expect@PLT movzx eax, BYTE PTR -24[rbp] movsx eax, al mov esi, eax mov edi, 3 call expect@PLT movzx eax, BYTE PTR -17[rbp] movsx eax, al mov esi, eax mov edi, 10 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_nested, .-test_nested .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:
.file "extr_initializer.c_test_nested.c" .option pic .text .section .rodata .align 3 .LC0: .word 1 .word 2 .ascii "\003\004\005\006\007\b\t\n" .text .align 1 .type test_nested, @function test_nested: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) lla a5,.LC0 ld a4,0(a5) sd a4,-40(s0) ld a5,8(a5) sd a5,-32(s0) lw a5,-40(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-36(s0) mv a1,a5 li a0,2 call expect@plt lbu a5,-32(s0) sext.w a5,a5 mv a1,a5 li a0,3 call expect@plt lbu a5,-25(s0) sext.w a5,a5 mv a1,a5 li a0,10 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size test_nested, .-test_nested .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_primitive.c" .intel_syntax noprefix .text .type test_primitive, @function test_primitive: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], 59 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 59 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_primitive, .-test_primitive .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:
.file "extr_initializer.c_test_primitive.c" .option pic .text .align 1 .type test_primitive, @function test_primitive: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,59 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,59 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size test_primitive, .-test_primitive .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_string.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "abc" .LC1: .string "def" .text .type test_string, @function test_string: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -16[rbp], 6513249 lea rax, -16[rbp] mov rsi, rax lea rdi, .LC0[rip] mov eax, 0 call expect_string@PLT mov DWORD PTR -12[rbp], 6710628 lea rax, -12[rbp] mov rsi, rax lea rdi, .LC1[rip] mov eax, 0 call expect_string@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_string, .-test_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:
.file "extr_initializer.c_test_string.c" .option pic .text .section .rodata .align 3 .LC0: .string "abc" .align 3 .LC1: .string "def" .text .align 1 .type test_string, @function test_string: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,6512640 addiw a5,a5,609 sw a5,-40(s0) addi a5,s0,-40 mv a1,a5 lla a0,.LC0 call expect_string@plt li a5,6709248 addiw a5,a5,1380 sw a5,-32(s0) addi a5,s0,-32 mv a1,a5 lla a0,.LC1 call expect_string@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size test_string, .-test_string .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_struct.c" .intel_syntax noprefix .text .type test_struct, @function test_struct: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 80 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -80[rbp], 1 mov DWORD PTR -76[rbp], 0 mov DWORD PTR -72[rbp], 0 mov DWORD PTR -68[rbp], 0 mov DWORD PTR -64[rbp], 2 mov DWORD PTR -60[rbp], 0 mov DWORD PTR -56[rbp], 0 mov DWORD PTR -52[rbp], 0 mov QWORD PTR -48[rbp], 0 mov QWORD PTR -40[rbp], 0 mov QWORD PTR -32[rbp], 0 mov QWORD PTR -24[rbp], 0 mov DWORD PTR -48[rbp], 1 mov DWORD PTR -32[rbp], 2 lea rcx, -48[rbp] lea rax, -80[rbp] mov edx, 8 mov rsi, rcx mov rdi, rax mov eax, 0 call verify@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_struct, .-test_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:
.file "extr_initializer.c_test_struct.c" .option pic .text .section .rodata .align 3 .LC0: .word 1 .word 0 .word 0 .word 0 .word 2 .word 0 .word 0 .word 0 .text .align 1 .type test_struct, @function test_struct: addi sp,sp,-96 sd ra,88(sp) sd s0,80(sp) addi s0,sp,96 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) lla a5,.LC0 ld a2,0(a5) ld a3,8(a5) ld a4,16(a5) ld a5,24(a5) sd a2,-88(s0) sd a3,-80(s0) sd a4,-72(s0) sd a5,-64(s0) sd zero,-56(s0) sd zero,-48(s0) sd zero,-40(s0) sd zero,-32(s0) li a5,1 sw a5,-56(s0) li a5,2 sw a5,-40(s0) addi a4,s0,-56 addi a5,s0,-88 li a2,8 mv a1,a4 mv a0,a5 call verify@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,88(sp) ld s0,80(sp) addi sp,sp,96 jr ra .size test_struct, .-test_struct .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_struct_designator.c" .intel_syntax noprefix .text .type test_struct_designator, @function test_struct_designator: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov DWORD PTR -28[rbp], 5 mov DWORD PTR -24[rbp], 1 mov eax, DWORD PTR -28[rbp] mov esi, eax mov edi, 5 call expect@PLT mov eax, DWORD PTR -24[rbp] mov esi, eax mov edi, 1 call expect@PLT mov QWORD PTR -20[rbp], 0 mov DWORD PTR -16[rbp], 7 mov eax, DWORD PTR -16[rbp] mov esi, eax mov edi, 7 call expect@PLT mov QWORD PTR -12[rbp], 0 mov DWORD PTR -4[rbp], 0 mov DWORD PTR -8[rbp], 12 mov DWORD PTR -4[rbp], 17 mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 12 call expect@PLT mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 17 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_struct_designator, .-test_struct_designator .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:
.file "extr_initializer.c_test_struct_designator.c" .option pic .text .align 1 .type test_struct_designator, @function test_struct_designator: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 li a5,5 sw a5,-48(s0) li a5,1 sw a5,-44(s0) lw a5,-48(s0) mv a1,a5 li a0,5 call expect@plt lw a5,-44(s0) mv a1,a5 li a0,1 call expect@plt sd zero,-40(s0) li a5,7 sw a5,-36(s0) lw a5,-36(s0) mv a1,a5 li a0,7 call expect@plt sd zero,-32(s0) sw zero,-24(s0) li a5,12 sw a5,-28(s0) li a5,17 sw a5,-24(s0) lw a5,-28(s0) mv a1,a5 li a0,12 call expect@plt lw a5,-24(s0) mv a1,a5 li a0,17 call expect@plt nop ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size test_struct_designator, .-test_struct_designator .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_test_typedef.c" .intel_syntax noprefix .text .type test_typedef, @function test_typedef: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov DWORD PTR -28[rbp], 1 mov DWORD PTR -24[rbp], 2 mov DWORD PTR -20[rbp], 3 mov DWORD PTR -16[rbp], 4 mov DWORD PTR -12[rbp], 5 mov esi, 2 mov edi, 2 call expect@PLT mov esi, 3 mov edi, 3 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_typedef, .-test_typedef .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:
.file "extr_initializer.c_test_typedef.c" .option pic .text .align 1 .type test_typedef, @function test_typedef: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) li a5,1 sw a5,-48(s0) li a5,2 sw a5,-44(s0) li a5,3 sw a5,-40(s0) li a5,4 sw a5,-36(s0) li a5,5 sw a5,-32(s0) li a1,2 li a0,2 call expect@plt li a1,3 li a0,3 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size test_typedef, .-test_typedef .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "initializer" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call test_array@PLT mov eax, 0 call test_string@PLT mov eax, 0 call test_struct@PLT mov eax, 0 call test_primitive@PLT mov eax, 0 call test_nested@PLT mov eax, 0 call test_array_designator@PLT mov eax, 0 call test_struct_designator@PLT mov eax, 0 call test_complex_designator@PLT mov eax, 0 call test_zero@PLT mov eax, 0 call test_typedef@PLT mov eax, 0 call test_excessive@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_initializer.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "initializer" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call test_array@plt call test_string@plt call test_struct@plt call test_primitive@plt call test_nested@plt call test_array_designator@plt call test_struct_designator@plt call test_complex_designator@plt call test_zero@plt call test_typedef@plt call test_excessive@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_verify.c" .intel_syntax noprefix .text .type verify, @function verify: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 48 mov QWORD PTR -24[rbp], rdi mov QWORD PTR -32[rbp], rsi mov DWORD PTR -36[rbp], edx mov DWORD PTR -4[rbp], 0 jmp .L2 .L3: mov eax, DWORD PTR -4[rbp] cdqe lea rdx, 0[0+rax*4] mov rax, QWORD PTR -32[rbp] add rax, rdx mov edx, DWORD PTR [rax] mov eax, DWORD PTR -4[rbp] cdqe lea rcx, 0[0+rax*4] mov rax, QWORD PTR -24[rbp] add rax, rcx mov eax, DWORD PTR [rax] mov esi, edx mov edi, eax call expect@PLT add DWORD PTR -4[rbp], 1 .L2: mov eax, DWORD PTR -4[rbp] cmp eax, DWORD PTR -36[rbp] jl .L3 nop nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size verify, .-verify .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:
.file "extr_initializer.c_verify.c" .option pic .text .align 1 .type verify, @function verify: addi sp,sp,-64 sd ra,56(sp) sd s0,48(sp) addi s0,sp,64 sd a0,-40(s0) sd a1,-48(s0) mv a5,a2 sw a5,-52(s0) sw zero,-20(s0) j .L2 .L3: lw a5,-20(s0) slli a5,a5,2 ld a4,-40(s0) add a5,a4,a5 lw a3,0(a5) lw a5,-20(s0) slli a5,a5,2 ld a4,-48(s0) add a5,a4,a5 lw a5,0(a5) mv a1,a5 mv a0,a3 call expect@plt lw a5,-20(s0) addiw a5,a5,1 sw a5,-20(s0) .L2: lw a4,-20(s0) lw a5,-52(s0) sext.w a4,a4 sext.w a5,a5 blt a4,a5,.L3 nop nop ld ra,56(sp) ld s0,48(sp) addi sp,sp,64 jr ra .size verify, .-verify .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_initializer.c_verify_short.c" .intel_syntax noprefix .text .type verify_short, @function verify_short: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 48 mov QWORD PTR -24[rbp], rdi mov QWORD PTR -32[rbp], rsi mov DWORD PTR -36[rbp], edx mov DWORD PTR -4[rbp], 0 jmp .L2 .L3: mov eax, DWORD PTR -4[rbp] cdqe lea rdx, [rax+rax] mov rax, QWORD PTR -32[rbp] add rax, rdx movzx eax, WORD PTR [rax] movsx edx, ax mov eax, DWORD PTR -4[rbp] cdqe lea rcx, [rax+rax] mov rax, QWORD PTR -24[rbp] add rax, rcx movzx eax, WORD PTR [rax] cwde mov esi, edx mov edi, eax call expect@PLT add DWORD PTR -4[rbp], 1 .L2: mov eax, DWORD PTR -4[rbp] cmp eax, DWORD PTR -36[rbp] jl .L3 nop nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size verify_short, .-verify_short .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:
.file "extr_initializer.c_verify_short.c" .option pic .text .align 1 .type verify_short, @function verify_short: addi sp,sp,-64 sd ra,56(sp) sd s0,48(sp) addi s0,sp,64 sd a0,-40(s0) sd a1,-48(s0) mv a5,a2 sw a5,-52(s0) sw zero,-20(s0) j .L2 .L3: lw a5,-20(s0) slli a5,a5,1 ld a4,-40(s0) add a5,a4,a5 lh a3,0(a5) lw a5,-20(s0) slli a5,a5,1 ld a4,-48(s0) add a5,a4,a5 lh a5,0(a5) mv a1,a5 mv a0,a3 call expect@plt lw a5,-20(s0) addiw a5,a5,1 sw a5,-20(s0) .L2: lw a4,-20(s0) lw a5,-52(s0) sext.w a4,a4 sext.w a5,a5 blt a4,a5,.L3 nop nop ld ra,56(sp) ld s0,48(sp) addi sp,sp,64 jr ra .size verify_short, .-verify_short .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_int.c_expects.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "Failed" .LC1: .string " %d expected, but got %d\n" .text .type expects, @function expects: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov edx, edi mov eax, esi mov WORD PTR -4[rbp], dx mov WORD PTR -8[rbp], ax movzx eax, WORD PTR -4[rbp] cmp ax, WORD PTR -8[rbp] je .L3 lea rdi, .LC0[rip] call puts@PLT movsx edx, WORD PTR -8[rbp] movsx eax, WORD PTR -4[rbp] mov esi, eax lea rdi, .LC1[rip] mov eax, 0 call printf@PLT mov edi, 1 call exit@PLT .L3: nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size expects, .-expects .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:
.file "extr_int.c_expects.c" .option pic .text .section .rodata .align 3 .LC0: .string "Failed" .align 3 .LC1: .string " %d expected, but got %d\n" .text .align 1 .type expects, @function expects: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 mv a5,a0 mv a4,a1 sh a5,-18(s0) mv a5,a4 sh a5,-20(s0) lh a4,-18(s0) lh a5,-20(s0) sext.w a4,a4 sext.w a5,a5 beq a4,a5,.L3 lla a0,.LC0 call puts@plt lh a5,-18(s0) sext.w a5,a5 lh a4,-20(s0) sext.w a4,a4 mv a2,a4 mv a1,a5 lla a0,.LC1 call printf@plt li a0,1 call exit@plt .L3: nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size expects, .-expects .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_int.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "long" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 lea rdi, .LC0[rip] call print@PLT mov WORD PTR -20[rbp], 10 mov WORD PTR -18[rbp], 15 movzx edx, WORD PTR -20[rbp] movzx eax, WORD PTR -18[rbp] add eax, edx cwde mov esi, eax mov edi, 25 call expects@PLT movzx eax, WORD PTR -20[rbp] add eax, 10 cwde mov esi, eax mov edi, 20 call expects@PLT mov QWORD PTR -16[rbp], 67 mov QWORD PTR -8[rbp], 69 mov rax, QWORD PTR -16[rbp] mov esi, eax mov edi, 67 call expectl@PLT mov rax, QWORD PTR -16[rbp] mov edx, eax mov rax, QWORD PTR -8[rbp] add eax, edx mov esi, eax mov edi, 136 call expectl@PLT mov esi, 10 mov edi, 10 call expectl@PLT mov esi, -1 mov edi, -1 call expectl@PLT mov esi, 0 mov edi, 0 call expectl@PLT mov esi, 1 mov edi, 1 call expectl@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_int.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "long" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 lla a0,.LC0 call print@plt li a5,10 sh a5,-36(s0) li a5,15 sh a5,-34(s0) lhu a4,-36(s0) lhu a5,-34(s0) addw a5,a4,a5 slli a5,a5,48 srli a5,a5,48 slliw a5,a5,16 sraiw a5,a5,16 mv a1,a5 li a0,25 call expects@plt lhu a5,-36(s0) addiw a5,a5,10 slli a5,a5,48 srli a5,a5,48 slliw a5,a5,16 sraiw a5,a5,16 mv a1,a5 li a0,20 call expects@plt li a5,67 sd a5,-32(s0) li a5,69 sd a5,-24(s0) ld a5,-32(s0) sext.w a5,a5 mv a1,a5 li a0,67 call expectl@plt ld a5,-32(s0) sext.w a4,a5 ld a5,-24(s0) sext.w a5,a5 addw a5,a4,a5 sext.w a5,a5 sext.w a5,a5 mv a1,a5 li a0,136 call expectl@plt li a1,10 li a0,10 call expectl@plt li a1,-1 li a0,-1 call expectl@plt li a1,0 li a0,0 call expectl@plt li a1,1 li a0,1 call expectl@plt nop ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_lex.c_dollar.c" .intel_syntax noprefix .text .type dollar, @function dollar: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -12[rbp], 1 mov eax, DWORD PTR -12[rbp] mov esi, eax mov edi, 1 mov eax, 0 call expect@PLT mov DWORD PTR -8[rbp], 2 mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 2 mov eax, 0 call expect@PLT mov DWORD PTR -4[rbp], 3 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 3 mov eax, 0 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size dollar, .-dollar .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:
.file "extr_lex.c_dollar.c" .option pic .text .align 1 .type dollar, @function dollar: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,1 sw a5,-28(s0) lw a5,-28(s0) mv a1,a5 li a0,1 call expect@plt li a5,2 sw a5,-24(s0) lw a5,-24(s0) mv a1,a5 li a0,2 call expect@plt li a5,3 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,3 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size dollar, .-dollar .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_lex.c_newline.c" .intel_syntax noprefix .text .type newline, @function newline: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size newline, .-newline .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:
.file "extr_lex.c_newline.c" .option pic .text .align 1 .type newline, @function newline: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 nop ld s0,8(sp) addi sp,sp,16 jr ra .size newline, .-newline .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_lex.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "lexer" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call digraph@PLT mov eax, 0 call escape@PLT mov eax, 0 call whitespace@PLT mov eax, 0 call newline@PLT mov eax, 0 call dollar@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_lex.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "lexer" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call digraph@plt call escape@plt call whitespace@plt call newline@plt call dollar@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_literal.c_test_char.c" .intel_syntax noprefix .text .type test_char, @function test_char: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov esi, 65 mov edi, 65 call expect@PLT mov esi, 97 mov edi, 97 call expect@PLT mov esi, 7 mov edi, 7 call expect@PLT mov esi, 8 mov edi, 8 call expect@PLT mov esi, 12 mov edi, 12 call expect@PLT mov esi, 10 mov edi, 10 call expect@PLT mov esi, 13 mov edi, 13 call expect@PLT mov esi, 9 mov edi, 9 call expect@PLT mov esi, 11 mov edi, 11 call expect@PLT mov esi, 27 mov edi, 27 call expect@PLT mov esi, 0 mov edi, 0 call expect@PLT mov esi, 7 mov edi, 7 call expect@PLT mov esi, 15 mov edi, 15 call expect@PLT mov esi, -99 mov edi, -99 call expect@PLT mov esi, 0 mov edi, 0 call expect@PLT mov esi, -1 mov edi, -1 call expect@PLT mov esi, 15 mov edi, 15 call expect@PLT mov esi, 18 mov edi, 18 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_char, .-test_char .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:
.file "extr_literal.c_test_char.c" .option pic .text .align 1 .type test_char, @function test_char: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 li a1,65 li a0,65 call expect@plt li a1,97 li a0,97 call expect@plt li a1,7 li a0,7 call expect@plt li a1,8 li a0,8 call expect@plt li a1,12 li a0,12 call expect@plt li a1,10 li a0,10 call expect@plt li a1,13 li a0,13 call expect@plt li a1,9 li a0,9 call expect@plt li a1,11 li a0,11 call expect@plt li a1,27 li a0,27 call expect@plt li a1,0 li a0,0 call expect@plt li a1,7 li a0,7 call expect@plt li a1,15 li a0,15 call expect@plt li a1,157 li a0,-99 call expect@plt li a1,0 li a0,0 call expect@plt li a1,255 li a0,-1 call expect@plt li a1,15 li a0,15 call expect@plt li a1,18 li a0,18 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size test_char, .-test_char .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_literal.c_test_string.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "abc" .LC1: .string "abcd" .LC2: .string "abcdef" .LC3: .string "Aa\007\b\f\n\r\t\013\033\007\017\235\377\022" .text .type test_string, @function test_string: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 64 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax lea rsi, .LC0[rip] lea rdi, .LC0[rip] call expect_string@PLT lea rsi, .LC0[rip] lea rdi, .LC0[rip] call expect_string@PLT mov eax, 97 movsx eax, al mov esi, eax mov edi, 97 call expect@PLT mov eax, 0 movsx eax, al mov esi, eax mov edi, 0 call expect@PLT lea rsi, .LC1[rip] lea rdi, .LC1[rip] call expect_string@PLT lea rsi, .LC2[rip] lea rdi, .LC2[rip] call expect_string@PLT movabs rax, 652188567829176641 movabs rdx, 5347599607864075 mov QWORD PTR -32[rbp], rax mov QWORD PTR -24[rbp], rdx lea rax, -32[rbp] lea rsi, .LC3[rip] mov rdi, rax call expect_string@PLT mov esi, 99 mov edi, 99 call expect@PLT mov esi, 12354 mov edi, 12354 call expect@PLT mov esi, 12354 mov edi, 12354 call expect@PLT mov esi, 12354 mov edi, 12354 call expect@PLT mov DWORD PTR -64[rbp], 1 mov DWORD PTR -60[rbp], 2 mov DWORD PTR -56[rbp], 3 mov DWORD PTR -52[rbp], 4 mov edx, DWORD PTR -64[rbp] mov eax, DWORD PTR -60[rbp] add edx, eax mov eax, DWORD PTR -56[rbp] add edx, eax mov eax, DWORD PTR -52[rbp] add eax, edx mov esi, eax mov edi, 10 call expect@PLT mov DWORD PTR -48[rbp], 1 mov DWORD PTR -44[rbp], 2 mov DWORD PTR -40[rbp], 3 mov DWORD PTR -36[rbp], 4 mov edx, DWORD PTR -48[rbp] mov eax, DWORD PTR -44[rbp] add edx, eax mov eax, DWORD PTR -40[rbp] add edx, eax mov eax, DWORD PTR -36[rbp] add eax, edx mov esi, eax mov edi, 10 call expect@PLT nop mov rax, QWORD PTR -8[rbp] sub rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_string, .-test_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:
.file "extr_literal.c_test_string.c" .option pic .text .section .rodata .align 3 .LC0: .string "abc" .align 3 .LC1: .string "abcd" .align 3 .LC2: .string "abcdef" .align 3 .LC3: .string "Aa\007\b\f\n\r\t\013\033\007\017\235\377\022" .text .align 1 .type test_string, @function test_string: addi sp,sp,-80 sd ra,72(sp) sd s0,64(sp) addi s0,sp,80 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) lla a1,.LC0 lla a0,.LC0 call expect_string@plt lla a1,.LC0 lla a0,.LC0 call expect_string@plt li a5,97 sext.w a5,a5 mv a1,a5 li a0,97 call expect@plt li a5,0 sext.w a5,a5 mv a1,a5 li a0,0 call expect@plt lla a1,.LC1 lla a0,.LC1 call expect_string@plt lla a1,.LC2 lla a0,.LC2 call expect_string@plt lla a5,.LC3 ld a4,0(a5) sd a4,-40(s0) ld a5,8(a5) sd a5,-32(s0) addi a5,s0,-40 lla a1,.LC3 mv a0,a5 call expect_string@plt li a1,99 li a0,99 call expect@plt li a5,12288 addi a1,a5,66 li a5,12288 addi a0,a5,66 call expect@plt li a5,12288 addi a1,a5,66 li a5,12288 addi a0,a5,66 call expect@plt li a5,12288 addi a1,a5,66 li a5,12288 addi a0,a5,66 call expect@plt li a5,1 sw a5,-72(s0) li a5,2 sw a5,-68(s0) li a5,3 sw a5,-64(s0) li a5,4 sw a5,-60(s0) lw a4,-72(s0) lw a5,-68(s0) addw a5,a4,a5 sext.w a5,a5 lw a4,-64(s0) addw a5,a4,a5 sext.w a5,a5 lw a4,-60(s0) addw a5,a4,a5 sext.w a5,a5 mv a1,a5 li a0,10 call expect@plt li a5,1 sw a5,-56(s0) li a5,2 sw a5,-52(s0) li a5,3 sw a5,-48(s0) li a5,4 sw a5,-44(s0) lw a4,-56(s0) lw a5,-52(s0) addw a5,a4,a5 sext.w a5,a5 lw a4,-48(s0) addw a5,a4,a5 sext.w a5,a5 lw a4,-44(s0) addw a5,a4,a5 sext.w a5,a5 mv a1,a5 li a0,10 call expect@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,72(sp) ld s0,64(sp) addi sp,sp,80 jr ra .size test_string, .-test_string .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_literal.c_test_ucn.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "$" .text .type test_ucn, @function test_ucn: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov esi, 36 mov edi, 36 call expect@PLT mov esi, 36 mov edi, 36 call expect@PLT lea rsi, .LC0[rip] lea rdi, .LC0[rip] call expect_string@PLT lea rsi, .LC0[rip] lea rdi, .LC0[rip] call expect_string@PLT mov esi, 88 mov edi, 88 call expect@PLT mov esi, 88 mov edi, 88 call expect@PLT mov esi, 88 mov edi, 88 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_ucn, .-test_ucn .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:
.file "extr_literal.c_test_ucn.c" .option pic .text .section .rodata .align 3 .LC0: .string "$" .text .align 1 .type test_ucn, @function test_ucn: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 li a1,36 li a0,36 call expect@plt li a1,36 li a0,36 call expect@plt lla a1,.LC0 lla a0,.LC0 call expect_string@plt lla a1,.LC0 lla a0,.LC0 call expect_string@plt li a1,88 li a0,88 call expect@plt li a1,88 li a0,88 call expect@plt li a1,88 li a0,88 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size test_ucn, .-test_ucn .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_literal.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "literal" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call test_char@PLT mov eax, 0 call test_string@PLT mov eax, 0 call test_mbstring@PLT mov eax, 0 call test_float@PLT mov eax, 0 call test_ucn@PLT mov eax, 0 call test_compound@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_literal.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "literal" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call test_char@plt call test_string@plt call test_mbstring@plt call test_float@plt call test_ucn@plt call test_compound@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_const_expr.c" .intel_syntax noprefix .text .type const_expr, @function const_expr: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], 1 mov DWORD PTR -4[rbp], 2 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 2 call expect@PLT mov DWORD PTR -4[rbp], 4 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 4 call expect@PLT mov DWORD PTR -4[rbp], 100 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 100 call expect@PLT mov DWORD PTR -4[rbp], 101 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 101 call expect@PLT mov DWORD PTR -4[rbp], 102 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 102 call expect@PLT mov DWORD PTR -4[rbp], 103 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 103 call expect@PLT mov DWORD PTR -4[rbp], 104 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 104 call expect@PLT mov DWORD PTR -4[rbp], 7 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 7 call expect@PLT mov DWORD PTR -4[rbp], 9 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 9 call expect@PLT mov DWORD PTR -4[rbp], 15 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 15 call expect@PLT mov DWORD PTR -4[rbp], 11 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 11 call expect@PLT mov DWORD PTR -4[rbp], 12 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 12 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size const_expr, .-const_expr .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:
.file "extr_macro.c_const_expr.c" .option pic .text .align 1 .type const_expr, @function const_expr: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,1 sw a5,-20(s0) li a5,2 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,2 call expect@plt li a5,4 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,4 call expect@plt li a5,100 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,100 call expect@plt li a5,101 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,101 call expect@plt li a5,102 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,102 call expect@plt li a5,103 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,103 call expect@plt li a5,104 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,104 call expect@plt li a5,7 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,7 call expect@plt li a5,9 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,9 call expect@plt li a5,15 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,15 call expect@plt li a5,11 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,11 call expect@plt li a5,12 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,12 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size const_expr, .-const_expr .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_defined.c" .intel_syntax noprefix .text .type defined, @function defined: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], 0 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 2 call expect@PLT mov DWORD PTR -4[rbp], 4 mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 4 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size defined, .-defined .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:
.file "extr_macro.c_defined.c" .option pic .text .align 1 .type defined, @function defined: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sw zero,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-20(s0) mv a1,a5 li a0,2 call expect@plt li a5,4 sw a5,-20(s0) lw a5,-20(s0) mv a1,a5 li a0,4 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size defined, .-defined .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_ifdef.c" .intel_syntax noprefix .text .type ifdef, @function ifdef: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -4[rbp], 0 mov DWORD PTR -4[rbp], 2 mov eax, DWORD PTR -4[rbp] mov esi, 1 mov edi, eax call expect@PLT mov DWORD PTR -4[rbp], 4 mov eax, DWORD PTR -4[rbp] mov esi, 4 mov edi, eax call expect@PLT mov DWORD PTR -4[rbp], 5 mov eax, DWORD PTR -4[rbp] mov esi, 6 mov edi, eax call expect@PLT mov DWORD PTR -4[rbp], 7 mov eax, DWORD PTR -4[rbp] mov esi, 7 mov edi, eax call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size ifdef, .-ifdef .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:
.file "extr_macro.c_ifdef.c" .option pic .text .align 1 .type ifdef, @function ifdef: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 sw zero,-20(s0) li a5,2 sw a5,-20(s0) lw a5,-20(s0) li a1,1 mv a0,a5 call expect@plt li a5,4 sw a5,-20(s0) lw a5,-20(s0) li a1,4 mv a0,a5 call expect@plt li a5,5 sw a5,-20(s0) lw a5,-20(s0) li a1,6 mv a0,a5 call expect@plt li a5,7 sw a5,-20(s0) lw a5,-20(s0) li a1,7 mv a0,a5 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size ifdef, .-ifdef .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_loop.c" .intel_syntax noprefix .text .type loop, @function loop: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov DWORD PTR -8[rbp], 1 mov DWORD PTR -4[rbp], 2 mov eax, DWORD PTR -8[rbp] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR -4[rbp] mov esi, eax mov edi, 2 call expect@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size loop, .-loop .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:
.file "extr_macro.c_loop.c" .option pic .text .align 1 .type loop, @function loop: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 li a5,1 sw a5,-24(s0) li a5,2 sw a5,-20(s0) lw a5,-24(s0) mv a1,a5 li a0,1 call expect@plt lw a5,-20(s0) mv a1,a5 li a0,2 call expect@plt nop ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size loop, .-loop .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_minus.c" .intel_syntax noprefix .text .globl minus .type minus, @function minus: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi mov DWORD PTR -8[rbp], esi mov eax, DWORD PTR -4[rbp] sub eax, DWORD PTR -8[rbp] pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size minus, .-minus .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:
.file "extr_macro.c_minus.c" .option pic .text .align 1 .globl minus .type minus, @function minus: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 mv a4,a1 sw a5,-20(s0) mv a5,a4 sw a5,-24(s0) lw a4,-20(s0) lw a5,-24(s0) subw a5,a4,a5 sext.w a5,a5 mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size minus, .-minus .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_noarg.c" .intel_syntax noprefix .text .type noarg, @function noarg: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov esi, 55 mov edi, 55 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size noarg, .-noarg .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:
.file "extr_macro.c_noarg.c" .option pic .text .align 1 .type noarg, @function noarg: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 li a1,55 li a0,55 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size noarg, .-noarg .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_null.c" .intel_syntax noprefix .text .type null, @function null: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size null, .-null .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:
.file "extr_macro.c_null.c" .option pic .text .align 1 .type null, @function null: addi sp,sp,-16 sd s0,8(sp) addi s0,sp,16 nop ld s0,8(sp) addi sp,sp,16 jr ra .size null, .-null .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_plus.c" .intel_syntax noprefix .text .globl plus .type plus, @function plus: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR -4[rbp], edi mov DWORD PTR -8[rbp], esi mov edx, DWORD PTR -4[rbp] mov eax, DWORD PTR -8[rbp] add eax, edx pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size plus, .-plus .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:
.file "extr_macro.c_plus.c" .option pic .text .align 1 .globl plus .type plus, @function plus: addi sp,sp,-32 sd s0,24(sp) addi s0,sp,32 mv a5,a0 mv a4,a1 sw a5,-20(s0) mv a5,a4 sw a5,-24(s0) lw a4,-20(s0) lw a5,-24(s0) addw a5,a4,a5 sext.w a5,a5 mv a0,a5 ld s0,24(sp) addi sp,sp,32 jr ra .size plus, .-plus .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_simple.c" .intel_syntax noprefix .text .globl ONE .bss .align 4 .type ONE, @object .size ONE, 4 ONE: .zero 4 .globl TWO .align 4 .type TWO, @object .size TWO, 4 TWO: .zero 4 .text .type simple, @function simple: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov eax, DWORD PTR ONE[rip] mov esi, eax mov edi, 1 call expect@PLT mov eax, DWORD PTR TWO[rip] mov esi, eax mov edi, 2 call expect@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size simple, .-simple .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:
.file "extr_macro.c_simple.c" .option pic .text .comm ONE,4,4 .comm TWO,4,4 .align 1 .type simple, @function simple: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 la a5,ONE lw a5,0(a5) mv a1,a5 li a0,1 call expect@plt la a5,TWO lw a5,0(a5) mv a1,a5 li a0,2 call expect@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size simple, .-simple .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench
.file "extr_macro.c_testmain.c" .intel_syntax noprefix .text .section .rodata .LC0: .string "macros" .text .globl testmain .type testmain, @function testmain: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 lea rdi, .LC0[rip] call print@PLT mov eax, 0 call special@PLT mov eax, 0 call include@PLT mov eax, 0 call predefined@PLT mov eax, 0 call simple@PLT mov eax, 0 call loop@PLT mov eax, 0 call undef@PLT mov eax, 0 call cond_incl@PLT mov eax, 0 call const_expr@PLT mov eax, 0 call defined@PLT mov eax, 0 call ifdef@PLT mov eax, 0 call funclike@PLT mov eax, 0 call empty@PLT mov eax, 0 call noarg@PLT mov eax, 0 call null@PLT mov eax, 0 call counter@PLT mov eax, 0 call gnuext@PLT nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size testmain, .-testmain .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:
.file "extr_macro.c_testmain.c" .option pic .text .section .rodata .align 3 .LC0: .string "macros" .text .align 1 .globl testmain .type testmain, @function testmain: addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 lla a0,.LC0 call print@plt call special@plt call include@plt call predefined@plt call simple@plt call loop@plt call undef@plt call cond_incl@plt call const_expr@plt call defined@plt call ifdef@plt call funclike@plt call empty@plt call noarg@plt call null@plt call counter@plt call gnuext@plt nop ld ra,8(sp) ld s0,0(sp) addi sp,sp,16 jr ra .size testmain, .-testmain .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
anghabench