x86
stringlengths
335
106k
arm
stringlengths
349
104k
.file "extr_spc.c_ve_spc_global_wakeup_irq.c" .intel_syntax noprefix .text .p2align 4 .globl ve_spc_global_wakeup_irq .type ve_spc_global_wakeup_irq, @function ve_spc_global_wakeup_irq: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 mov rax, QWORD PTR info[rip] mov ebx, edi mov rdi, QWORD PTR WAKE_INT_MASK[rip] add rdi, QWORD PTR [rax] call readl_relaxed@PLT mov edi, eax test ebx, ebx je .L2 or edi, DWORD PTR GBL_WAKEUP_INT_MSK[rip] .L3: mov rax, QWORD PTR info[rip] mov rsi, QWORD PTR WAKE_INT_MASK[rip] pop rbx .cfi_remember_state .cfi_def_cfa_offset 8 add rsi, QWORD PTR [rax] jmp writel_relaxed@PLT .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state mov eax, DWORD PTR GBL_WAKEUP_INT_MSK[rip] not eax and edi, eax jmp .L3 .cfi_endproc .LFE0: .size ve_spc_global_wakeup_irq, .-ve_spc_global_wakeup_irq .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl WAKE_INT_MASK .align 8 .type WAKE_INT_MASK, @object .size WAKE_INT_MASK, 8 WAKE_INT_MASK: .zero 8 .globl GBL_WAKEUP_INT_MSK .align 4 .type GBL_WAKEUP_INT_MSK, @object .size GBL_WAKEUP_INT_MSK, 4 GBL_WAKEUP_INT_MSK: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_global_wakeup_irq.c" .text .align 2 .global ve_spc_global_wakeup_irq .syntax unified .arm .fpu softvfp .type ve_spc_global_wakeup_irq, %function ve_spc_global_wakeup_irq: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r6, .L6 ldr r5, .L6+4 ldr r2, [r6] ldr r3, [r5] ldr r2, [r2] mov r4, r0 add r0, r2, r3 bl readl_relaxed ldr r3, .L6+8 ldr r2, [r6] ldr r3, [r3] cmp r4, #0 ldr r1, [r2] orrne r0, r0, r3 biceq r0, r0, r3 ldr r3, [r5] pop {r4, r5, r6, lr} add r1, r1, r3 b writel_relaxed .L7: .align 2 .L6: .word info .word WAKE_INT_MASK .word GBL_WAKEUP_INT_MSK .size ve_spc_global_wakeup_irq, .-ve_spc_global_wakeup_irq .comm info,4,4 .comm WAKE_INT_MASK,4,4 .comm GBL_WAKEUP_INT_MSK,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_irq_handler.c" .intel_syntax noprefix .text .p2align 4 .type ve_spc_irq_handler, @function ve_spc_irq_handler: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rdi, QWORD PTR PWC_STATUS[rip] mov rbp, rsi add rdi, QWORD PTR 8[rsi] call readl_relaxed@PLT mov rdx, QWORD PTR info[rip] mov ecx, eax and ecx, DWORD PTR [rdx] jne .L8 mov eax, DWORD PTR IRQ_HANDLED[rip] pop rbp .cfi_remember_state .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L8: .cfi_restore_state mov DWORD PTR 4[rdx], eax mov rdi, rbp call complete@PLT mov eax, DWORD PTR IRQ_HANDLED[rip] pop rbp .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size ve_spc_irq_handler, .-ve_spc_irq_handler .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl PWC_STATUS .align 8 .type PWC_STATUS, @object .size PWC_STATUS, 8 PWC_STATUS: .zero 8 .globl IRQ_HANDLED .align 4 .type IRQ_HANDLED, @object .size IRQ_HANDLED, 4 IRQ_HANDLED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_irq_handler.c" .text .align 2 .syntax unified .arm .fpu softvfp .type ve_spc_irq_handler, %function ve_spc_irq_handler: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L9 ldr r0, [r1, #4] ldr r3, [r3] push {r4, lr} add r0, r0, r3 mov r4, r1 bl readl_relaxed ldr r3, .L9+4 ldr r3, [r3] ldr r2, [r3] tst r0, r2 bne .L8 .L2: ldr r3, .L9+8 ldr r0, [r3] pop {r4, pc} .L8: str r0, [r3, #4] mov r0, r4 bl complete b .L2 .L10: .align 2 .L9: .word PWC_STATUS .word info .word IRQ_HANDLED .size ve_spc_irq_handler, .-ve_spc_irq_handler .comm info,4,4 .comm PWC_STATUS,4,4 .comm IRQ_HANDLED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_populate_opps.c" .intel_syntax noprefix .text .p2align 4 .type ve_spc_populate_opps, @function ve_spc_populate_opps: .LFB0: .cfi_startproc endbr64 push r14 .cfi_def_cfa_offset 16 .cfi_offset 14, -16 mov esi, 16 push r13 .cfi_def_cfa_offset 24 .cfi_offset 13, -24 push r12 .cfi_def_cfa_offset 32 .cfi_offset 12, -32 mov r12, rdi push rbp .cfi_def_cfa_offset 40 .cfi_offset 6, -40 push rbx .cfi_def_cfa_offset 48 .cfi_offset 3, -48 sub rsp, 16 .cfi_def_cfa_offset 64 mov edx, DWORD PTR GFP_KERNEL[rip] mov rdi, QWORD PTR MAX_OPPS[rip] mov rax, QWORD PTR fs:40 mov QWORD PTR 8[rsp], rax xor eax, eax mov QWORD PTR [rsp], 0 call kcalloc@PLT test rax, rax je .L15 mov rbx, rax mov rax, QWORD PTR info[rip] mov rdi, r12 mov rax, QWORD PTR 8[rax] mov QWORD PTR [rax+r12*8], rbx call cluster_is_a15@PLT mov r14, QWORD PTR MAX_OPPS[rip] mov r13, QWORD PTR A15_PERFVAL_BASE[rip] test rax, rax cmove r13, QWORD PTR A7_PERFVAL_BASE[rip] test r14, r14 je .L13 mov rax, r13 xor r14d, r14d mov rbp, rsp neg rax lea rbx, [rbx+rax*4] jmp .L9 .p2align 4,,10 .p2align 3 .L16: mov rax, QWORD PTR [rsp] mov rdx, QWORD PTR FREQ_MASK[rip] add r14, 1 and rdx, rax imul rdx, QWORD PTR MULT_FACTOR[rip] mov QWORD PTR [rbx+r13*4], rdx mov rcx, QWORD PTR VOLT_SHIFT[rip] shr rax, cl imul rax, rax, 1000 mov QWORD PTR 8[rbx+r13*4], rax add r13, 4 cmp QWORD PTR MAX_OPPS[rip], r14 jbe .L13 .L9: mov edi, DWORD PTR SYSCFG_SCC[rip] mov rdx, rbp mov rsi, r13 call ve_spc_read_sys_cfg@PLT test rax, rax je .L16 .L6: mov rdx, QWORD PTR info[rip] mov rdx, QWORD PTR [rdx] mov QWORD PTR [rdx+r12*8], r14 .L1: mov rsi, QWORD PTR 8[rsp] sub rsi, QWORD PTR fs:40 jne .L17 add rsp, 16 .cfi_remember_state .cfi_def_cfa_offset 48 pop rbx .cfi_def_cfa_offset 40 pop rbp .cfi_def_cfa_offset 32 pop r12 .cfi_def_cfa_offset 24 pop r13 .cfi_def_cfa_offset 16 pop r14 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L13: .cfi_restore_state xor eax, eax jmp .L6 .p2align 4,,10 .p2align 3 .L15: mov eax, DWORD PTR ENOMEM[rip] neg eax jmp .L1 .L17: call __stack_chk_fail@PLT .cfi_endproc .LFE0: .size ve_spc_populate_opps, .-ve_spc_populate_opps .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl VOLT_SHIFT .align 8 .type VOLT_SHIFT, @object .size VOLT_SHIFT, 8 VOLT_SHIFT: .zero 8 .globl SYSCFG_SCC .align 4 .type SYSCFG_SCC, @object .size SYSCFG_SCC, 4 SYSCFG_SCC: .zero 4 .globl MULT_FACTOR .align 8 .type MULT_FACTOR, @object .size MULT_FACTOR, 8 MULT_FACTOR: .zero 8 .globl MAX_OPPS .align 8 .type MAX_OPPS, @object .size MAX_OPPS, 8 MAX_OPPS: .zero 8 .globl GFP_KERNEL .align 4 .type GFP_KERNEL, @object .size GFP_KERNEL, 4 GFP_KERNEL: .zero 4 .globl FREQ_MASK .align 8 .type FREQ_MASK, @object .size FREQ_MASK, 8 FREQ_MASK: .zero 8 .globl ENOMEM .align 4 .type ENOMEM, @object .size ENOMEM, 4 ENOMEM: .zero 4 .globl A7_PERFVAL_BASE .align 8 .type A7_PERFVAL_BASE, @object .size A7_PERFVAL_BASE, 8 A7_PERFVAL_BASE: .zero 8 .globl A15_PERFVAL_BASE .align 8 .type A15_PERFVAL_BASE, @object .size A15_PERFVAL_BASE, 8 A15_PERFVAL_BASE: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_populate_opps.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .syntax unified .arm .fpu softvfp .type ve_spc_populate_opps, %function ve_spc_populate_opps: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, fp, lr} mov fp, r0 mov r3, #0 ldr r2, .L18 ldr r6, .L18+4 sub sp, sp, #20 ldr ip, .L18+8 str fp, [sp, #4] mov r1, #8 ldr r2, [r2] ldr r0, [r6] ldr ip, [ip] str ip, [sp, #12] mov ip,#0 str r3, [sp, #8] bl kcalloc subs r4, r0, #0 beq .L14 ldr r3, .L18+12 ldr r0, [sp, #4] ldr r3, [r3] ldr r3, [r3, #4] str r4, [r3, r0, lsl #2] bl cluster_is_a15 cmp r0, #0 bne .L15 ldr r3, .L18+16 ldr r7, [r3] .L7: ldr fp, [r6] cmp fp, #0 moveq r0, fp beq .L6 rsb r5, r7, r7, lsl #31 add r5, r4, r5, lsl #1 mov fp, #0 ldr r10, .L18+20 ldr r9, .L18+24 ldr r8, .L18+28 add r5, r5, #4 b .L9 .L16: ldr r3, [sp, #8] ldr r2, [r10] ldr r1, [r9] and r2, r2, r3 mul r2, r1, r2 str r2, [r4, fp, lsl #3] ldr r2, [r8] add fp, fp, #1 lsr r3, r3, r2 rsb r2, r3, r3, lsl #5 add r3, r3, r2, lsl #2 lsl r3, r3, #3 str r3, [r5, r7, lsl #1] ldr r3, [r6] add r7, r7, #4 cmp r3, fp bls .L6 .L9: ldr r3, .L18+32 mov r1, r7 ldr r0, [r3] add r2, sp, #8 bl ve_spc_read_sys_cfg cmp r0, #0 beq .L16 .L6: ldr r3, .L18+12 ldr r2, [r3] ldr r3, [sp, #4] ldr r2, [r2] str fp, [r2, r3, lsl #2] .L1: ldr r3, .L18+8 ldr r2, [r3] ldr r3, [sp, #12] eors r2, r3, r2 mov r3, #0 bne .L17 add sp, sp, #20 @ sp needed pop {r4, r5, r6, r7, r8, r9, r10, fp, pc} .L15: ldr r3, .L18+36 ldr r7, [r3] b .L7 .L14: ldr r3, .L18+40 ldr r0, [r3] rsb r0, r0, #0 b .L1 .L17: bl __stack_chk_fail .L19: .align 2 .L18: .word GFP_KERNEL .word MAX_OPPS .word .LC0 .word info .word A7_PERFVAL_BASE .word FREQ_MASK .word MULT_FACTOR .word VOLT_SHIFT .word SYSCFG_SCC .word A15_PERFVAL_BASE .word ENOMEM .size ve_spc_populate_opps, .-ve_spc_populate_opps .comm info,4,4 .comm VOLT_SHIFT,4,4 .comm SYSCFG_SCC,4,4 .comm MULT_FACTOR,4,4 .comm MAX_OPPS,4,4 .comm GFP_KERNEL,4,4 .comm FREQ_MASK,4,4 .comm ENOMEM,4,4 .comm A7_PERFVAL_BASE,4,4 .comm A15_PERFVAL_BASE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_powerdown.c" .intel_syntax noprefix .text .p2align 4 .globl ve_spc_powerdown .type ve_spc_powerdown, @function ve_spc_powerdown: .LFB0: .cfi_startproc endbr64 cmp QWORD PTR MAX_CLUSTERS[rip], rdi jg .L9 ret .p2align 4,,10 .p2align 3 .L9: push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ebp, esi call cluster_is_a15@PLT mov rsi, QWORD PTR A15_PWRDN_EN[rip] mov edi, ebp pop rbp .cfi_restore 6 .cfi_def_cfa_offset 8 test rax, rax mov rax, QWORD PTR info[rip] cmove rsi, QWORD PTR A7_PWRDN_EN[rip] add rsi, QWORD PTR [rax] jmp writel_relaxed@PLT .cfi_endproc .LFE0: .size ve_spc_powerdown, .-ve_spc_powerdown .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl MAX_CLUSTERS .align 8 .type MAX_CLUSTERS, @object .size MAX_CLUSTERS, 8 MAX_CLUSTERS: .zero 8 .globl A7_PWRDN_EN .align 8 .type A7_PWRDN_EN, @object .size A7_PWRDN_EN, 8 A7_PWRDN_EN: .zero 8 .globl A15_PWRDN_EN .align 8 .type A15_PWRDN_EN, @object .size A15_PWRDN_EN, 8 A15_PWRDN_EN: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_powerdown.c" .text .align 2 .global ve_spc_powerdown .syntax unified .arm .fpu softvfp .type ve_spc_powerdown, %function ve_spc_powerdown: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L9 ldr r3, [r3] cmp r3, r0 bxle lr push {r4, lr} mov r4, r1 bl cluster_is_a15 cmp r0, #0 ldrne r3, .L9+4 ldreq r3, .L9+8 mov r0, r4 pop {r4, lr} ldr r1, [r3] ldr r3, .L9+12 ldr r3, [r3] ldr r3, [r3] add r1, r1, r3 b writel_relaxed .L10: .align 2 .L9: .word MAX_CLUSTERS .word A15_PWRDN_EN .word A7_PWRDN_EN .word info .size ve_spc_powerdown, .-ve_spc_powerdown .comm info,4,4 .comm MAX_CLUSTERS,4,4 .comm A7_PWRDN_EN,4,4 .comm A15_PWRDN_EN,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_read_sys_cfg.c" .intel_syntax noprefix .text .p2align 4 .type ve_spc_read_sys_cfg, @function ve_spc_read_sys_cfg: .LFB0: .cfi_startproc endbr64 push r13 .cfi_def_cfa_offset 16 .cfi_offset 13, -16 push r12 .cfi_def_cfa_offset 24 .cfi_offset 12, -24 mov r12d, edi push rbp .cfi_def_cfa_offset 32 .cfi_offset 6, -32 mov rbp, rdx push rbx .cfi_def_cfa_offset 40 .cfi_offset 3, -40 mov ebx, esi sub rsp, 8 .cfi_def_cfa_offset 48 mov edi, DWORD PTR TIMEOUT_US[rip] call usecs_to_jiffies@PLT mov rdi, QWORD PTR info[rip] mov esi, eax call down_timeout@PLT test rax, rax je .L2 mov r12d, DWORD PTR ETIME[rip] add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 40 pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 neg r12d mov eax, r12d pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state mov rax, QWORD PTR info[rip] sar ebx, 2 lea rdi, 24[rax] call init_completion@PLT mov edi, DWORD PTR SPC_SYS_CFG[rip] mov r13, QWORD PTR info[rip] call RESPONSE_MASK@PLT mov edi, ebx mov rsi, QWORD PTR COMMS[rip] mov QWORD PTR 8[r13], rax mov rax, QWORD PTR info[rip] or edi, r12d or edi, DWORD PTR SYSCFG_START[rip] add rsi, QWORD PTR 16[rax] call writel@PLT mov edi, DWORD PTR SPC_SYS_CFG[rip] call ve_spc_waitforcompletion@PLT mov r12d, eax test eax, eax je .L7 .L4: mov rdi, QWORD PTR info[rip] mov QWORD PTR 8[rdi], 0 call up@PLT add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 40 mov eax, r12d pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L7: .cfi_restore_state mov rax, QWORD PTR info[rip] mov rdi, QWORD PTR SYSCFG_RDATA[rip] add rdi, QWORD PTR 16[rax] call readl@PLT mov DWORD PTR 0[rbp], eax jmp .L4 .cfi_endproc .LFE0: .size ve_spc_read_sys_cfg, .-ve_spc_read_sys_cfg .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl TIMEOUT_US .align 4 .type TIMEOUT_US, @object .size TIMEOUT_US, 4 TIMEOUT_US: .zero 4 .globl SYSCFG_START .align 4 .type SYSCFG_START, @object .size SYSCFG_START, 4 SYSCFG_START: .zero 4 .globl SYSCFG_RDATA .align 8 .type SYSCFG_RDATA, @object .size SYSCFG_RDATA, 8 SYSCFG_RDATA: .zero 8 .globl SPC_SYS_CFG .align 4 .type SPC_SYS_CFG, @object .size SPC_SYS_CFG, 4 SPC_SYS_CFG: .zero 4 .globl ETIME .align 4 .type ETIME, @object .size ETIME, 4 ETIME: .zero 4 .globl COMMS .align 8 .type COMMS, @object .size COMMS, 8 COMMS: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_read_sys_cfg.c" .text .align 2 .syntax unified .arm .fpu softvfp .type ve_spc_read_sys_cfg, %function ve_spc_read_sys_cfg: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L8 push {r4, r5, r6, r7, r8, r9, r10, lr} ldr r5, .L8+4 mov r4, r0 ldr r0, [r3] mov r8, r1 mov r6, r2 ldr r7, [r5] bl usecs_to_jiffies mov r1, r0 mov r0, r7 bl down_timeout cmp r0, #0 beq .L2 ldr r3, .L8+8 ldr r4, [r3] rsb r4, r4, #0 mov r0, r4 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L2: ldr r0, [r5] ldr r7, .L8+12 add r0, r0, #12 bl init_completion ldr r0, [r7] ldr r9, [r5] bl RESPONSE_MASK ldr r3, [r5] ldr r2, .L8+16 ldr r1, [r3, #8] ldr r3, .L8+20 ldr r2, [r2] ldr r3, [r3] orr r4, r4, r8, asr #2 str r0, [r9, #4] add r1, r1, r3 orr r0, r4, r2 bl writel ldr r0, [r7] bl ve_spc_waitforcompletion subs r4, r0, #0 beq .L7 .L4: mov r3, #0 ldr r0, [r5] str r3, [r0, #4] bl up mov r0, r4 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L7: ldr r2, [r5] ldr r3, .L8+24 ldr r0, [r2, #8] ldr r3, [r3] add r0, r0, r3 bl readl str r0, [r6] b .L4 .L9: .align 2 .L8: .word TIMEOUT_US .word info .word ETIME .word SPC_SYS_CFG .word SYSCFG_START .word COMMS .word SYSCFG_RDATA .size ve_spc_read_sys_cfg, .-ve_spc_read_sys_cfg .comm info,4,4 .comm TIMEOUT_US,4,4 .comm SYSCFG_START,4,4 .comm SYSCFG_RDATA,4,4 .comm SPC_SYS_CFG,4,4 .comm ETIME,4,4 .comm COMMS,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_round_performance.c" .intel_syntax noprefix .text .p2align 4 .type ve_spc_round_performance, @function ve_spc_round_performance: .LFB0: .cfi_startproc endbr64 mov rax, QWORD PTR info[rip] movsx rsi, esi movsx rdi, edi mov rdx, rsi imul rsi, rsi, 274877907 mov rcx, QWORD PTR [rax] mov rax, QWORD PTR 8[rax] sar edx, 31 movsx rcx, DWORD PTR [rcx+rdi*4] sar rsi, 38 mov rax, QWORD PTR [rax+rdi*8] sub esi, edx test ecx, ecx jle .L8 lea r8, [rax+rcx*4] xor edi, edi mov ecx, -1 jmp .L5 .p2align 4,,10 .p2align 3 .L12: cmp ecx, edx cmovg ecx, edx add rax, 4 cmp rax, r8 je .L11 .L5: mov edx, DWORD PTR [rax] cmp esi, edx jle .L12 cmp edi, edx cmovl edi, edx add rax, 4 cmp rax, r8 jne .L5 .L11: cmp ecx, -1 je .L6 imul eax, ecx, 1000 ret .p2align 4,,10 .p2align 3 .L6: imul eax, edi, 1000 ret .p2align 4,,10 .p2align 3 .L8: xor eax, eax ret .cfi_endproc .LFE0: .size ve_spc_round_performance, .-ve_spc_round_performance .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_round_performance.c" .text .align 2 .syntax unified .arm .fpu softvfp .type ve_spc_round_performance, %function ve_spc_round_performance: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L14 ldr ip, .L14+4 ldr r2, [r3] push {r4, lr} smull lr, r3, ip, r1 ldr ip, [r2] ldr r2, [r2, #4] ldr r4, [ip, r0, lsl #2] asr ip, r1, #31 cmp r4, #0 ldr r1, [r2, r0, lsl #2] rsb ip, ip, r3, asr #6 ble .L8 mov lr, #0 mvn r0, #0 mov r2, lr sub r1, r1, #4 b .L5 .L13: cmp r0, r3 add r2, r2, #1 movge r0, r3 cmp r4, r2 beq .L12 .L5: ldr r3, [r1, #4]! cmp ip, r3 ble .L13 cmp lr, r3 add r2, r2, #1 movlt lr, r3 cmp r4, r2 bne .L5 .L12: cmn r0, #1 rsbne r3, r0, r0, lsl #5 rsbeq r0, lr, lr, lsl #5 addne r0, r0, r3, lsl #2 addeq r0, lr, r0, lsl #2 lsl r0, r0, #3 pop {r4, pc} .L8: mov r0, #0 pop {r4, pc} .L15: .align 2 .L14: .word info .word 274877907 .size ve_spc_round_performance, .-ve_spc_round_performance .comm info,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_set_performance.c" .intel_syntax noprefix .text .p2align 4 .type ve_spc_set_performance, @function ve_spc_set_performance: .LFB0: .cfi_startproc endbr64 push r13 .cfi_def_cfa_offset 16 .cfi_offset 13, -16 push r12 .cfi_def_cfa_offset 24 .cfi_offset 12, -24 mov r12d, edi push rbp .cfi_def_cfa_offset 32 .cfi_offset 6, -32 mov rbp, rsi push rbx .cfi_def_cfa_offset 40 .cfi_offset 3, -40 sub rsp, 8 .cfi_def_cfa_offset 48 call cluster_is_a15@PLT test rax, rax je .L2 mov r13d, DWORD PTR CA15_DVFS[rip] mov rbx, QWORD PTR PERF_LVL_A15[rip] .L3: mov edi, r12d mov rsi, rbp call ve_spc_find_performance_index@PLT mov r12d, eax test eax, eax js .L1 mov edi, DWORD PTR TIMEOUT_US[rip] call usecs_to_jiffies@PLT mov rdi, QWORD PTR info[rip] mov esi, eax call down_timeout@PLT test rax, rax je .L5 mov r12d, DWORD PTR ETIME[rip] neg r12d .L1: add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 40 mov eax, r12d pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L5: .cfi_restore_state mov rax, QWORD PTR info[rip] lea rdi, 24[rax] call init_completion@PLT mov rbp, QWORD PTR info[rip] mov edi, r13d call RESPONSE_MASK@PLT mov edi, r12d mov QWORD PTR 8[rbp], rax mov rax, QWORD PTR info[rip] add rbx, QWORD PTR 16[rax] mov rsi, rbx call writel@PLT mov edi, r13d call ve_spc_waitforcompletion@PLT mov rdi, QWORD PTR info[rip] mov r12d, eax mov QWORD PTR 8[rdi], 0 call up@PLT add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 40 mov eax, r12d pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state mov r13d, DWORD PTR CA7_DVFS[rip] mov rbx, QWORD PTR PERF_LVL_A7[rip] jmp .L3 .cfi_endproc .LFE0: .size ve_spc_set_performance, .-ve_spc_set_performance .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl TIMEOUT_US .align 4 .type TIMEOUT_US, @object .size TIMEOUT_US, 4 TIMEOUT_US: .zero 4 .globl PERF_LVL_A7 .align 8 .type PERF_LVL_A7, @object .size PERF_LVL_A7, 8 PERF_LVL_A7: .zero 8 .globl PERF_LVL_A15 .align 8 .type PERF_LVL_A15, @object .size PERF_LVL_A15, 8 PERF_LVL_A15: .zero 8 .globl ETIME .align 4 .type ETIME, @object .size ETIME, 4 ETIME: .zero 4 .globl CA7_DVFS .align 4 .type CA7_DVFS, @object .size CA7_DVFS, 4 CA7_DVFS: .zero 4 .globl CA15_DVFS .align 4 .type CA15_DVFS, @object .size CA15_DVFS, 4 CA15_DVFS: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_set_performance.c" .text .align 2 .syntax unified .arm .fpu softvfp .type ve_spc_set_performance, %function ve_spc_set_performance: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} mov r4, r0 mov r5, r1 bl cluster_is_a15 cmp r0, #0 ldrne r2, .L8 ldrne r3, .L8+4 ldreq r2, .L8+8 ldreq r3, .L8+12 mov r0, r4 mov r1, r5 ldr r6, [r2] ldr r7, [r3] bl ve_spc_find_performance_index subs r4, r0, #0 blt .L1 ldr r3, .L8+16 ldr r8, .L8+20 ldr r0, [r3] ldr r5, [r8] bl usecs_to_jiffies mov r1, r0 mov r0, r5 bl down_timeout subs r5, r0, #0 beq .L5 ldr r3, .L8+24 ldr r0, [r3] rsb r4, r0, #0 .L1: mov r0, r4 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L5: ldr r0, [r8] add r0, r0, #12 bl init_completion mov r0, r6 ldr r9, [r8] bl RESPONSE_MASK ldr r3, [r8] str r0, [r9, #4] ldr r1, [r3, #8] mov r0, r4 add r1, r7, r1 bl writel mov r0, r6 bl ve_spc_waitforcompletion mov r4, r0 ldr r3, [r8] mov r0, r3 str r5, [r3, #4] bl up mov r0, r4 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L9: .align 2 .L8: .word CA15_DVFS .word PERF_LVL_A15 .word CA7_DVFS .word PERF_LVL_A7 .word TIMEOUT_US .word info .word ETIME .size ve_spc_set_performance, .-ve_spc_set_performance .comm info,4,4 .comm TIMEOUT_US,4,4 .comm PERF_LVL_A7,4,4 .comm PERF_LVL_A15,4,4 .comm ETIME,4,4 .comm CA7_DVFS,4,4 .comm CA15_DVFS,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_spc.c_ve_spc_waitforcompletion.c" .intel_syntax noprefix .text .p2align 4 .type ve_spc_waitforcompletion, @function ve_spc_waitforcompletion: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ebp, edi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 sub rsp, 8 .cfi_def_cfa_offset 32 mov edi, DWORD PTR TIMEOUT_US[rip] call usecs_to_jiffies@PLT mov esi, eax mov rax, QWORD PTR info[rip] lea rdi, 4[rax] call wait_for_completion_interruptible_timeout@PLT test eax, eax jne .L2 mov eax, DWORD PTR ETIMEDOUT[rip] neg eax .L1: add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state jle .L1 mov rax, QWORD PTR info[rip] mov edi, ebp mov ebx, DWORD PTR [rax] call STAT_COMPLETE@PLT mov r8d, eax xor eax, eax test ebx, r8d jne .L1 mov eax, DWORD PTR EIO[rip] add rsp, 8 .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 neg eax ret .cfi_endproc .LFE0: .size ve_spc_waitforcompletion, .-ve_spc_waitforcompletion .globl info .bss .align 8 .type info, @object .size info, 8 info: .zero 8 .globl TIMEOUT_US .align 4 .type TIMEOUT_US, @object .size TIMEOUT_US, 4 TIMEOUT_US: .zero 4 .globl ETIMEDOUT .align 4 .type ETIMEDOUT, @object .size ETIMEDOUT, 4 ETIMEDOUT: .zero 4 .globl EIO .align 4 .type EIO, @object .size EIO, 4 EIO: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_spc.c_ve_spc_waitforcompletion.c" .text .align 2 .syntax unified .arm .fpu softvfp .type ve_spc_waitforcompletion, %function ve_spc_waitforcompletion: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r2, .L7 push {r4, r5, r6, lr} ldr r6, .L7+4 mov r5, r0 ldr r0, [r2] ldr r4, [r6] bl usecs_to_jiffies add r4, r4, #4 mov r1, r0 mov r0, r4 bl wait_for_completion_interruptible_timeout cmp r0, #0 bne .L2 ldr r3, .L7+8 ldr r0, [r3] rsb r0, r0, #0 pop {r4, r5, r6, pc} .L2: pople {r4, r5, r6, pc} ldr r3, [r6] mov r0, r5 ldr r4, [r3] bl STAT_COMPLETE tst r4, r0 ldreq r3, .L7+12 ldreq r0, [r3] rsbeq r0, r0, #0 movne r0, #0 pop {r4, r5, r6, pc} .L8: .align 2 .L7: .word TIMEOUT_US .word info .word ETIMEDOUT .word EIO .size ve_spc_waitforcompletion, .-ve_spc_waitforcompletion .comm info,4,4 .comm TIMEOUT_US,4,4 .comm ETIMEDOUT,4,4 .comm EIO,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_tc2_pm.c_tc2_core_in_reset.c" .intel_syntax noprefix .text .p2align 4 .type tc2_core_in_reset, @function tc2_core_in_reset: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 test esi, esi je .L2 call RESET_A7_NCORERESET@PLT mov ebx, eax .L3: mov rdi, QWORD PTR RESET_CTRL[rip] add rdi, QWORD PTR scc[rip] call readl_relaxed@PLT test eax, ebx pop rbx .cfi_remember_state .cfi_def_cfa_offset 8 sete al movzx eax, al ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state call RESET_A15_NCORERESET@PLT mov ebx, eax jmp .L3 .cfi_endproc .LFE0: .size tc2_core_in_reset, .-tc2_core_in_reset .globl scc .bss .align 8 .type scc, @object .size scc, 8 scc: .zero 8 .globl RESET_CTRL .align 8 .type RESET_CTRL, @object .size RESET_CTRL, 8 RESET_CTRL: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_tc2_pm.c_tc2_core_in_reset.c" .text .align 2 .syntax unified .arm .fpu softvfp .type tc2_core_in_reset, %function tc2_core_in_reset: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 push {r4, lr} beq .L2 bl RESET_A7_NCORERESET mov r4, r0 .L3: ldr r2, .L6 ldr r3, .L6+4 ldr r0, [r2] ldr r3, [r3] add r0, r0, r3 bl readl_relaxed tst r0, r4 moveq r0, #1 movne r0, #0 pop {r4, pc} .L2: bl RESET_A15_NCORERESET mov r4, r0 b .L3 .L7: .align 2 .L6: .word scc .word RESET_CTRL .size tc2_core_in_reset, .-tc2_core_in_reset .comm scc,4,4 .comm RESET_CTRL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_tc2_pm.c_tc2_pm_cluster_cache_disable.c" .intel_syntax noprefix .text .p2align 4 .type tc2_pm_cluster_cache_disable, @function tc2_pm_cluster_cache_disable: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 xor eax, eax call read_cpuid_part@PLT cmp rax, QWORD PTR ARM_CPU_PART_CORTEX_A15[rip] jne .L2 mov eax, 1024 #APP # 29 "AnghaBench/linux/arch/arm/mach-vexpress/extr_tc2_pm.c_tc2_pm_cluster_cache_disable.c" 1 mcr p15, 1, eax, c15, c0, 3 isb dsb # 0 "" 2 #NO_APP .L2: mov edi, DWORD PTR all[rip] call v7_exit_coherency_flush@PLT xor eax, eax call read_cpuid_mpidr@PLT add rsp, 8 .cfi_def_cfa_offset 8 mov edi, eax jmp cci_disable_port_by_cpu@PLT .cfi_endproc .LFE0: .size tc2_pm_cluster_cache_disable, .-tc2_pm_cluster_cache_disable .globl all .bss .align 4 .type all, @object .size all, 4 all: .zero 4 .globl ARM_CPU_PART_CORTEX_A15 .align 8 .type ARM_CPU_PART_CORTEX_A15, @object .size ARM_CPU_PART_CORTEX_A15, 8 ARM_CPU_PART_CORTEX_A15: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_tc2_pm.c_tc2_pm_cluster_cache_disable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type tc2_pm_cluster_cache_disable, %function tc2_pm_cluster_cache_disable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} bl read_cpuid_part ldr r3, .L5 ldr r3, [r3] cmp r0, r3 bne .L2 mov r3, #1024 .syntax divided @ 29 "AnghaBench/linux/arch/arm/mach-vexpress/extr_tc2_pm.c_tc2_pm_cluster_cache_disable.c" 1 mcr p15, 1, r3, c15, c0, 3 isb dsb @ 0 "" 2 .arm .syntax unified .L2: ldr r3, .L5+4 ldr r0, [r3] bl v7_exit_coherency_flush bl read_cpuid_mpidr pop {r4, lr} b cci_disable_port_by_cpu .L6: .align 2 .L5: .word ARM_CPU_PART_CORTEX_A15 .word all .size tc2_pm_cluster_cache_disable, .-tc2_pm_cluster_cache_disable .comm all,4,4 .comm ARM_CPU_PART_CORTEX_A15,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_tc2_pm.c_tc2_pm_cpu_cache_disable.c" .intel_syntax noprefix .text .p2align 4 .type tc2_pm_cpu_cache_disable, @function tc2_pm_cpu_cache_disable: .LFB0: .cfi_startproc endbr64 mov edi, DWORD PTR louis[rip] jmp v7_exit_coherency_flush@PLT .cfi_endproc .LFE0: .size tc2_pm_cpu_cache_disable, .-tc2_pm_cpu_cache_disable .globl louis .bss .align 4 .type louis, @object .size louis, 4 louis: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_tc2_pm.c_tc2_pm_cpu_cache_disable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type tc2_pm_cpu_cache_disable, %function tc2_pm_cpu_cache_disable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L3 ldr r0, [r3] b v7_exit_coherency_flush .L4: .align 2 .L3: .word louis .size tc2_pm_cpu_cache_disable, .-tc2_pm_cpu_cache_disable .comm louis,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_tc2_pm.c_tc2_pm_cpu_suspend_prepare.c" .intel_syntax noprefix .text .p2align 4 .type tc2_pm_cpu_suspend_prepare, @function tc2_pm_cpu_suspend_prepare: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12d, edi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 mov ebp, esi sub rsp, 8 .cfi_def_cfa_offset 32 mov edi, DWORD PTR mcpm_entry_point[rip] call __pa_symbol@PLT add rsp, 8 .cfi_def_cfa_offset 24 mov esi, r12d mov edi, ebp mov edx, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp ve_spc_set_resume_addr@PLT .cfi_endproc .LFE0: .size tc2_pm_cpu_suspend_prepare, .-tc2_pm_cpu_suspend_prepare .globl mcpm_entry_point .bss .align 4 .type mcpm_entry_point, @object .size mcpm_entry_point, 4 mcpm_entry_point: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_tc2_pm.c_tc2_pm_cpu_suspend_prepare.c" .text .align 2 .syntax unified .arm .fpu softvfp .type tc2_pm_cpu_suspend_prepare, %function tc2_pm_cpu_suspend_prepare: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L4 push {r4, r5, r6, lr} mov r5, r0 ldr r0, [r3] mov r4, r1 bl __pa_symbol mov r1, r5 mov r2, r0 mov r0, r4 pop {r4, r5, r6, lr} b ve_spc_set_resume_addr .L5: .align 2 .L4: .word mcpm_entry_point .size tc2_pm_cpu_suspend_prepare, .-tc2_pm_cpu_suspend_prepare .comm mcpm_entry_point,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_vt8500.c_vt8500_restart.c" .intel_syntax noprefix .text .p2align 4 .type vt8500_restart, @function vt8500_restart: .LFB0: .cfi_startproc endbr64 mov rsi, QWORD PTR pmc_base[rip] test rsi, rsi jne .L4 ret .p2align 4,,10 .p2align 3 .L4: add rsi, QWORD PTR VT8500_PMSR_REG[rip] mov edi, 1 jmp writel@PLT .cfi_endproc .LFE0: .size vt8500_restart, .-vt8500_restart .globl pmc_base .bss .align 8 .type pmc_base, @object .size pmc_base, 8 pmc_base: .zero 8 .globl VT8500_PMSR_REG .align 8 .type VT8500_PMSR_REG, @object .size VT8500_PMSR_REG, 8 VT8500_PMSR_REG: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_vt8500.c_vt8500_restart.c" .text .align 2 .syntax unified .arm .fpu softvfp .type vt8500_restart, %function vt8500_restart: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L4 ldr r3, [r3] cmp r3, #0 bxeq lr ldr r2, .L4+4 mov r0, #1 ldr r1, [r2] add r1, r3, r1 b writel .L5: .align 2 .L4: .word pmc_base .word VT8500_PMSR_REG .size vt8500_restart, .-vt8500_restart .comm pmc_base,4,4 .comm VT8500_PMSR_REG,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_zx296702-pm-domain.c_zx296702_pd_probe.c" .intel_syntax noprefix .text .section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "no memory resource defined\n" .LC1: .string "ioremap fail.\n" .text .p2align 4 .type zx296702_pd_probe, @function zx296702_pd_probe: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov edx, DWORD PTR GFP_KERNEL[rip] mov esi, 16 push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 mov rbp, rdi push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 call devm_kzalloc@PLT test rax, rax je .L12 mov rdi, QWORD PTR zx296702_pm_domains[rip] mov r12, rax mov QWORD PTR 8[rax], rdi call ARRAY_SIZE@PLT mov esi, DWORD PTR IORESOURCE_MEM[rip] xor edx, edx mov rdi, rbp mov DWORD PTR [r12], eax call platform_get_resource@PLT mov rsi, rax test rax, rax je .L13 mov rdi, rbp xor ebx, ebx call devm_ioremap_resource@PLT mov edi, eax mov DWORD PTR pcubase[rip], eax call IS_ERR@PLT test rax, rax je .L5 mov rdi, rbp lea rsi, .LC1[rip] call dev_err@PLT mov eax, DWORD PTR EIO[rip] pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 neg eax ret .p2align 4,,10 .p2align 3 .L6: .cfi_restore_state mov rax, QWORD PTR zx296702_pm_domains[rip] xor edx, edx xor esi, esi mov edi, DWORD PTR [rax+rbx*4] add rbx, 1 call pm_genpd_init@PLT .L5: mov rdi, QWORD PTR zx296702_pm_domains[rip] call ARRAY_SIZE@PLT cmp eax, ebx jg .L6 mov edi, DWORD PTR 0[rbp] mov rsi, r12 call of_genpd_add_provider_onecell@PLT pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L12: .cfi_restore_state mov eax, DWORD PTR ENOMEM[rip] pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 neg eax ret .p2align 4,,10 .p2align 3 .L13: .cfi_restore_state mov rdi, rbp lea rsi, .LC0[rip] call dev_err@PLT mov eax, DWORD PTR ENODEV[rip] pop rbx .cfi_def_cfa_offset 24 pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 neg eax ret .cfi_endproc .LFE0: .size zx296702_pd_probe, .-zx296702_pd_probe .globl zx296702_pm_domains .bss .align 8 .type zx296702_pm_domains, @object .size zx296702_pm_domains, 8 zx296702_pm_domains: .zero 8 .globl pcubase .align 4 .type pcubase, @object .size pcubase, 4 pcubase: .zero 4 .globl IORESOURCE_MEM .align 4 .type IORESOURCE_MEM, @object .size IORESOURCE_MEM, 4 IORESOURCE_MEM: .zero 4 .globl GFP_KERNEL .align 4 .type GFP_KERNEL, @object .size GFP_KERNEL, 4 GFP_KERNEL: .zero 4 .globl ENOMEM .align 4 .type ENOMEM, @object .size ENOMEM, 4 ENOMEM: .zero 4 .globl ENODEV .align 4 .type ENODEV, @object .size ENODEV, 4 ENODEV: .zero 4 .globl EIO .align 4 .type EIO, @object .size EIO, 4 EIO: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_zx296702-pm-domain.c_zx296702_pd_probe.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "no memory resource defined\012\000" .align 2 .LC1: .ascii "ioremap fail.\012\000" .text .align 2 .syntax unified .arm .fpu softvfp .type zx296702_pd_probe, %function zx296702_pd_probe: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L12 push {r4, r5, r6, r7, r8, lr} mov r1, #8 ldr r2, [r3] mov r8, r0 bl devm_kzalloc subs r6, r0, #0 beq .L10 ldr r5, .L12+4 ldr r0, [r5] str r0, [r6, #4] bl ARRAY_SIZE ldr r3, .L12+8 str r0, [r6] ldr r1, [r3] mov r2, #0 mov r0, r8 bl platform_get_resource subs r1, r0, #0 mov r0, r8 beq .L11 bl devm_ioremap_resource ldr r3, .L12+12 str r0, [r3] bl IS_ERR subs r7, r0, #0 moveq r4, r7 beq .L5 mov r0, r8 ldr r1, .L12+16 bl dev_err ldr r3, .L12+20 ldr r7, [r3] rsb r7, r7, #0 mov r0, r7 pop {r4, r5, r6, r7, r8, pc} .L6: mov r2, #0 ldr r3, [r5] mov r1, r2 ldr r0, [r3, r4, lsl #2] bl pm_genpd_init add r4, r4, #1 .L5: ldr r0, [r5] bl ARRAY_SIZE cmp r0, r4 bgt .L6 mov r1, r6 ldr r0, [r8] bl of_genpd_add_provider_onecell mov r0, r7 pop {r4, r5, r6, r7, r8, pc} .L10: ldr r3, .L12+24 ldr r7, [r3] rsb r7, r7, #0 mov r0, r7 pop {r4, r5, r6, r7, r8, pc} .L11: ldr r1, .L12+28 bl dev_err ldr r3, .L12+32 ldr r7, [r3] rsb r7, r7, #0 mov r0, r7 pop {r4, r5, r6, r7, r8, pc} .L13: .align 2 .L12: .word GFP_KERNEL .word zx296702_pm_domains .word IORESOURCE_MEM .word pcubase .word .LC1 .word EIO .word ENOMEM .word .LC0 .word ENODEV .size zx296702_pd_probe, .-zx296702_pd_probe .comm zx296702_pm_domains,4,4 .comm pcubase,4,4 .comm IORESOURCE_MEM,4,4 .comm GFP_KERNEL,4,4 .comm ENOMEM,4,4 .comm ENODEV,4,4 .comm EIO,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_common.h_zynq_core_pm_init.c" .intel_syntax noprefix .text .p2align 4 .type zynq_core_pm_init, @function zynq_core_pm_init: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 #APP # 19 "AnghaBench/linux/arch/arm/mach-zynq/extr_common.h_zynq_core_pm_init.c" 1 mrc p15, 0, r12, c15, c0, 0 orr r12, r12, #1 mcr p15, 0, r12, c15, c0, 0 # 0 "" 2 #NO_APP pop r12 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size zynq_core_pm_init, .-zynq_core_pm_init .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_common.h_zynq_core_pm_init.c" .text .align 2 .syntax unified .arm .fpu softvfp .type zynq_core_pm_init, %function zynq_core_pm_init: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 19 "AnghaBench/linux/arch/arm/mach-zynq/extr_common.h_zynq_core_pm_init.c" 1 mrc p15, 0, r12, c15, c0, 0 orr r12, r12, #1 mcr p15, 0, r12, c15, c0, 0 @ 0 "" 2 .arm .syntax unified bx lr .size zynq_core_pm_init, .-zynq_core_pm_init .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_platsmp.c_zynq_boot_secondary.c" .intel_syntax noprefix .text .p2align 4 .type zynq_boot_secondary, @function zynq_boot_secondary: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ebp, edi mov edi, DWORD PTR secondary_startup_arm[rip] call __pa_symbol@PLT mov esi, ebp pop rbp .cfi_def_cfa_offset 8 mov edi, eax jmp zynq_cpun_start@PLT .cfi_endproc .LFE0: .size zynq_boot_secondary, .-zynq_boot_secondary .globl secondary_startup_arm .bss .align 4 .type secondary_startup_arm, @object .size secondary_startup_arm, 4 secondary_startup_arm: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_platsmp.c_zynq_boot_secondary.c" .text .align 2 .syntax unified .arm .fpu softvfp .type zynq_boot_secondary, %function zynq_boot_secondary: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} mov r4, r0 ldr r3, .L4 ldr r0, [r3] bl __pa_symbol mov r1, r4 pop {r4, lr} b zynq_cpun_start .L5: .align 2 .L4: .word secondary_startup_arm .size zynq_boot_secondary, .-zynq_boot_secondary .comm secondary_startup_arm,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_cpu_start.c" .intel_syntax noprefix .text .p2align 4 .globl zynq_slcr_cpu_start .type zynq_slcr_cpu_start, @function zynq_slcr_cpu_start: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12d, edi sub rsp, 16 .cfi_def_cfa_offset 32 mov esi, DWORD PTR SLCR_A9_CPU_RST_CTRL_OFFSET[rip] mov rax, QWORD PTR fs:40 mov QWORD PTR 8[rsp], rax xor eax, eax lea rdi, 4[rsp] call zynq_slcr_read@PLT mov edi, DWORD PTR SLCR_A9_CPU_RST[rip] mov ecx, r12d mov esi, DWORD PTR SLCR_A9_CPU_RST_CTRL_OFFSET[rip] sal edi, cl not edi and edi, DWORD PTR 4[rsp] mov DWORD PTR 4[rsp], edi call zynq_slcr_write@PLT mov edi, DWORD PTR SLCR_A9_CPU_CLKSTOP[rip] mov ecx, r12d mov esi, DWORD PTR SLCR_A9_CPU_RST_CTRL_OFFSET[rip] sal edi, cl not edi and edi, DWORD PTR 4[rsp] mov DWORD PTR 4[rsp], edi call zynq_slcr_write@PLT xor esi, esi mov edi, r12d call zynq_slcr_cpu_state_write@PLT mov rax, QWORD PTR 8[rsp] sub rax, QWORD PTR fs:40 jne .L5 add rsp, 16 .cfi_remember_state .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .L5: .cfi_restore_state call __stack_chk_fail@PLT .cfi_endproc .LFE0: .size zynq_slcr_cpu_start, .-zynq_slcr_cpu_start .globl SLCR_A9_CPU_RST_CTRL_OFFSET .bss .align 4 .type SLCR_A9_CPU_RST_CTRL_OFFSET, @object .size SLCR_A9_CPU_RST_CTRL_OFFSET, 4 SLCR_A9_CPU_RST_CTRL_OFFSET: .zero 4 .globl SLCR_A9_CPU_RST .align 4 .type SLCR_A9_CPU_RST, @object .size SLCR_A9_CPU_RST, 4 SLCR_A9_CPU_RST: .zero 4 .globl SLCR_A9_CPU_CLKSTOP .align 4 .type SLCR_A9_CPU_CLKSTOP, @object .size SLCR_A9_CPU_CLKSTOP, 4 SLCR_A9_CPU_CLKSTOP: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_cpu_start.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global zynq_slcr_cpu_start .syntax unified .arm .fpu softvfp .type zynq_slcr_cpu_start, %function zynq_slcr_cpu_start: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, lr} mov r4, r0 ldr r5, .L6 sub sp, sp, #12 ldr r3, .L6+4 ldr r1, [r5] mov r0, sp ldr r3, [r3] str r3, [sp, #4] mov r3,#0 bl zynq_slcr_read ldr r3, .L6+8 ldr r0, [sp] ldr r3, [r3] ldr r1, [r5] bic r0, r0, r3, lsl r4 str r0, [sp] bl zynq_slcr_write ldr r3, .L6+12 ldr r0, [sp] ldr r3, [r3] ldr r1, [r5] bic r0, r0, r3, lsl r4 str r0, [sp] bl zynq_slcr_write mov r0, r4 mov r1, #0 bl zynq_slcr_cpu_state_write ldr r3, .L6+4 ldr r2, [r3] ldr r3, [sp, #4] eors r2, r3, r2 mov r3, #0 bne .L5 add sp, sp, #12 @ sp needed pop {r4, r5, pc} .L5: bl __stack_chk_fail .L7: .align 2 .L6: .word SLCR_A9_CPU_RST_CTRL_OFFSET .word .LC0 .word SLCR_A9_CPU_RST .word SLCR_A9_CPU_CLKSTOP .size zynq_slcr_cpu_start, .-zynq_slcr_cpu_start .comm SLCR_A9_CPU_RST_CTRL_OFFSET,4,4 .comm SLCR_A9_CPU_RST,4,4 .comm SLCR_A9_CPU_CLKSTOP,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_cpu_state_read.c" .intel_syntax noprefix .text .p2align 4 .globl zynq_slcr_cpu_state_read .type zynq_slcr_cpu_state_read, @function zynq_slcr_cpu_state_read: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 mov ebx, edi mov rdi, QWORD PTR SLCR_REBOOT_STATUS_OFFSET[rip] add rdi, QWORD PTR zynq_slcr_base[rip] call readl@PLT mov ecx, ebx pop rbx .cfi_def_cfa_offset 8 mov r8d, eax mov eax, -2147483648 shr eax, cl test eax, r8d sete al movzx eax, al ret .cfi_endproc .LFE0: .size zynq_slcr_cpu_state_read, .-zynq_slcr_cpu_state_read .globl zynq_slcr_base .bss .align 8 .type zynq_slcr_base, @object .size zynq_slcr_base, 8 zynq_slcr_base: .zero 8 .globl SLCR_REBOOT_STATUS_OFFSET .align 8 .type SLCR_REBOOT_STATUS_OFFSET, @object .size SLCR_REBOOT_STATUS_OFFSET, 8 SLCR_REBOOT_STATUS_OFFSET: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_cpu_state_read.c" .text .align 2 .global zynq_slcr_cpu_state_read .syntax unified .arm .fpu softvfp .type zynq_slcr_cpu_state_read, %function zynq_slcr_cpu_state_read: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r2, .L4 ldr r3, .L4+4 ldr r2, [r2] ldr r3, [r3] push {r4, lr} mov r4, r0 add r0, r2, r3 bl readl mov r3, #-2147483648 ands r3, r0, r3, lsr r4 moveq r0, #1 movne r0, #0 pop {r4, pc} .L5: .align 2 .L4: .word zynq_slcr_base .word SLCR_REBOOT_STATUS_OFFSET .size zynq_slcr_cpu_state_read, .-zynq_slcr_cpu_state_read .comm zynq_slcr_base,4,4 .comm SLCR_REBOOT_STATUS_OFFSET,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_cpu_state_write.c" .intel_syntax noprefix .text .p2align 4 .globl zynq_slcr_cpu_state_write .type zynq_slcr_cpu_state_write, @function zynq_slcr_cpu_state_write: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ebp, edi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov ebx, esi sub rsp, 8 .cfi_def_cfa_offset 32 mov rdi, QWORD PTR SLCR_REBOOT_STATUS_OFFSET[rip] add rdi, QWORD PTR zynq_slcr_base[rip] call readl@PLT mov ecx, ebp mov edi, -2147483648 mov rsi, QWORD PTR SLCR_REBOOT_STATUS_OFFSET[rip] shr edi, cl mov edx, eax or edx, edi not edi and edi, eax test ebx, ebx cmovne edi, edx add rsi, QWORD PTR zynq_slcr_base[rip] add rsp, 8 .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 jmp writel@PLT .cfi_endproc .LFE0: .size zynq_slcr_cpu_state_write, .-zynq_slcr_cpu_state_write .globl zynq_slcr_base .bss .align 8 .type zynq_slcr_base, @object .size zynq_slcr_base, 8 zynq_slcr_base: .zero 8 .globl SLCR_REBOOT_STATUS_OFFSET .align 8 .type SLCR_REBOOT_STATUS_OFFSET, @object .size SLCR_REBOOT_STATUS_OFFSET, 8 SLCR_REBOOT_STATUS_OFFSET: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_cpu_state_write.c" .text .align 2 .global zynq_slcr_cpu_state_write .syntax unified .arm .fpu softvfp .type zynq_slcr_cpu_state_write, %function zynq_slcr_cpu_state_write: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldr r7, .L6 ldr r6, .L6+4 mov r4, r0 ldr r2, [r6] ldr r0, [r7] mov r5, r1 add r0, r0, r2 bl readl mov r3, #-2147483648 cmp r5, #0 lsr r3, r3, r4 ldr r1, [r7] orrne r0, r0, r3 biceq r0, r0, r3 ldr r3, [r6] pop {r4, r5, r6, r7, r8, lr} add r1, r1, r3 b writel .L7: .align 2 .L6: .word zynq_slcr_base .word SLCR_REBOOT_STATUS_OFFSET .size zynq_slcr_cpu_state_write, .-zynq_slcr_cpu_state_write .comm zynq_slcr_base,4,4 .comm SLCR_REBOOT_STATUS_OFFSET,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_cpu_stop.c" .intel_syntax noprefix .text .p2align 4 .globl zynq_slcr_cpu_stop .type zynq_slcr_cpu_stop, @function zynq_slcr_cpu_stop: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 mov ebx, edi sub rsp, 16 .cfi_def_cfa_offset 32 mov esi, DWORD PTR SLCR_A9_CPU_RST_CTRL_OFFSET[rip] mov rax, QWORD PTR fs:40 mov QWORD PTR 8[rsp], rax xor eax, eax lea rdi, 4[rsp] call zynq_slcr_read@PLT mov edi, DWORD PTR SLCR_A9_CPU_CLKSTOP[rip] mov ecx, ebx or edi, DWORD PTR SLCR_A9_CPU_RST[rip] mov esi, DWORD PTR SLCR_A9_CPU_RST_CTRL_OFFSET[rip] sal edi, cl or edi, DWORD PTR 4[rsp] mov DWORD PTR 4[rsp], edi call zynq_slcr_write@PLT mov rax, QWORD PTR 8[rsp] sub rax, QWORD PTR fs:40 jne .L5 add rsp, 16 .cfi_remember_state .cfi_def_cfa_offset 16 pop rbx .cfi_def_cfa_offset 8 ret .L5: .cfi_restore_state call __stack_chk_fail@PLT .cfi_endproc .LFE0: .size zynq_slcr_cpu_stop, .-zynq_slcr_cpu_stop .globl SLCR_A9_CPU_RST_CTRL_OFFSET .bss .align 4 .type SLCR_A9_CPU_RST_CTRL_OFFSET, @object .size SLCR_A9_CPU_RST_CTRL_OFFSET, 4 SLCR_A9_CPU_RST_CTRL_OFFSET: .zero 4 .globl SLCR_A9_CPU_RST .align 4 .type SLCR_A9_CPU_RST, @object .size SLCR_A9_CPU_RST, 4 SLCR_A9_CPU_RST: .zero 4 .globl SLCR_A9_CPU_CLKSTOP .align 4 .type SLCR_A9_CPU_CLKSTOP, @object .size SLCR_A9_CPU_CLKSTOP, 4 SLCR_A9_CPU_CLKSTOP: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_cpu_stop.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global zynq_slcr_cpu_stop .syntax unified .arm .fpu softvfp .type zynq_slcr_cpu_stop, %function zynq_slcr_cpu_stop: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, lr} mov r4, r0 ldr r5, .L6 sub sp, sp, #12 ldr r3, .L6+4 ldr r1, [r5] mov r0, sp ldr r3, [r3] str r3, [sp, #4] mov r3,#0 bl zynq_slcr_read ldr r2, .L6+8 ldr r3, .L6+12 ldr r0, [r2] ldr r2, [r3] ldr r3, [sp] orr r0, r0, r2 orr r0, r3, r0, lsl r4 ldr r1, [r5] str r0, [sp] bl zynq_slcr_write ldr r3, .L6+4 ldr r2, [r3] ldr r3, [sp, #4] eors r2, r3, r2 mov r3, #0 bne .L5 add sp, sp, #12 @ sp needed pop {r4, r5, pc} .L5: bl __stack_chk_fail .L7: .align 2 .L6: .word SLCR_A9_CPU_RST_CTRL_OFFSET .word .LC0 .word SLCR_A9_CPU_CLKSTOP .word SLCR_A9_CPU_RST .size zynq_slcr_cpu_stop, .-zynq_slcr_cpu_stop .comm SLCR_A9_CPU_RST_CTRL_OFFSET,4,4 .comm SLCR_A9_CPU_RST,4,4 .comm SLCR_A9_CPU_CLKSTOP,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_get_device_id.c" .intel_syntax noprefix .text .p2align 4 .globl zynq_slcr_get_device_id .type zynq_slcr_get_device_id, @function zynq_slcr_get_device_id: .LFB0: .cfi_startproc endbr64 sub rsp, 24 .cfi_def_cfa_offset 32 mov esi, DWORD PTR SLCR_PSS_IDCODE[rip] mov rax, QWORD PTR fs:40 mov QWORD PTR 8[rsp], rax xor eax, eax lea rdi, 4[rsp] call zynq_slcr_read@PLT mov ecx, DWORD PTR SLCR_PSS_IDCODE_DEVICE_SHIFT[rip] mov eax, DWORD PTR 4[rsp] sar eax, cl and eax, DWORD PTR SLCR_PSS_IDCODE_DEVICE_MASK[rip] mov rdx, QWORD PTR 8[rsp] sub rdx, QWORD PTR fs:40 jne .L5 add rsp, 24 .cfi_remember_state .cfi_def_cfa_offset 8 ret .L5: .cfi_restore_state call __stack_chk_fail@PLT .cfi_endproc .LFE0: .size zynq_slcr_get_device_id, .-zynq_slcr_get_device_id .globl SLCR_PSS_IDCODE_DEVICE_SHIFT .bss .align 4 .type SLCR_PSS_IDCODE_DEVICE_SHIFT, @object .size SLCR_PSS_IDCODE_DEVICE_SHIFT, 4 SLCR_PSS_IDCODE_DEVICE_SHIFT: .zero 4 .globl SLCR_PSS_IDCODE_DEVICE_MASK .align 4 .type SLCR_PSS_IDCODE_DEVICE_MASK, @object .size SLCR_PSS_IDCODE_DEVICE_MASK, 4 SLCR_PSS_IDCODE_DEVICE_MASK: .zero 4 .globl SLCR_PSS_IDCODE .align 4 .type SLCR_PSS_IDCODE, @object .size SLCR_PSS_IDCODE, 4 SLCR_PSS_IDCODE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_get_device_id.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global zynq_slcr_get_device_id .syntax unified .arm .fpu softvfp .type zynq_slcr_get_device_id, %function zynq_slcr_get_device_id: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 0, uses_anonymous_args = 0 str lr, [sp, #-4]! ldr r3, .L6 sub sp, sp, #12 ldr r1, [r3] ldr r3, .L6+4 mov r0, sp ldr r3, [r3] str r3, [sp, #4] mov r3,#0 bl zynq_slcr_read ldr r2, .L6+8 ldr r3, .L6+12 ldr r0, [r2] ldr r3, [r3] ldr r2, [sp] and r0, r3, r2, asr r0 ldr r3, .L6+4 ldr r2, [r3] ldr r3, [sp, #4] eors r2, r3, r2 mov r3, #0 bne .L5 add sp, sp, #12 @ sp needed ldr pc, [sp], #4 .L5: bl __stack_chk_fail .L7: .align 2 .L6: .word SLCR_PSS_IDCODE .word .LC0 .word SLCR_PSS_IDCODE_DEVICE_SHIFT .word SLCR_PSS_IDCODE_DEVICE_MASK .size zynq_slcr_get_device_id, .-zynq_slcr_get_device_id .comm SLCR_PSS_IDCODE_DEVICE_SHIFT,4,4 .comm SLCR_PSS_IDCODE_DEVICE_MASK,4,4 .comm SLCR_PSS_IDCODE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_read.c" .intel_syntax noprefix .text .p2align 4 .type zynq_slcr_read, @function zynq_slcr_read: .LFB0: .cfi_startproc endbr64 mov rdx, rdi mov edi, DWORD PTR zynq_slcr_regmap[rip] jmp regmap_read@PLT .cfi_endproc .LFE0: .size zynq_slcr_read, .-zynq_slcr_read .globl zynq_slcr_regmap .bss .align 4 .type zynq_slcr_regmap, @object .size zynq_slcr_regmap, 4 zynq_slcr_regmap: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_read.c" .text .align 2 .syntax unified .arm .fpu softvfp .type zynq_slcr_read, %function zynq_slcr_read: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L3 mov r2, r0 ldr r0, [r3] b regmap_read .L4: .align 2 .L3: .word zynq_slcr_regmap .size zynq_slcr_read, .-zynq_slcr_read .comm zynq_slcr_regmap,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_system_restart.c" .intel_syntax noprefix .text .p2align 4 .type zynq_slcr_system_restart, @function zynq_slcr_system_restart: .LFB0: .cfi_startproc endbr64 sub rsp, 24 .cfi_def_cfa_offset 32 mov esi, DWORD PTR SLCR_REBOOT_STATUS_OFFSET[rip] mov rax, QWORD PTR fs:40 mov QWORD PTR 8[rsp], rax xor eax, eax lea rdi, 4[rsp] call zynq_slcr_read@PLT mov edi, DWORD PTR 4[rsp] mov esi, DWORD PTR SLCR_REBOOT_STATUS_OFFSET[rip] and edi, -251658241 call zynq_slcr_write@PLT mov esi, DWORD PTR SLCR_PS_RST_CTRL_OFFSET[rip] mov edi, 1 call zynq_slcr_write@PLT mov rax, QWORD PTR 8[rsp] sub rax, QWORD PTR fs:40 jne .L5 xor eax, eax add rsp, 24 .cfi_remember_state .cfi_def_cfa_offset 8 ret .L5: .cfi_restore_state call __stack_chk_fail@PLT .cfi_endproc .LFE0: .size zynq_slcr_system_restart, .-zynq_slcr_system_restart .globl SLCR_REBOOT_STATUS_OFFSET .bss .align 4 .type SLCR_REBOOT_STATUS_OFFSET, @object .size SLCR_REBOOT_STATUS_OFFSET, 4 SLCR_REBOOT_STATUS_OFFSET: .zero 4 .globl SLCR_PS_RST_CTRL_OFFSET .align 4 .type SLCR_PS_RST_CTRL_OFFSET, @object .size SLCR_PS_RST_CTRL_OFFSET, 4 SLCR_PS_RST_CTRL_OFFSET: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_system_restart.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .syntax unified .arm .fpu softvfp .type zynq_slcr_system_restart, %function zynq_slcr_system_restart: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} ldr r4, .L6 sub sp, sp, #8 ldr r3, .L6+4 ldr r1, [r4] mov r0, sp ldr r3, [r3] str r3, [sp, #4] mov r3,#0 bl zynq_slcr_read ldr r0, [sp] ldr r1, [r4] bic r0, r0, #251658240 bl zynq_slcr_write ldr r3, .L6+8 mov r0, #1 ldr r1, [r3] bl zynq_slcr_write ldr r3, .L6+4 ldr r2, [r3] ldr r3, [sp, #4] eors r2, r3, r2 mov r3, #0 bne .L5 mov r0, #0 add sp, sp, #8 @ sp needed pop {r4, pc} .L5: bl __stack_chk_fail .L7: .align 2 .L6: .word SLCR_REBOOT_STATUS_OFFSET .word .LC0 .word SLCR_PS_RST_CTRL_OFFSET .size zynq_slcr_system_restart, .-zynq_slcr_system_restart .comm SLCR_REBOOT_STATUS_OFFSET,4,4 .comm SLCR_PS_RST_CTRL_OFFSET,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_unlock.c" .intel_syntax noprefix .text .p2align 4 .type zynq_slcr_unlock, @function zynq_slcr_unlock: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov esi, DWORD PTR SLCR_UNLOCK_OFFSET[rip] mov edi, DWORD PTR SLCR_UNLOCK_MAGIC[rip] call zynq_slcr_write@PLT xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size zynq_slcr_unlock, .-zynq_slcr_unlock .globl SLCR_UNLOCK_OFFSET .bss .align 4 .type SLCR_UNLOCK_OFFSET, @object .size SLCR_UNLOCK_OFFSET, 4 SLCR_UNLOCK_OFFSET: .zero 4 .globl SLCR_UNLOCK_MAGIC .align 4 .type SLCR_UNLOCK_MAGIC, @object .size SLCR_UNLOCK_MAGIC, 4 SLCR_UNLOCK_MAGIC: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_unlock.c" .text .align 2 .syntax unified .arm .fpu softvfp .type zynq_slcr_unlock, %function zynq_slcr_unlock: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r2, .L4 ldr r3, .L4+4 push {r4, lr} ldr r1, [r2] ldr r0, [r3] bl zynq_slcr_write mov r0, #0 pop {r4, pc} .L5: .align 2 .L4: .word SLCR_UNLOCK_OFFSET .word SLCR_UNLOCK_MAGIC .size zynq_slcr_unlock, .-zynq_slcr_unlock .comm SLCR_UNLOCK_OFFSET,4,4 .comm SLCR_UNLOCK_MAGIC,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_slcr.c_zynq_slcr_write.c" .intel_syntax noprefix .text .p2align 4 .type zynq_slcr_write, @function zynq_slcr_write: .LFB0: .cfi_startproc endbr64 mov edx, edi mov edi, DWORD PTR zynq_slcr_regmap[rip] jmp regmap_write@PLT .cfi_endproc .LFE0: .size zynq_slcr_write, .-zynq_slcr_write .globl zynq_slcr_regmap .bss .align 4 .type zynq_slcr_regmap, @object .size zynq_slcr_regmap, 4 zynq_slcr_regmap: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_slcr.c_zynq_slcr_write.c" .text .align 2 .syntax unified .arm .fpu softvfp .type zynq_slcr_write, %function zynq_slcr_write: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L3 mov r2, r0 ldr r0, [r3] b regmap_write .L4: .align 2 .L3: .word zynq_slcr_regmap .size zynq_slcr_write, .-zynq_slcr_write .comm zynq_slcr_regmap,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_alignment_get_arm.c" .intel_syntax noprefix .text .p2align 4 .type alignment_get_arm, @function alignment_get_arm: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12, rsi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov rbx, rdx sub rsp, 8 .cfi_def_cfa_offset 32 call user_mode@PLT test rax, rax je .L2 mov rsi, r12 xor edi, edi call get_user@PLT mov r12d, eax .L3: xor edi, edi call __mem_to_opcode_arm@PLT mov DWORD PTR [rbx], eax add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 mov eax, r12d pop rbx .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state mov rdi, r12 xor esi, esi call probe_kernel_address@PLT mov r12d, eax jmp .L3 .cfi_endproc .LFE0: .size alignment_get_arm, .-alignment_get_arm .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_alignment_get_arm.c" .text .align 2 .syntax unified .arm .fpu softvfp .type alignment_get_arm, %function alignment_get_arm: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r5, r1 mov r4, r2 bl user_mode subs r1, r0, #0 beq .L2 mov r1, r5 mov r0, #0 bl get_user mov r5, r0 .L3: mov r0, #0 bl __mem_to_opcode_arm mov r3, r0 mov r0, r5 str r3, [r4] pop {r4, r5, r6, pc} .L2: mov r0, r5 bl probe_kernel_address mov r5, r0 b .L3 .size alignment_get_arm, .-alignment_get_arm .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_alignment_get_thumb.c" .intel_syntax noprefix .text .p2align 4 .type alignment_get_thumb, @function alignment_get_thumb: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12, rsi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov rbx, rdx sub rsp, 8 .cfi_def_cfa_offset 32 call user_mode@PLT test rax, rax je .L2 mov rsi, r12 xor edi, edi call get_user@PLT mov r12d, eax .L3: xor edi, edi call __mem_to_opcode_thumb16@PLT mov DWORD PTR [rbx], eax add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 mov eax, r12d pop rbx .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state mov rdi, r12 xor esi, esi call probe_kernel_address@PLT mov r12d, eax jmp .L3 .cfi_endproc .LFE0: .size alignment_get_thumb, .-alignment_get_thumb .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_alignment_get_thumb.c" .text .align 2 .syntax unified .arm .fpu softvfp .type alignment_get_thumb, %function alignment_get_thumb: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r5, r1 mov r4, r2 bl user_mode subs r1, r0, #0 beq .L2 mov r1, r5 mov r0, #0 bl get_user mov r5, r0 .L3: mov r0, #0 bl __mem_to_opcode_thumb16 mov r3, r0 mov r0, r5 str r3, [r4] pop {r4, r5, r6, pc} .L2: mov r0, r5 bl probe_kernel_address mov r5, r0 b .L3 .size alignment_get_thumb, .-alignment_get_thumb .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_cpu_is_v6_unaligned.c" .intel_syntax noprefix .text .p2align 4 .type cpu_is_v6_unaligned, @function cpu_is_v6_unaligned: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 xor eax, eax call cpu_architecture@PLT mov r8, rax xor eax, eax cmp r8, QWORD PTR CPU_ARCH_ARMv6[rip] jge .L6 add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L6: .cfi_restore_state call get_cr@PLT and eax, DWORD PTR CR_U[rip] setne al add rsp, 8 .cfi_def_cfa_offset 8 movzx eax, al ret .cfi_endproc .LFE0: .size cpu_is_v6_unaligned, .-cpu_is_v6_unaligned .globl CR_U .bss .align 4 .type CR_U, @object .size CR_U, 4 CR_U: .zero 4 .globl CPU_ARCH_ARMv6 .align 8 .type CPU_ARCH_ARMv6, @object .size CPU_ARCH_ARMv6, 8 CPU_ARCH_ARMv6: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_cpu_is_v6_unaligned.c" .text .align 2 .syntax unified .arm .fpu softvfp .type cpu_is_v6_unaligned, %function cpu_is_v6_unaligned: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} bl cpu_architecture ldr r3, .L7 ldr r3, [r3] cmp r0, r3 bge .L6 mov r0, #0 pop {r4, pc} .L6: bl get_cr ldr r3, .L7+4 ldr r3, [r3] tst r0, r3 movne r0, #1 moveq r0, #0 pop {r4, pc} .L8: .align 2 .L7: .word CPU_ARCH_ARMv6 .word CR_U .size cpu_is_v6_unaligned, .-cpu_is_v6_unaligned .comm CR_U,4,4 .comm CPU_ARCH_ARMv6,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_do_alignment_finish_ldst.c" .intel_syntax noprefix .text .p2align 4 .type do_alignment_finish_ldst, @function do_alignment_finish_ldst: .LFB0: .cfi_startproc endbr64 push r13 .cfi_def_cfa_offset 16 .cfi_offset 13, -16 mov r13, rdx push r12 .cfi_def_cfa_offset 24 .cfi_offset 12, -24 mov r12, rdi mov edi, esi push rbp .cfi_def_cfa_offset 32 .cfi_offset 6, -32 mov ebp, esi push rbx .cfi_def_cfa_offset 40 .cfi_offset 3, -40 mov rbx, rcx sub rsp, 8 .cfi_def_cfa_offset 48 call LDST_U_BIT@PLT mov edi, ebp mov r8d, eax mov rax, rbx neg rax test r8d, r8d cmove rbx, rax call LDST_P_BIT@PLT mov edi, ebp add rbx, r12 test eax, eax cmove r12, rbx call LDST_P_BIT@PLT test eax, eax je .L6 mov edi, ebp call LDST_W_BIT@PLT test rax, rax je .L1 .L6: mov rbx, QWORD PTR 0[r13] mov edi, ebp call RN_BITS@PLT mov QWORD PTR [rbx+rax*8], r12 .L1: add rsp, 8 .cfi_def_cfa_offset 40 pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size do_alignment_finish_ldst, .-do_alignment_finish_ldst .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_do_alignment_finish_ldst.c" .text .align 2 .syntax unified .arm .fpu softvfp .type do_alignment_finish_ldst, %function do_alignment_finish_ldst: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r5, r0 mov r0, r1 mov r4, r1 mov r6, r3 mov r7, r2 bl LDST_U_BIT cmp r0, #0 mov r0, r4 rsbeq r6, r6, #0 bl LDST_P_BIT cmp r0, #0 mov r0, r4 addeq r5, r5, r6 bl LDST_P_BIT cmp r0, #0 beq .L6 mov r0, r4 bl LDST_W_BIT cmp r0, #0 popeq {r4, r5, r6, r7, r8, pc} .L6: mov r0, r4 ldr r4, [r7] bl RN_BITS str r5, [r4, r0, lsl #2] pop {r4, r5, r6, r7, r8, pc} .size do_alignment_finish_ldst, .-do_alignment_finish_ldst .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_do_alignment_ldmstm.c" .intel_syntax noprefix .text .section .rodata.str1.8,"aMS",@progbits,1 .align 8 .LC0: .string "Alignment trap: not handling ldm with s-bit set\n" .align 8 .LC1: .string "LDMSTM: PC = %08lx, instr = %08x, addr = %08lx, eaddr = %08lx\n" .text .p2align 4 .type do_alignment_ldmstm, @function do_alignment_ldmstm: .LFB0: .cfi_startproc endbr64 push r15 .cfi_def_cfa_offset 16 .cfi_offset 15, -16 push r14 .cfi_def_cfa_offset 24 .cfi_offset 14, -24 push r13 .cfi_def_cfa_offset 32 .cfi_offset 13, -32 mov r13, rdx push r12 .cfi_def_cfa_offset 40 .cfi_offset 12, -40 push rbp .cfi_def_cfa_offset 48 .cfi_offset 6, -48 mov ebp, esi push rbx .cfi_def_cfa_offset 56 .cfi_offset 3, -56 mov rbx, rdi mov edi, esi sub rsp, 40 .cfi_def_cfa_offset 96 call LDM_S_BIT@PLT test rax, rax jne .L46 add DWORD PTR 0[r13], 4 mov edi, ebp add DWORD PTR ai_multi[rip], 1 call REGMASK_BITS@PLT mov edi, eax call hweight16@PLT mov edi, ebp lea r14d, 0[0+rax*4] call RN_BITS@PLT mov edi, ebp mov r15d, eax mov rax, QWORD PTR 8[r13] mov r12, QWORD PTR [rax+r15*8] call LDST_U_BIT@PLT mov edi, ebp mov r8d, eax mov eax, r14d neg eax test r8d, r8d cmove r14, rax lea rax, [r14+r12] mov r14, rax mov QWORD PTR 8[rsp], rax call LDST_U_BIT@PLT mov edi, ebp test eax, eax cmove r12, r14 call LDST_P_EQ_U@PLT mov r8, rax lea rax, 4[r12] test r8, r8 cmovne r12, rax cmp r12, rbx jne .L47 mov rdi, r13 call user_mode@PLT test rax, rax je .L8 .L48: xor eax, eax xor r14d, r14d call uaccess_save_and_enable@PLT mov edi, ebp mov DWORD PTR 28[rsp], eax call REGMASK_BITS@PLT mov ebx, eax test eax, eax jne .L9 jmp .L14 .p2align 4,,10 .p2align 3 .L11: add r14d, 1 shr ebx je .L14 .L9: test bl, 1 je .L11 mov edi, ebp call LDST_L_BIT@PLT mov r8d, r14d test rax, rax je .L12 mov rsi, r12 xor edi, edi mov QWORD PTR 16[rsp], r8 call get32t_unaligned_check@PLT mov rax, QWORD PTR 8[r13] mov r8, QWORD PTR 16[rsp] xor ecx, ecx mov QWORD PTR [rax+r8*8], rcx .L13: add r12, 4 add r14d, 1 shr ebx jne .L9 .L14: mov edi, DWORD PTR 28[rsp] call uaccess_restore@PLT .L10: mov edi, ebp call LDST_W_BIT@PLT test rax, rax je .L20 mov rax, QWORD PTR 8[r13] mov rcx, QWORD PTR 8[rsp] mov QWORD PTR [rax+r15*8], rcx .L20: mov edi, ebp call LDST_L_BIT@PLT test rax, rax jne .L21 .L23: sub DWORD PTR 0[r13], 4 .L22: mov eax, DWORD PTR TYPE_DONE[rip] add rsp, 40 .cfi_remember_state .cfi_def_cfa_offset 56 pop rbx .cfi_def_cfa_offset 48 pop rbp .cfi_def_cfa_offset 40 pop r12 .cfi_def_cfa_offset 32 pop r13 .cfi_def_cfa_offset 24 pop r14 .cfi_def_cfa_offset 16 pop r15 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L8: .cfi_restore_state mov edi, ebp xor r14d, r14d call REGMASK_BITS@PLT mov ebx, eax test eax, eax jne .L15 jmp .L10 .p2align 4,,10 .p2align 3 .L16: add r14d, 1 shr ebx je .L10 .L15: test bl, 1 je .L16 mov edi, ebp call LDST_L_BIT@PLT mov ecx, r14d test rax, rax je .L17 mov rsi, r12 xor edi, edi mov QWORD PTR 16[rsp], rcx call get32_unaligned_check@PLT mov rax, QWORD PTR 8[r13] mov rcx, QWORD PTR 16[rsp] xor edx, edx mov QWORD PTR [rax+rcx*8], rdx .L18: add r12, 4 jmp .L16 .p2align 4,,10 .p2align 3 .L47: mov rdi, r13 call instruction_pointer@PLT mov r8, r12 mov rcx, rbx mov edx, ebp mov esi, eax lea rdi, .LC1[rip] xor eax, eax call pr_err@PLT mov rdi, r13 call show_regs@PLT mov rdi, r13 call user_mode@PLT test rax, rax je .L8 jmp .L48 .p2align 4,,10 .p2align 3 .L17: mov rax, QWORD PTR 8[r13] mov rsi, r12 mov rdi, QWORD PTR [rax+rcx*8] call put32_unaligned_check@PLT jmp .L18 .p2align 4,,10 .p2align 3 .L12: mov rax, QWORD PTR 8[r13] mov rsi, r12 mov rdi, QWORD PTR [rax+r8*8] call put32t_unaligned_check@PLT jmp .L13 .p2align 4,,10 .p2align 3 .L46: lea rdi, .LC0[rip] xor eax, eax call pr_err@PLT mov eax, DWORD PTR TYPE_ERROR[rip] add rsp, 40 .cfi_remember_state .cfi_def_cfa_offset 56 pop rbx .cfi_def_cfa_offset 48 pop rbp .cfi_def_cfa_offset 40 pop r12 .cfi_def_cfa_offset 32 pop r13 .cfi_def_cfa_offset 24 pop r14 .cfi_def_cfa_offset 16 pop r15 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L21: .cfi_restore_state mov edi, ebp call REGMASK_BITS@PLT test ah, -128 je .L23 jmp .L22 .cfi_endproc .LFE0: .size do_alignment_ldmstm, .-do_alignment_ldmstm .globl ai_multi .bss .align 4 .type ai_multi, @object .size ai_multi, 4 ai_multi: .zero 4 .globl TYPE_FAULT .align 4 .type TYPE_FAULT, @object .size TYPE_FAULT, 4 TYPE_FAULT: .zero 4 .globl TYPE_ERROR .align 4 .type TYPE_ERROR, @object .size TYPE_ERROR, 4 TYPE_ERROR: .zero 4 .globl TYPE_DONE .align 4 .type TYPE_DONE, @object .size TYPE_DONE, 4 TYPE_DONE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_do_alignment_ldmstm.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "Alignment trap: not handling ldm with s-bit set\012" .ascii "\000" .align 2 .LC1: .ascii "LDMSTM: PC = %08lx, instr = %08x, addr = %08lx, ead" .ascii "dr = %08lx\012\000" .text .align 2 .syntax unified .arm .fpu softvfp .type do_alignment_ldmstm, %function do_alignment_ldmstm: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, fp, lr} mov r4, r0 sub sp, sp, #12 mov r0, r1 mov r5, r1 mov r7, r2 bl LDM_S_BIT cmp r0, #0 bne .L45 ldr r1, .L48 ldr r2, [r7] ldr r3, [r1] add r2, r2, #4 str r2, [r7] add r3, r3, #1 mov r0, r5 str r3, [r1] bl REGMASK_BITS bl hweight16 mov r9, r0 mov r0, r5 bl RN_BITS mov r10, r0 ldr r3, [r7, #4] mov r0, r5 ldr r6, [r3, r10, lsl #2] bl LDST_U_BIT lsl r9, r9, #2 cmp r0, #0 mov r0, r5 rsbeq r9, r9, #0 bl LDST_U_BIT mov r3, r0 add r9, r9, r6 cmp r3, #0 mov r0, r5 moveq r6, r9 bl LDST_P_EQ_U cmp r0, #0 addne r6, r6, #4 cmp r6, r4 bne .L46 mov r0, r7 bl user_mode subs r8, r0, #0 beq .L8 .L47: bl uaccess_save_and_enable mov fp, r0 mov r0, r5 bl REGMASK_BITS subs r4, r0, #0 movne r8, #0 bne .L9 b .L14 .L11: lsrs r4, r4, #1 add r8, r8, #1 beq .L14 .L9: tst r4, #1 beq .L11 mov r0, r5 bl LDST_L_BIT cmp r0, #0 beq .L12 mov r3, #0 mov r1, r6 mov r0, r3 bl get32t_unaligned_check mov r3, #0 ldr r2, [r7, #4] str r3, [r2, r8, lsl #2] .L13: lsrs r4, r4, #1 add r6, r6, #4 add r8, r8, #1 bne .L9 .L14: mov r0, fp bl uaccess_restore .L10: mov r0, r5 bl LDST_W_BIT cmp r0, #0 ldrne r3, [r7, #4] mov r0, r5 strne r9, [r3, r10, lsl #2] bl LDST_L_BIT cmp r0, #0 bne .L21 .L23: ldr r3, [r7] sub r3, r3, #4 str r3, [r7] .L22: ldr r3, .L48+4 ldr r0, [r3] add sp, sp, #12 @ sp needed pop {r4, r5, r6, r7, r8, r9, r10, fp, pc} .L8: mov r0, r5 bl REGMASK_BITS subs r4, r0, #0 bne .L15 b .L10 .L16: lsrs r4, r4, #1 add r8, r8, #1 beq .L10 .L15: tst r4, #1 beq .L16 mov r0, r5 bl LDST_L_BIT cmp r0, #0 beq .L17 mov fp, #0 mov r1, r6 mov r0, fp bl get32_unaligned_check ldr r3, [r7, #4] str fp, [r3, r8, lsl #2] .L18: add r6, r6, #4 b .L16 .L46: mov r0, r7 bl instruction_pointer mov r3, r4 mov r1, r0 mov r2, r5 ldr r0, .L48+8 str r6, [sp] bl pr_err mov r0, r7 bl show_regs mov r0, r7 bl user_mode subs r8, r0, #0 beq .L8 b .L47 .L17: ldr r3, [r7, #4] mov r1, r6 ldr r0, [r3, r8, lsl #2] bl put32_unaligned_check b .L18 .L12: ldr r3, [r7, #4] mov r1, r6 ldr r0, [r3, r8, lsl #2] bl put32t_unaligned_check b .L13 .L45: ldr r0, .L48+12 bl pr_err ldr r3, .L48+16 ldr r0, [r3] add sp, sp, #12 @ sp needed pop {r4, r5, r6, r7, r8, r9, r10, fp, pc} .L21: mov r0, r5 bl REGMASK_BITS tst r0, #32768 beq .L23 b .L22 .L49: .align 2 .L48: .word ai_multi .word TYPE_DONE .word .LC1 .word .LC0 .word TYPE_ERROR .size do_alignment_ldmstm, .-do_alignment_ldmstm .comm ai_multi,4,4 .comm TYPE_FAULT,4,4 .comm TYPE_ERROR,4,4 .comm TYPE_DONE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_do_alignment_ldrdstrd.c" .intel_syntax noprefix .text .p2align 4 .type do_alignment_ldrdstrd, @function do_alignment_ldrdstrd: .LFB0: .cfi_startproc endbr64 push r15 .cfi_def_cfa_offset 16 .cfi_offset 15, -16 push r14 .cfi_def_cfa_offset 24 .cfi_offset 14, -24 push r13 .cfi_def_cfa_offset 32 .cfi_offset 13, -32 mov r13, rdx push r12 .cfi_def_cfa_offset 40 .cfi_offset 12, -40 mov r12, rdi mov edi, esi push rbp .cfi_def_cfa_offset 48 .cfi_offset 6, -48 mov ebp, esi push rbx .cfi_def_cfa_offset 56 .cfi_offset 3, -56 sub rsp, 8 .cfi_def_cfa_offset 64 call RD_BITS@PLT mov ebx, eax mov eax, ebp and eax, -33554432 cmp eax, -402653184 je .L17 cmp ebx, 14 je .L13 test bl, 1 jne .L13 and ebp, 240 xor r15d, r15d lea r14d, 1[rbx] cmp ebp, 208 sete r15b .L3: mov rdi, r13 add DWORD PTR ai_dword[rip], 1 lea rbp, 4[r12] call user_mode@PLT test rax, rax jne .L18 test r15d, r15d je .L10 mov rsi, r12 xor r12d, r12d mov rdi, r12 call get32_unaligned_check@PLT mov rax, QWORD PTR 0[r13] mov rsi, rbp mov rdi, r12 mov QWORD PTR [rax+rbx*8], r12 call get32_unaligned_check@PLT mov rax, QWORD PTR 0[r13] mov QWORD PTR [rax+r14*8], r12 .L12: mov eax, DWORD PTR TYPE_LDST[rip] add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 56 pop rbx .cfi_def_cfa_offset 48 pop rbp .cfi_def_cfa_offset 40 pop r12 .cfi_def_cfa_offset 32 pop r13 .cfi_def_cfa_offset 24 pop r14 .cfi_def_cfa_offset 16 pop r15 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L13: .cfi_restore_state mov eax, DWORD PTR TYPE_ERROR[rip] add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 56 pop rbx .cfi_def_cfa_offset 48 pop rbp .cfi_def_cfa_offset 40 pop r12 .cfi_def_cfa_offset 32 pop r13 .cfi_def_cfa_offset 24 pop r14 .cfi_def_cfa_offset 16 pop r15 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L18: .cfi_restore_state test r15d, r15d je .L19 xor eax, eax call uaccess_save_and_enable@PLT mov rsi, r12 xor r12d, r12d mov rdi, r12 mov r15d, eax call get32t_unaligned_check@PLT mov rsi, rbp xor ebp, ebp mov rdi, rbp call get32t_unaligned_check@PLT mov edi, r15d call uaccess_restore@PLT mov rax, QWORD PTR 0[r13] mov QWORD PTR [rax+rbx*8], r12 mov QWORD PTR [rax+r14*8], rbp jmp .L12 .p2align 4,,10 .p2align 3 .L10: mov rax, QWORD PTR 0[r13] mov rsi, r12 mov rdi, QWORD PTR [rax+rbx*8] call put32_unaligned_check@PLT mov rax, QWORD PTR 0[r13] mov rsi, rbp mov rdi, QWORD PTR [rax+r14*8] call put32_unaligned_check@PLT jmp .L12 .p2align 4,,10 .p2align 3 .L17: mov r14d, ebp mov edi, ebp xor r15d, r15d call LDST_L_BIT@PLT sar r14d, 8 and r14d, 15 test eax, eax setne r15b jmp .L3 .p2align 4,,10 .p2align 3 .L19: xor eax, eax call uaccess_save_and_enable@PLT mov rsi, r12 mov r15d, eax mov rax, QWORD PTR 0[r13] mov rdi, QWORD PTR [rax+rbx*8] call put32t_unaligned_check@PLT mov rax, QWORD PTR 0[r13] mov rsi, rbp mov rdi, QWORD PTR [rax+r14*8] call put32t_unaligned_check@PLT mov edi, r15d call uaccess_restore@PLT jmp .L12 .cfi_endproc .LFE0: .size do_alignment_ldrdstrd, .-do_alignment_ldrdstrd .globl ai_dword .bss .align 4 .type ai_dword, @object .size ai_dword, 4 ai_dword: .zero 4 .globl TYPE_LDST .align 4 .type TYPE_LDST, @object .size TYPE_LDST, 4 TYPE_LDST: .zero 4 .globl TYPE_FAULT .align 4 .type TYPE_FAULT, @object .size TYPE_FAULT, 4 TYPE_FAULT: .zero 4 .globl TYPE_ERROR .align 4 .type TYPE_ERROR, @object .size TYPE_ERROR, 4 TYPE_ERROR: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_do_alignment_ldrdstrd.c" .text .align 2 .syntax unified .arm .fpu softvfp .type do_alignment_ldrdstrd, %function do_alignment_ldrdstrd: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr} mov r4, r1 mov r7, r0 mov r0, r1 mov r6, r2 bl RD_BITS and r3, r4, #-33554432 cmp r3, #-402653184 mov r5, r0 beq .L15 cmp r0, #14 movne r3, r0 orreq r3, r0, #1 tst r3, #1 bne .L16 and r4, r4, #240 sub r4, r4, #208 clz r4, r4 add r8, r0, #1 lsr r4, r4, #5 .L3: ldr r2, .L19 mov r0, r6 ldr r3, [r2] lsl r8, r8, #2 add r3, r3, #1 str r3, [r2] bl user_mode cmp r0, #0 add r9, r7, #4 bne .L17 cmp r4, #0 beq .L9 mov r4, #0 mov r1, r7 mov r0, r4 bl get32_unaligned_check ldr r3, [r6] mov r1, r9 str r4, [r3, r5, lsl #2] mov r0, r4 bl get32_unaligned_check ldr r3, [r6] str r4, [r3, r8] .L11: ldr r3, .L19+4 ldr r0, [r3] pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc} .L16: ldr r3, .L19+8 ldr r0, [r3] pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc} .L17: cmp r4, #0 beq .L18 bl uaccess_save_and_enable mov fp, #0 mov r4, r0 mov r1, r7 mov r0, fp bl get32t_unaligned_check mov r1, r9 mov r0, fp bl get32t_unaligned_check mov r0, r4 bl uaccess_restore ldr r3, [r6] mov r10, fp str fp, [r3, r5, lsl #2] str fp, [r3, r8] b .L11 .L9: ldr r3, [r6] mov r1, r7 ldr r0, [r3, r5, lsl #2] bl put32_unaligned_check ldr r3, [r6] mov r1, r9 ldr r0, [r3, r8] bl put32_unaligned_check b .L11 .L15: mov r0, r4 bl LDST_L_BIT asr r8, r4, #8 subs r4, r0, #0 movne r4, #1 and r8, r8, #15 b .L3 .L18: bl uaccess_save_and_enable mov r4, r0 ldr r3, [r6] mov r1, r7 ldr r0, [r3, r5, lsl #2] bl put32t_unaligned_check ldr r3, [r6] mov r1, r9 ldr r0, [r3, r8] bl put32t_unaligned_check mov r0, r4 bl uaccess_restore b .L11 .L20: .align 2 .L19: .word ai_dword .word TYPE_LDST .word TYPE_ERROR .size do_alignment_ldrdstrd, .-do_alignment_ldrdstrd .comm ai_dword,4,4 .comm TYPE_LDST,4,4 .comm TYPE_FAULT,4,4 .comm TYPE_ERROR,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_do_alignment_ldrhstrh.c" .intel_syntax noprefix .text .p2align 4 .type do_alignment_ldrhstrh, @function do_alignment_ldrhstrh: .LFB0: .cfi_startproc endbr64 push r13 .cfi_def_cfa_offset 16 .cfi_offset 13, -16 mov r13, rdx push r12 .cfi_def_cfa_offset 24 .cfi_offset 12, -24 mov r12, rdi mov edi, esi push rbp .cfi_def_cfa_offset 32 .cfi_offset 6, -32 mov ebp, esi push rbx .cfi_def_cfa_offset 40 .cfi_offset 3, -40 sub rsp, 8 .cfi_def_cfa_offset 48 call RD_BITS@PLT mov rdi, r13 add DWORD PTR ai_half[rip], 1 mov ebx, eax call user_mode@PLT mov edi, ebp test rax, rax jne .L18 call LDST_L_BIT@PLT test rax, rax jne .L19 mov rax, QWORD PTR 0[r13] mov rsi, r12 mov rdi, QWORD PTR [rax+rbx*8] call put16_unaligned_check@PLT .L10: mov eax, DWORD PTR TYPE_LDST[rip] add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 40 pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L19: .cfi_restore_state mov rsi, r12 xor edi, edi call get16_unaligned_check@PLT mov rax, QWORD PTR 0[r13] mov QWORD PTR [rax+rbx*8], 0 jmp .L10 .p2align 4,,10 .p2align 3 .L18: call LDST_L_BIT@PLT test rax, rax je .L20 xor eax, eax call uaccess_save_and_enable@PLT mov rsi, r12 xor edi, edi mov ebp, eax call get16t_unaligned_check@PLT mov edi, ebp call uaccess_restore@PLT mov rax, QWORD PTR 0[r13] mov QWORD PTR [rax+rbx*8], 0 jmp .L10 .p2align 4,,10 .p2align 3 .L20: xor eax, eax call uaccess_save_and_enable@PLT mov rsi, r12 mov ebp, eax mov rax, QWORD PTR 0[r13] mov rdi, QWORD PTR [rax+rbx*8] call put16t_unaligned_check@PLT mov edi, ebp call uaccess_restore@PLT jmp .L10 .cfi_endproc .LFE0: .size do_alignment_ldrhstrh, .-do_alignment_ldrhstrh .globl ai_half .bss .align 4 .type ai_half, @object .size ai_half, 4 ai_half: .zero 4 .globl TYPE_LDST .align 4 .type TYPE_LDST, @object .size TYPE_LDST, 4 TYPE_LDST: .zero 4 .globl TYPE_FAULT .align 4 .type TYPE_FAULT, @object .size TYPE_FAULT, 4 TYPE_FAULT: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_do_alignment_ldrhstrh.c" .text .align 2 .syntax unified .arm .fpu softvfp .type do_alignment_ldrhstrh, %function do_alignment_ldrhstrh: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r6, r0 mov r0, r1 mov r5, r1 mov r4, r2 bl RD_BITS ldr r2, .L23 mov r7, r0 ldr r3, [r2] mov r0, r4 add r3, r3, #1 str r3, [r2] bl user_mode cmp r0, #0 mov r0, r5 bne .L20 bl LDST_L_BIT cmp r0, #0 bne .L21 ldr r3, [r4] mov r1, r6 ldr r0, [r3, r7, lsl #2] bl put16_unaligned_check .L10: ldr r3, .L23+4 ldr r0, [r3] pop {r4, r5, r6, r7, r8, pc} .L21: mov r5, #0 mov r1, r6 mov r0, r5 bl get16_unaligned_check ldr r3, [r4] str r5, [r3, r7, lsl #2] b .L10 .L20: bl LDST_L_BIT cmp r0, #0 beq .L22 bl uaccess_save_and_enable mov r8, #0 mov r5, r0 mov r1, r6 mov r0, r8 bl get16t_unaligned_check mov r0, r5 bl uaccess_restore ldr r3, [r4] str r8, [r3, r7, lsl #2] b .L10 .L22: bl uaccess_save_and_enable ldr r3, [r4] mov r4, r0 mov r1, r6 ldr r0, [r3, r7, lsl #2] bl put16t_unaligned_check mov r0, r4 bl uaccess_restore b .L10 .L24: .align 2 .L23: .word ai_half .word TYPE_LDST .size do_alignment_ldrhstrh, .-do_alignment_ldrhstrh .comm ai_half,4,4 .comm TYPE_LDST,4,4 .comm TYPE_FAULT,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_do_alignment_ldrstr.c" .intel_syntax noprefix .text .p2align 4 .type do_alignment_ldrstr, @function do_alignment_ldrstr: .LFB0: .cfi_startproc endbr64 push r13 .cfi_def_cfa_offset 16 .cfi_offset 13, -16 push r12 .cfi_def_cfa_offset 24 .cfi_offset 12, -24 mov r12, rdi mov edi, esi push rbp .cfi_def_cfa_offset 32 .cfi_offset 6, -32 mov ebp, esi push rbx .cfi_def_cfa_offset 40 .cfi_offset 3, -40 mov rbx, rdx sub rsp, 8 .cfi_def_cfa_offset 48 call RD_BITS@PLT mov edi, ebp add DWORD PTR ai_word[rip], 1 mov r13d, eax call LDST_P_BIT@PLT test eax, eax jne .L5 mov edi, ebp call LDST_W_BIT@PLT test rax, rax jne .L3 .L5: mov rdi, rbx call user_mode@PLT test rax, rax je .L19 .L3: mov edi, ebp mov ebp, r13d call LDST_L_BIT@PLT test rax, rax je .L20 xor eax, eax call uaccess_save_and_enable@PLT mov rsi, r12 xor r12d, r12d mov r13d, eax mov edi, r12d call get32t_unaligned_check@PLT mov edi, r13d call uaccess_restore@PLT mov rax, QWORD PTR [rbx] mov DWORD PTR [rax+rbp*4], r12d jmp .L11 .p2align 4,,10 .p2align 3 .L19: mov edi, ebp call LDST_L_BIT@PLT test rax, rax je .L8 xor ebp, ebp mov rsi, r12 mov edi, ebp call get32_unaligned_check@PLT mov rax, QWORD PTR [rbx] mov DWORD PTR [rax+r13*4], ebp .L11: mov eax, DWORD PTR TYPE_LDST[rip] add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 40 pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L20: .cfi_restore_state xor eax, eax call uaccess_save_and_enable@PLT mov rsi, r12 mov r13d, eax mov rax, QWORD PTR [rbx] mov edi, DWORD PTR [rax+rbp*4] call put32t_unaligned_check@PLT mov edi, r13d call uaccess_restore@PLT jmp .L11 .p2align 4,,10 .p2align 3 .L8: mov rax, QWORD PTR [rbx] mov rsi, r12 mov edi, DWORD PTR [rax+r13*4] call put32_unaligned_check@PLT jmp .L11 .cfi_endproc .LFE0: .size do_alignment_ldrstr, .-do_alignment_ldrstr .globl ai_word .bss .align 4 .type ai_word, @object .size ai_word, 4 ai_word: .zero 4 .globl TYPE_LDST .align 4 .type TYPE_LDST, @object .size TYPE_LDST, 4 TYPE_LDST: .zero 4 .globl TYPE_FAULT .align 4 .type TYPE_FAULT, @object .size TYPE_FAULT, 4 TYPE_FAULT: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_do_alignment_ldrstr.c" .text .align 2 .syntax unified .arm .fpu softvfp .type do_alignment_ldrstr, %function do_alignment_ldrstr: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r7, r0 mov r0, r1 mov r4, r1 mov r6, r2 bl RD_BITS ldr r2, .L16 mov r5, r0 ldr r3, [r2] mov r0, r4 add r3, r3, #1 str r3, [r2] bl LDST_P_BIT cmp r0, #0 lslne r5, r5, #2 bne .L3 mov r0, r4 bl LDST_W_BIT cmp r0, #0 lsl r5, r5, #2 bne .L4 .L3: mov r0, r6 bl user_mode cmp r0, #0 beq .L5 .L4: mov r0, r4 bl LDST_L_BIT cmp r0, #0 beq .L15 bl uaccess_save_and_enable mov r8, #0 mov r4, r0 mov r1, r7 mov r0, r8 bl get32t_unaligned_check mov r0, r4 bl uaccess_restore ldr r3, [r6] str r8, [r3, r5] b .L11 .L5: mov r0, r4 bl LDST_L_BIT cmp r0, #0 beq .L8 mov r4, #0 mov r1, r7 mov r0, r4 bl get32_unaligned_check ldr r3, [r6] str r4, [r3, r5] .L11: ldr r3, .L16+4 ldr r0, [r3] pop {r4, r5, r6, r7, r8, pc} .L15: bl uaccess_save_and_enable mov r4, r0 ldr r3, [r6] mov r1, r7 ldr r0, [r3, r5] bl put32t_unaligned_check mov r0, r4 bl uaccess_restore b .L11 .L8: ldr r3, [r6] mov r1, r7 ldr r0, [r3, r5] bl put32_unaligned_check b .L11 .L17: .align 2 .L16: .word ai_word .word TYPE_LDST .size do_alignment_ldrstr, .-do_alignment_ldrstr .comm ai_word,4,4 .comm TYPE_LDST,4,4 .comm TYPE_FAULT,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_do_alignment_t32_to_handler.c" .intel_syntax noprefix .text .p2align 4 .type do_alignment_t32_to_handler, @function do_alignment_t32_to_handler: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov rcx, rdx push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 sub rsp, 16 .cfi_def_cfa_offset 48 mov ebp, DWORD PTR [rdi] mov rax, QWORD PTR fs:40 mov QWORD PTR 8[rsp], rax xor eax, eax mov edx, ebp shr edx, 16 mov eax, edx and eax, 65504 cmp eax, 59712 je .L2 jle .L43 cmp eax, 59872 je .L4 jle .L44 cmp eax, 63552 jne .L40 mov rbx, rdi mov edi, ebp call RN_BITS@PLT mov r8d, eax xor eax, eax cmp r8d, 13 jne .L1 mov edx, ebp and edx, 2559 cmp edx, 2308 je .L45 .p2align 4,,10 .p2align 3 .L1: mov rsi, QWORD PTR 8[rsp] sub rsi, QWORD PTR fs:40 jne .L46 add rsp, 16 .cfi_remember_state .cfi_def_cfa_offset 32 pop rbx .cfi_def_cfa_offset 24 pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L44: .cfi_restore_state cmp eax, 59744 je .L4 cmp eax, 59840 jne .L40 .L2: mov rax, QWORD PTR do_alignment_ldrdstrd[rip] jmp .L1 .p2align 4,,10 .p2align 3 .L43: cmp eax, 59616 je .L4 jle .L47 and edx, 65472 cmp edx, 59648 je .L41 .L40: xor eax, eax jmp .L1 .p2align 4,,10 .p2align 3 .L47: and edx, 65472 cmp edx, 59520 je .L41 cmp eax, 59488 jne .L40 .L4: sal ebp, 2 and ebp, 1020 mov DWORD PTR [rcx], ebp jmp .L2 .p2align 4,,10 .p2align 3 .L45: mov edi, ebp call LDST_L_BIT@PLT mov edi, ebp movabs rsi, -1676183482399916032 test eax, eax mov QWORD PTR [rsp], rsi setne al movzx eax, al mov r12d, DWORD PTR [rsp+rax*4] call RD_BITS@PLT bts r12d, eax mov DWORD PTR [rbx], r12d .p2align 4,,10 .p2align 3 .L41: mov rax, QWORD PTR do_alignment_ldmstm[rip] jmp .L1 .L46: call __stack_chk_fail@PLT .cfi_endproc .LFE0: .size do_alignment_t32_to_handler, .-do_alignment_t32_to_handler .globl do_alignment_ldrdstrd .bss .align 8 .type do_alignment_ldrdstrd, @object .size do_alignment_ldrdstrd, 8 do_alignment_ldrdstrd: .zero 8 .globl do_alignment_ldmstm .align 8 .type do_alignment_ldmstm, @object .size do_alignment_ldmstm, 8 do_alignment_ldmstm: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_do_alignment_t32_to_handler.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC1: .word __stack_chk_guard .text .align 2 .syntax unified .arm .fpu softvfp .type do_alignment_t32_to_handler, %function do_alignment_t32_to_handler: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, lr} ldr r3, .L23 ldr r4, [r0] ldr r1, .L23+4 and r3, r3, r4, lsr #16 cmp r3, r1 ldr r1, .L23+8 sub sp, sp, #20 ldr r1, [r1] str r1, [sp, #12] mov r1,#0 beq .L2 ble .L18 ldr r1, .L23+12 cmp r3, r1 beq .L4 ble .L19 ldr r2, .L23+16 cmp r3, r2 bne .L12 mov r5, r0 mov r0, r4 bl RN_BITS cmp r0, #13 bne .L12 ldr r3, .L23+20 ldr r2, .L23+24 and r3, r3, r4 cmp r3, r2 beq .L20 .L12: mov r0, #0 .L1: ldr r3, .L23+8 ldr r2, [r3] ldr r3, [sp, #12] eors r2, r3, r2 mov r3, #0 bne .L21 add sp, sp, #20 @ sp needed pop {r4, r5, pc} .L19: sub r1, r1, #128 cmp r3, r1 beq .L4 ldr r2, .L23+28 cmp r3, r2 bne .L12 .L2: ldr r3, .L23+32 ldr r0, [r3] b .L1 .L18: ldr r1, .L23+36 cmp r3, r1 beq .L4 lsr r0, r4, #16 ble .L22 ldr r3, .L23+40 and r3, r3, r0 cmp r3, #59648 bne .L12 .L6: ldr r3, .L23+44 ldr r0, [r3] b .L1 .L22: ldr r1, .L23+40 ldr ip, .L23+48 and r1, r1, r0 cmp r1, ip beq .L6 ldr r1, .L23+52 cmp r3, r1 bne .L12 .L4: lsl r4, r4, #2 and r4, r4, #1020 str r4, [r2] b .L2 .L20: mov r0, r4 bl LDST_L_BIT subs r3, r0, #0 movne r3, #1 ldr r2, .L23+56 ldr r1, .L23+60 add r0, sp, #16 stmib sp, {r1, r2} add r3, r0, r3, lsl #2 mov r0, r4 ldr r4, [r3, #-12] bl RD_BITS mov r2, #1 ldr r3, .L23+44 orr r4, r4, r2, lsl r0 str r4, [r5] ldr r0, [r3] b .L1 .L21: bl __stack_chk_fail .L24: .align 2 .L23: .word 65504 .word 59712 .word .LC1 .word 59872 .word 63552 .word 2559 .word 2308 .word 59840 .word do_alignment_ldrdstrd .word 59616 .word 65472 .word do_alignment_ldmstm .word 59520 .word 59488 .word -390266880 .word -382926848 .size do_alignment_t32_to_handler, .-do_alignment_t32_to_handler .comm do_alignment_ldrdstrd,4,4 .comm do_alignment_ldmstm,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_safe_usermode.c" .intel_syntax noprefix .text .section .rodata.str1.8,"aMS",@progbits,1 .align 8 .LC0: .string "alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.\n" .text .p2align 4 .type safe_usermode, @function safe_usermode: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 xor eax, eax mov r12d, edi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov ebx, esi sub rsp, 8 .cfi_def_cfa_offset 32 call cpu_is_v6_unaligned@PLT test rax, rax je .L2 mov eax, DWORD PTR UM_FIXUP[rip] mov edx, DWORD PTR UM_SIGNAL[rip] or edx, eax test edx, r12d jne .L2 or r12d, eax test ebx, ebx jne .L11 .L2: add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 mov eax, r12d pop rbx .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L11: .cfi_restore_state lea rdi, .LC0[rip] call pr_warn@PLT jmp .L2 .cfi_endproc .LFE0: .size safe_usermode, .-safe_usermode .globl UM_SIGNAL .bss .align 4 .type UM_SIGNAL, @object .size UM_SIGNAL, 4 UM_SIGNAL: .zero 4 .globl UM_FIXUP .align 4 .type UM_FIXUP, @object .size UM_FIXUP, 4 UM_FIXUP: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_safe_usermode.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "alignment: ignoring faults is unsafe on this CPU. " .ascii "Defaulting to fixup mode.\012\000" .text .align 2 .syntax unified .arm .fpu softvfp .type safe_usermode, %function safe_usermode: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r4, r0 mov r5, r1 bl cpu_is_v6_unaligned cmp r0, #0 beq .L2 ldr r2, .L12 ldr r3, .L12+4 ldr r2, [r2] ldr r3, [r3] orr r3, r2, r3 tst r3, r4 bne .L2 cmp r5, #0 orr r4, r4, r2 bne .L11 .L2: mov r0, r4 pop {r4, r5, r6, pc} .L11: ldr r0, .L12+8 bl pr_warn b .L2 .L13: .align 2 .L12: .word UM_FIXUP .word UM_SIGNAL .word .LC0 .size safe_usermode, .-safe_usermode .comm UM_SIGNAL,4,4 .comm UM_FIXUP,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_alignment.c_thumb2arm.c" .intel_syntax noprefix .text .p2align 4 .type thumb2arm, @function thumb2arm: .LFB0: .cfi_startproc endbr64 mov eax, edi sar eax, 11 mov esi, eax and eax, 31 sub eax, 9 and esi, 1 cmp eax, 16 ja .L2 lea rdx, .L4[rip] movsx rax, DWORD PTR [rdx+rax*4] add rax, rdx notrack jmp rax .section .rodata .align 4 .align 4 .L4: .long .L10-.L4 .long .L9-.L4 .long .L9-.L4 .long .L8-.L4 .long .L8-.L4 .long .L8-.L4 .long .L8-.L4 .long .L7-.L4 .long .L7-.L4 .long .L6-.L4 .long .L6-.L4 .long .L2-.L4 .long .L2-.L4 .long .L5-.L4 .long .L5-.L4 .long .L3-.L4 .long .L3-.L4 .text .p2align 4,,10 .p2align 3 .L5: mov eax, edi and eax, 1536 cmp eax, 1024 je .L17 .L2: mov rax, QWORD PTR BAD_INSTR[rip] ret .p2align 4,,10 .p2align 3 .L8: mov r8d, edi mov ecx, edi mov r9d, edi mov eax, edi sal r8d, 10 sal ecx, 12 mov edx, edi and eax, 4096 and ecx, 28672 and r8d, 4194304 sal r9d, 13 and edx, 1984 or r8d, ecx sal esi, 20 and r9d, 458752 cmp eax, 1 sbb ecx, ecx and ecx, -2 add ecx, 6 sar edx, cl mov eax, edx or eax, r8d or eax, r9d or eax, esi or eax, -444596224 ret .p2align 4,,10 .p2align 3 .L7: mov edx, edi mov eax, edi sal edx, 12 sal eax, 13 and eax, 458752 and edx, 28672 or edx, eax mov eax, esi sal eax, 20 or eax, edx mov edx, edi sar edx, 5 and edx, 14 or edx, eax mov eax, edi sar eax and eax, 768 or eax, edx or eax, -507510608 ret .p2align 4,,10 .p2align 3 .L6: mov edx, edi lea eax, 0[0+rdi*4] sal esi, 20 sal edx, 4 and eax, 1020 and edx, 28672 or eax, edx or eax, esi or eax, -443744256 ret .p2align 4,,10 .p2align 3 .L3: mov ecx, edi mov eax, esi xor edx, edx sar ecx, 8 and ecx, 7 sal eax, cl test eax, edi movzx eax, dil sete dl sal esi, 20 sal edx, 21 sal ecx, 16 or eax, edx or eax, esi or eax, ecx or eax, -394264576 ret .p2align 4,,10 .p2align 3 .L9: mov eax, edi mov edx, edi sal eax, 12 sal edx, 13 and edx, 458752 and eax, 28672 or eax, edx mov edx, edi sar edi, 9 sar edx, 6 and edi, 7 and edx, 7 or eax, edx lea rdx, subset.1[rip] or eax, DWORD PTR [rdx+rdi*4] cdqe ret .p2align 4,,10 .p2align 3 .L10: mov eax, edi sal edi, 2 sal eax, 4 and edi, 1020 and eax, 28672 or eax, edi or eax, -442564608 ret .p2align 4,,10 .p2align 3 .L17: mov eax, edi add esi, esi lea rdx, subset.0[rip] sar eax, 8 and eax, 1 or esi, eax movzx eax, dil movsx rsi, esi or eax, DWORD PTR [rdx+rsi*4] cdqe ret .cfi_endproc .LFE0: .size thumb2arm, .-thumb2arm .section .rodata .align 16 .type subset.0, @object .size subset.0, 16 subset.0: .long -382926848 .long -382910464 .long -390266880 .long -390234112 .align 32 .type subset.1, @object .size subset.1, 32 subset.1: .long -411041792 .long -511704912 .long -406847488 .long -510656304 .long -409993216 .long -510656336 .long -405798912 .long -510656272 .globl BAD_INSTR .bss .align 8 .type BAD_INSTR, @object .size BAD_INSTR, 8 BAD_INSTR: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_alignment.c_thumb2arm.c" .text .align 2 .syntax unified .arm .fpu softvfp .type thumb2arm, %function thumb2arm: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. asr r2, r0, #11 and r3, r2, #31 sub r3, r3, #9 and r2, r2, #1 cmp r3, #16 ldrls pc, [pc, r3, asl #2] b .L2 .L4: .word .L10 .word .L9 .word .L9 .word .L8 .word .L8 .word .L8 .word .L8 .word .L7 .word .L7 .word .L6 .word .L6 .word .L2 .word .L2 .word .L5 .word .L5 .word .L3 .word .L3 .L5: and r3, r0, #1536 cmp r3, #1024 beq .L17 .L2: ldr r3, .L18 ldr r0, [r3] bx lr .L8: tst r0, #4096 movne ip, #6 moveq ip, #4 lsl r3, r0, #10 lsl r1, r0, #12 and r1, r1, #28672 and r3, r3, #4194304 orr r3, r3, r1 and r1, r0, #1984 lsl r0, r0, #13 orr r3, r3, r1, asr ip and r0, r0, #458752 orr r0, r3, r0 orr r0, r0, r2, lsl #20 orr r0, r0, #-452984832 orr r0, r0, #8388608 bx lr .L7: lsl r3, r0, #12 lsl r1, r0, #13 and r1, r1, #458752 and r3, r3, #28672 orr r3, r3, r1 asr r1, r0, #5 orr r2, r3, r2, lsl #20 asr r0, r0, #1 and r3, r1, #14 orr r2, r2, r3 and r3, r0, #768 ldr r0, .L18+4 orr r2, r2, r3 orr r0, r2, r0 bx lr .L6: lsl r3, r0, #4 lsl r0, r0, #2 and r3, r3, #28672 and r0, r0, #1020 orr r0, r3, r0 orr r0, r0, r2, lsl #20 orr r0, r0, #-452984832 orr r0, r0, #9240576 bx lr .L3: asr r3, r0, #8 and r3, r3, #7 ands r1, r0, r2, lsl r3 movne r1, #0 moveq r1, #2097152 and r0, r0, #255 orr r0, r0, r1 orr r0, r0, r2, lsl #20 orr r0, r0, r3, lsl #16 orr r0, r0, #-402653184 orr r0, r0, #8388608 bx lr .L9: ldr ip, .L18+8 lsl r3, r0, #12 lsl r1, r0, #13 asr r2, r0, #9 and r1, r1, #458752 and r3, r3, #28672 and r2, r2, #7 ldr r2, [ip, r2, lsl #2] orr r3, r3, r1 lsl r0, r0, #23 orr r0, r3, r0, lsr #29 orr r0, r0, r2 bx lr .L10: lsl r2, r0, #2 lsl r3, r0, #4 and r0, r3, #28672 and r3, r2, #1020 orr r0, r0, r3 orr r0, r0, #-452984832 orr r0, r0, #10420224 bx lr .L17: asr r3, r0, #8 ldr r1, .L18+8 and r3, r3, #1 orr r2, r3, r2, lsl #1 add r2, r1, r2, lsl #2 ldr r3, [r2, #32] and r0, r0, #255 orr r0, r0, r3 bx lr .L19: .align 2 .L18: .word BAD_INSTR .word -507510608 .word .LANCHOR0 .size thumb2arm, .-thumb2arm .comm BAD_INSTR,4,4 .section .rodata .align 2 .set .LANCHOR0,. + 0 .type subset.4214, %object .size subset.4214, 32 subset.4214: .word -411041792 .word -511704912 .word -406847488 .word -510656304 .word -409993216 .word -510656336 .word -405798912 .word -510656272 .type subset.4224, %object .size subset.4224, 16 subset.4224: .word -382926848 .word -382910464 .word -390266880 .word -390234112 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c___b15_rac_disable.c" .intel_syntax noprefix .text .p2align 4 .type __b15_rac_disable, @function __b15_rac_disable: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov rdi, QWORD PTR RAC_CONFIG0_REG[rip] add rdi, QWORD PTR b15_rac_base[rip] call __raw_readl@PLT mov rsi, QWORD PTR RAC_CONFIG0_REG[rip] xor edi, edi add rsi, QWORD PTR b15_rac_base[rip] mov r12d, eax call __raw_writel@PLT xor eax, eax call dmb@PLT mov eax, r12d pop r12 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size __b15_rac_disable, .-__b15_rac_disable .globl b15_rac_base .bss .align 8 .type b15_rac_base, @object .size b15_rac_base, 8 b15_rac_base: .zero 8 .globl RAC_CONFIG0_REG .align 8 .type RAC_CONFIG0_REG, @object .size RAC_CONFIG0_REG, 8 RAC_CONFIG0_REG: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c___b15_rac_disable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __b15_rac_disable, %function __b15_rac_disable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r5, .L4 ldr r4, .L4+4 ldr r0, [r5] ldr r3, [r4] add r0, r0, r3 bl __raw_readl ldr r3, [r4] mov r4, r0 ldr r1, [r5] mov r0, #0 add r1, r1, r3 bl __raw_writel bl dmb mov r0, r4 pop {r4, r5, r6, pc} .L5: .align 2 .L4: .word b15_rac_base .word RAC_CONFIG0_REG .size __b15_rac_disable, .-__b15_rac_disable .comm b15_rac_base,4,4 .comm RAC_CONFIG0_REG,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c___b15_rac_enable.c" .intel_syntax noprefix .text .p2align 4 .type __b15_rac_enable, @function __b15_rac_enable: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov rsi, QWORD PTR RAC_CONFIG0_REG[rip] add rsi, QWORD PTR b15_rac_base[rip] call __raw_writel@PLT xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 jmp dsb@PLT .cfi_endproc .LFE0: .size __b15_rac_enable, .-__b15_rac_enable .globl b15_rac_base .bss .align 8 .type b15_rac_base, @object .size b15_rac_base, 8 b15_rac_base: .zero 8 .globl RAC_CONFIG0_REG .align 8 .type RAC_CONFIG0_REG, @object .size RAC_CONFIG0_REG, 8 RAC_CONFIG0_REG: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c___b15_rac_enable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __b15_rac_enable, %function __b15_rac_enable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} ldr r2, .L4 ldr r3, .L4+4 ldr r1, [r2] ldr r3, [r3] add r1, r1, r3 bl __raw_writel pop {r4, lr} b dsb .L5: .align 2 .L4: .word b15_rac_base .word RAC_CONFIG0_REG .size __b15_rac_enable, .-__b15_rac_enable .comm b15_rac_base,4,4 .comm RAC_CONFIG0_REG,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c___b15_rac_flush.c" .intel_syntax noprefix .text .p2align 4 .type __b15_rac_flush, @function __b15_rac_flush: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov edi, DWORD PTR FLUSH_RAC[rip] mov rsi, QWORD PTR rac_flush_offset[rip] add rsi, QWORD PTR b15_rac_base[rip] call __raw_writel@PLT .p2align 4,,10 .p2align 3 .L2: xor eax, eax call dmb@PLT mov rdi, QWORD PTR rac_flush_offset[rip] add rdi, QWORD PTR b15_rac_base[rip] call __raw_readl@PLT and eax, DWORD PTR FLUSH_RAC[rip] jne .L2 add rsp, 8 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size __b15_rac_flush, .-__b15_rac_flush .globl rac_flush_offset .bss .align 8 .type rac_flush_offset, @object .size rac_flush_offset, 8 rac_flush_offset: .zero 8 .globl b15_rac_base .align 8 .type b15_rac_base, @object .size b15_rac_base, 8 b15_rac_base: .zero 8 .globl FLUSH_RAC .align 4 .type FLUSH_RAC, @object .size FLUSH_RAC, 4 FLUSH_RAC: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c___b15_rac_flush.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __b15_rac_flush, %function __b15_rac_flush: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r6, .L7 ldr r5, .L7+4 ldr r1, [r6] ldr r3, [r5] ldr r4, .L7+8 add r1, r1, r3 ldr r0, [r4] bl __raw_writel .L2: bl dmb ldr r3, [r5] ldr r0, [r6] add r0, r0, r3 bl __raw_readl ldr r3, [r4] tst r0, r3 bne .L2 pop {r4, r5, r6, pc} .L8: .align 2 .L7: .word b15_rac_base .word rac_flush_offset .word FLUSH_RAC .size __b15_rac_flush, .-__b15_rac_flush .comm rac_flush_offset,4,4 .comm b15_rac_base,4,4 .comm FLUSH_RAC,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c_b15_rac_dead_cpu.c" .intel_syntax noprefix .text .p2align 4 .type b15_rac_dead_cpu, @function b15_rac_dead_cpu: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov edi, DWORD PTR RAC_SUSPENDED[rip] lea rsi, b15_rac_flags[rip] call test_bit@PLT test rax, rax jne .L2 lea rdi, rac_lock[rip] call spin_lock@PLT mov edi, DWORD PTR rac_config0_reg[rip] call __b15_rac_enable@PLT mov edi, DWORD PTR RAC_ENABLED[rip] lea rsi, b15_rac_flags[rip] call __set_bit@PLT lea rdi, rac_lock[rip] call spin_unlock@PLT .L2: xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size b15_rac_dead_cpu, .-b15_rac_dead_cpu .globl rac_lock .bss .align 4 .type rac_lock, @object .size rac_lock, 4 rac_lock: .zero 4 .globl rac_config0_reg .align 4 .type rac_config0_reg, @object .size rac_config0_reg, 4 rac_config0_reg: .zero 4 .globl b15_rac_flags .align 4 .type b15_rac_flags, @object .size b15_rac_flags, 4 b15_rac_flags: .zero 4 .globl RAC_SUSPENDED .align 4 .type RAC_SUSPENDED, @object .size RAC_SUSPENDED, 4 RAC_SUSPENDED: .zero 4 .globl RAC_ENABLED .align 4 .type RAC_ENABLED, @object .size RAC_ENABLED, 4 RAC_ENABLED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c_b15_rac_dead_cpu.c" .text .align 2 .syntax unified .arm .fpu softvfp .type b15_rac_dead_cpu, %function b15_rac_dead_cpu: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L5 push {r4, lr} ldr r1, .L5+4 ldr r0, [r3] bl test_bit cmp r0, #0 bne .L2 ldr r0, .L5+8 bl spin_lock ldr r3, .L5+12 ldr r0, [r3] bl __b15_rac_enable ldr r3, .L5+16 ldr r1, .L5+4 ldr r0, [r3] bl __set_bit ldr r0, .L5+8 bl spin_unlock .L2: mov r0, #0 pop {r4, pc} .L6: .align 2 .L5: .word RAC_SUSPENDED .word b15_rac_flags .word rac_lock .word rac_config0_reg .word RAC_ENABLED .size b15_rac_dead_cpu, .-b15_rac_dead_cpu .comm rac_lock,4,4 .comm rac_config0_reg,4,4 .comm b15_rac_flags,4,4 .comm RAC_SUSPENDED,4,4 .comm RAC_ENABLED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c_b15_rac_disable_and_flush.c" .intel_syntax noprefix .text .p2align 4 .type b15_rac_disable_and_flush, @function b15_rac_disable_and_flush: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 xor eax, eax call __b15_rac_disable@PLT mov r12d, eax xor eax, eax call __b15_rac_flush@PLT mov eax, r12d pop r12 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size b15_rac_disable_and_flush, .-b15_rac_disable_and_flush .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c_b15_rac_disable_and_flush.c" .text .align 2 .syntax unified .arm .fpu softvfp .type b15_rac_disable_and_flush, %function b15_rac_disable_and_flush: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} bl __b15_rac_disable mov r4, r0 bl __b15_rac_flush mov r0, r4 pop {r4, pc} .size b15_rac_disable_and_flush, .-b15_rac_disable_and_flush .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c_b15_rac_dying_cpu.c" .intel_syntax noprefix .text .p2align 4 .type b15_rac_dying_cpu, @function b15_rac_dying_cpu: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov edi, DWORD PTR RAC_SUSPENDED[rip] lea rsi, b15_rac_flags[rip] call test_bit@PLT test rax, rax jne .L2 lea rdi, rac_lock[rip] call spin_lock@PLT mov edi, DWORD PTR RAC_ENABLED[rip] lea rsi, b15_rac_flags[rip] call __clear_bit@PLT xor eax, eax call b15_rac_disable_and_flush@PLT lea rdi, rac_lock[rip] mov DWORD PTR rac_config0_reg[rip], eax call spin_unlock@PLT .L2: xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size b15_rac_dying_cpu, .-b15_rac_dying_cpu .globl rac_lock .bss .align 4 .type rac_lock, @object .size rac_lock, 4 rac_lock: .zero 4 .globl rac_config0_reg .align 4 .type rac_config0_reg, @object .size rac_config0_reg, 4 rac_config0_reg: .zero 4 .globl b15_rac_flags .align 4 .type b15_rac_flags, @object .size b15_rac_flags, 4 b15_rac_flags: .zero 4 .globl RAC_SUSPENDED .align 4 .type RAC_SUSPENDED, @object .size RAC_SUSPENDED, 4 RAC_SUSPENDED: .zero 4 .globl RAC_ENABLED .align 4 .type RAC_ENABLED, @object .size RAC_ENABLED, 4 RAC_ENABLED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c_b15_rac_dying_cpu.c" .text .align 2 .syntax unified .arm .fpu softvfp .type b15_rac_dying_cpu, %function b15_rac_dying_cpu: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L5 push {r4, lr} ldr r1, .L5+4 ldr r0, [r3] bl test_bit cmp r0, #0 bne .L2 ldr r0, .L5+8 bl spin_lock ldr r3, .L5+12 ldr r1, .L5+4 ldr r0, [r3] bl __clear_bit bl b15_rac_disable_and_flush mov r2, r0 ldr r3, .L5+16 ldr r0, .L5+8 str r2, [r3] bl spin_unlock .L2: mov r0, #0 pop {r4, pc} .L6: .align 2 .L5: .word RAC_SUSPENDED .word b15_rac_flags .word rac_lock .word RAC_ENABLED .word rac_config0_reg .size b15_rac_dying_cpu, .-b15_rac_dying_cpu .comm rac_lock,4,4 .comm rac_config0_reg,4,4 .comm b15_rac_flags,4,4 .comm RAC_SUSPENDED,4,4 .comm RAC_ENABLED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c_b15_rac_reboot_notifier.c" .intel_syntax noprefix .text .p2align 4 .type b15_rac_reboot_notifier, @function b15_rac_reboot_notifier: .LFB0: .cfi_startproc endbr64 cmp QWORD PTR SYS_RESTART[rip], rsi je .L8 mov eax, DWORD PTR NOTIFY_DONE[rip] ret .p2align 4,,10 .p2align 3 .L8: sub rsp, 8 .cfi_def_cfa_offset 16 lea rdi, rac_lock[rip] call spin_lock@PLT xor eax, eax call b15_rac_disable_and_flush@PLT mov edi, DWORD PTR RAC_ENABLED[rip] lea rsi, b15_rac_flags[rip] call clear_bit@PLT mov edi, DWORD PTR RAC_SUSPENDED[rip] lea rsi, b15_rac_flags[rip] call set_bit@PLT lea rdi, rac_lock[rip] call spin_unlock@PLT mov eax, DWORD PTR NOTIFY_DONE[rip] add rsp, 8 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size b15_rac_reboot_notifier, .-b15_rac_reboot_notifier .globl rac_lock .bss .align 4 .type rac_lock, @object .size rac_lock, 4 rac_lock: .zero 4 .globl b15_rac_flags .align 4 .type b15_rac_flags, @object .size b15_rac_flags, 4 b15_rac_flags: .zero 4 .globl SYS_RESTART .align 8 .type SYS_RESTART, @object .size SYS_RESTART, 8 SYS_RESTART: .zero 8 .globl RAC_SUSPENDED .align 4 .type RAC_SUSPENDED, @object .size RAC_SUSPENDED, 4 RAC_SUSPENDED: .zero 4 .globl RAC_ENABLED .align 4 .type RAC_ENABLED, @object .size RAC_ENABLED, 4 RAC_ENABLED: .zero 4 .globl NOTIFY_DONE .align 4 .type NOTIFY_DONE, @object .size NOTIFY_DONE, 4 NOTIFY_DONE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c_b15_rac_reboot_notifier.c" .text .align 2 .syntax unified .arm .fpu softvfp .type b15_rac_reboot_notifier, %function b15_rac_reboot_notifier: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L9 ldr r3, [r3] cmp r3, r1 beq .L8 ldr r3, .L9+4 ldr r0, [r3] bx lr .L8: push {r4, lr} ldr r0, .L9+8 bl spin_lock bl b15_rac_disable_and_flush ldr r3, .L9+12 ldr r1, .L9+16 ldr r0, [r3] bl clear_bit ldr r3, .L9+20 ldr r1, .L9+16 ldr r0, [r3] bl set_bit ldr r0, .L9+8 bl spin_unlock ldr r3, .L9+4 ldr r0, [r3] pop {r4, pc} .L10: .align 2 .L9: .word SYS_RESTART .word NOTIFY_DONE .word rac_lock .word RAC_ENABLED .word b15_rac_flags .word RAC_SUSPENDED .size b15_rac_reboot_notifier, .-b15_rac_reboot_notifier .comm rac_lock,4,4 .comm b15_rac_flags,4,4 .comm SYS_RESTART,4,4 .comm RAC_SUSPENDED,4,4 .comm RAC_ENABLED,4,4 .comm NOTIFY_DONE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c_b15_rac_resume.c" .intel_syntax noprefix .text .p2align 4 .type b15_rac_resume, @function b15_rac_resume: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov edi, DWORD PTR rac_config0_reg[rip] call __b15_rac_enable@PLT mov edi, DWORD PTR RAC_SUSPENDED[rip] add rsp, 8 .cfi_def_cfa_offset 8 lea rsi, b15_rac_flags[rip] jmp clear_bit@PLT .cfi_endproc .LFE0: .size b15_rac_resume, .-b15_rac_resume .globl rac_config0_reg .bss .align 4 .type rac_config0_reg, @object .size rac_config0_reg, 4 rac_config0_reg: .zero 4 .globl b15_rac_flags .align 4 .type b15_rac_flags, @object .size b15_rac_flags, 4 b15_rac_flags: .zero 4 .globl RAC_SUSPENDED .align 4 .type RAC_SUSPENDED, @object .size RAC_SUSPENDED, 4 RAC_SUSPENDED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c_b15_rac_resume.c" .text .align 2 .syntax unified .arm .fpu softvfp .type b15_rac_resume, %function b15_rac_resume: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L4 push {r4, lr} ldr r0, [r3] bl __b15_rac_enable pop {r4, lr} ldr r3, .L4+4 ldr r1, .L4+8 ldr r0, [r3] b clear_bit .L5: .align 2 .L4: .word rac_config0_reg .word RAC_SUSPENDED .word b15_rac_flags .size b15_rac_resume, .-b15_rac_resume .comm rac_config0_reg,4,4 .comm b15_rac_flags,4,4 .comm RAC_SUSPENDED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-b15-rac.c_b15_rac_suspend.c" .intel_syntax noprefix .text .p2align 4 .type b15_rac_suspend, @function b15_rac_suspend: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 xor eax, eax call b15_rac_disable_and_flush@PLT mov edi, DWORD PTR RAC_SUSPENDED[rip] lea rsi, b15_rac_flags[rip] mov DWORD PTR rac_config0_reg[rip], eax call set_bit@PLT xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size b15_rac_suspend, .-b15_rac_suspend .globl rac_config0_reg .bss .align 4 .type rac_config0_reg, @object .size rac_config0_reg, 4 rac_config0_reg: .zero 4 .globl b15_rac_flags .align 4 .type b15_rac_flags, @object .size b15_rac_flags, 4 b15_rac_flags: .zero 4 .globl RAC_SUSPENDED .align 4 .type RAC_SUSPENDED, @object .size RAC_SUSPENDED, 4 RAC_SUSPENDED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-b15-rac.c_b15_rac_suspend.c" .text .align 2 .syntax unified .arm .fpu softvfp .type b15_rac_suspend, %function b15_rac_suspend: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} bl b15_rac_disable_and_flush mov r2, r0 ldr r1, .L4 ldr r3, .L4+4 ldr r0, [r1] ldr r1, .L4+8 str r2, [r3] bl set_bit mov r0, #0 pop {r4, pc} .L5: .align 2 .L4: .word RAC_SUSPENDED .word rac_config0_reg .word b15_rac_flags .size b15_rac_suspend, .-b15_rac_suspend .comm rac_config0_reg,4,4 .comm b15_rac_flags,4,4 .comm RAC_SUSPENDED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_calc_range_end.c" .intel_syntax noprefix .text .p2align 4 .type calc_range_end, @function calc_range_end: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rdi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov rbx, rsi sub rsp, 8 .cfi_def_cfa_offset 32 mov eax, DWORD PTR CACHE_LINE_SIZE[rip] lea edi, -1[rax] movsx rdi, edi and rdi, rbp call BUG_ON@PLT mov eax, DWORD PTR CACHE_LINE_SIZE[rip] lea edi, -1[rax] movsx rdi, edi and rdi, rbx call BUG_ON@PLT mov rax, QWORD PTR MAX_RANGE_SIZE[rip] add rax, rbp cmp rax, rbx cmovbe rbx, rax mov eax, DWORD PTR PAGE_SIZE[rip] sub eax, 1 cdqe or rax, rbp add rax, 1 cmp rax, rbx cmova rax, rbx add rsp, 8 .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size calc_range_end, .-calc_range_end .globl PAGE_SIZE .bss .align 4 .type PAGE_SIZE, @object .size PAGE_SIZE, 4 PAGE_SIZE: .zero 4 .globl MAX_RANGE_SIZE .align 8 .type MAX_RANGE_SIZE, @object .size MAX_RANGE_SIZE, 8 MAX_RANGE_SIZE: .zero 8 .globl CACHE_LINE_SIZE .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_calc_range_end.c" .text .align 2 .syntax unified .arm .fpu softvfp .type calc_range_end, %function calc_range_end: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r4, r0 mov r5, r1 ldr r6, .L4 ldr r0, [r6] sub r0, r0, #1 and r0, r0, r4 bl BUG_ON ldr r0, [r6] sub r0, r0, #1 and r0, r0, r5 bl BUG_ON ldr r2, .L4+4 ldr r3, .L4+8 ldr r2, [r2] ldr r3, [r3] add r2, r4, r2 cmp r2, r5 movcs r2, r5 sub r3, r3, #1 orr r0, r3, r4 add r0, r0, #1 cmp r0, r2 movcs r0, r2 pop {r4, r5, r6, pc} .L5: .align 2 .L4: .word CACHE_LINE_SIZE .word MAX_RANGE_SIZE .word PAGE_SIZE .size calc_range_end, .-calc_range_end .comm PAGE_SIZE,4,4 .comm MAX_RANGE_SIZE,4,4 .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_feroceon_l2_clean_range.c" .intel_syntax noprefix .text .p2align 4 .type feroceon_l2_clean_range, @function feroceon_l2_clean_range: .LFB0: .cfi_startproc endbr64 mov eax, DWORD PTR l2_wt_override[rip] test eax, eax jne .L6 movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 mov r12d, eax lea rax, -1[rsi+rax] push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 neg r12d movsx r12, r12d and rdi, r12 and r12, rax mov rbx, rdi cmp rdi, r12 je .L2 .p2align 4,,10 .p2align 3 .L3: mov rdi, rbx mov rsi, r12 mov rbp, rbx call calc_range_end@PLT mov rdi, rbp mov rbx, rax movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] mov rsi, rbx sub rsi, rax call l2_clean_pa_range@PLT cmp r12, rbx jne .L3 .L2: pop rbx .cfi_restore 3 .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_restore 6 .cfi_def_cfa_offset 16 pop r12 .cfi_restore 12 .cfi_def_cfa_offset 8 jmp dsb@PLT .p2align 4,,10 .p2align 3 .L6: xor eax, eax jmp dsb@PLT .cfi_endproc .LFE0: .size feroceon_l2_clean_range, .-feroceon_l2_clean_range .globl l2_wt_override .bss .align 4 .type l2_wt_override, @object .size l2_wt_override, 4 l2_wt_override: .zero 4 .globl CACHE_LINE_SIZE .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_feroceon_l2_clean_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type feroceon_l2_clean_range, %function feroceon_l2_clean_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L10 ldr r3, [r3] cmp r3, #0 bne .L6 push {r4, r5, r6, lr} ldr r6, .L10+4 ldr r4, [r6] sub r5, r4, #1 add r5, r5, r1 rsb r4, r4, #0 and r5, r5, r4 and r4, r4, r0 cmp r4, r5 beq .L2 .L3: mov r1, r5 mov r0, r4 bl calc_range_end mov r3, r4 mov r4, r0 ldr r1, [r6] mov r0, r3 sub r1, r4, r1 bl l2_clean_pa_range cmp r5, r4 bne .L3 .L2: pop {r4, r5, r6, lr} b dsb .L6: b dsb .L11: .align 2 .L10: .word l2_wt_override .word CACHE_LINE_SIZE .size feroceon_l2_clean_range, .-feroceon_l2_clean_range .comm l2_wt_override,4,4 .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_feroceon_l2_flush_range.c" .intel_syntax noprefix .text .p2align 4 .type feroceon_l2_flush_range, @function feroceon_l2_flush_range: .LFB0: .cfi_startproc endbr64 movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 mov r12d, eax lea rax, -1[rax+rsi] push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 neg r12d movsx r12, r12d and rdi, r12 and r12, rax cmp rdi, r12 je .L2 mov rbx, rdi jmp .L4 .p2align 4,,10 .p2align 3 .L3: movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] mov rsi, rbx mov rdi, rbp sub rsi, rax call l2_inv_pa_range@PLT cmp r12, rbx je .L2 .L4: mov rdi, rbx mov rsi, r12 mov rbp, rbx call calc_range_end@PLT mov rbx, rax mov eax, DWORD PTR l2_wt_override[rip] test eax, eax jne .L3 movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] mov rsi, rbx mov rdi, rbp sub rsi, rax call l2_clean_pa_range@PLT jmp .L3 .p2align 4,,10 .p2align 3 .L2: pop rbx .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp dsb@PLT .cfi_endproc .LFE0: .size feroceon_l2_flush_range, .-feroceon_l2_flush_range .globl l2_wt_override .bss .align 4 .type l2_wt_override, @object .size l2_wt_override, 4 l2_wt_override: .zero 4 .globl CACHE_LINE_SIZE .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_feroceon_l2_flush_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type feroceon_l2_flush_range, %function feroceon_l2_flush_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldr r7, .L8 ldr r3, [r7] sub r5, r3, #1 add r5, r5, r1 rsb r3, r3, #0 and r5, r5, r3 and r4, r3, r0 cmp r4, r5 beq .L2 ldr r8, .L8+4 b .L4 .L3: ldr r1, [r7] mov r0, r6 sub r1, r4, r1 bl l2_inv_pa_range cmp r5, r4 beq .L2 .L4: mov r0, r4 mov r1, r5 bl calc_range_end ldr r3, [r8] mov r6, r4 cmp r3, #0 mov r4, r0 bne .L3 ldr r1, [r7] mov r0, r6 sub r1, r4, r1 bl l2_clean_pa_range b .L3 .L2: pop {r4, r5, r6, r7, r8, lr} b dsb .L9: .align 2 .L8: .word CACHE_LINE_SIZE .word l2_wt_override .size feroceon_l2_flush_range, .-feroceon_l2_flush_range .comm l2_wt_override,4,4 .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_feroceon_l2_inv_range.c" .intel_syntax noprefix .text .p2align 4 .type feroceon_l2_inv_range, @function feroceon_l2_inv_range: .LFB0: .cfi_startproc endbr64 mov edx, DWORD PTR CACHE_LINE_SIZE[rip] push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12, rsi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 lea eax, -1[rdx] push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 mov rbx, rdi cdqe test rax, rdi jne .L15 .L2: cmp rbx, r12 jnb .L3 lea eax, -1[rdx] cdqe test rax, r12 jne .L16 .p2align 4,,10 .p2align 3 .L5: mov rdi, rbx mov rsi, r12 mov rbp, rbx call calc_range_end@PLT mov rdi, rbp mov rbx, rax movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] mov rsi, rbx sub rsi, rax call l2_inv_pa_range@PLT cmp rbx, r12 jb .L5 .L3: pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp dsb@PLT .p2align 4,,10 .p2align 3 .L15: .cfi_restore_state neg edx movsx rdi, edx and rdi, rbx call l2_clean_inv_pa@PLT mov edx, DWORD PTR CACHE_LINE_SIZE[rip] lea eax, -1[rdx] cdqe or rbx, rax add rbx, 1 jmp .L2 .p2align 4,,10 .p2align 3 .L16: neg edx movsx rdi, edx and rdi, r12 call l2_clean_inv_pa@PLT mov eax, DWORD PTR CACHE_LINE_SIZE[rip] neg eax cdqe and r12, rax cmp rbx, r12 jb .L5 jmp .L3 .cfi_endproc .LFE0: .size feroceon_l2_inv_range, .-feroceon_l2_inv_range .globl CACHE_LINE_SIZE .bss .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_feroceon_l2_inv_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type feroceon_l2_inv_range, %function feroceon_l2_inv_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r4, r0 ldr r6, .L17 mov r5, r1 ldr r0, [r6] sub r3, r0, #1 tst r3, r4 bne .L15 .L2: cmp r4, r5 bcs .L3 ldr r0, [r6] sub r3, r0, #1 tst r3, r5 bne .L16 .L5: mov r1, r5 mov r0, r4 bl calc_range_end mov r3, r4 mov r4, r0 ldr r1, [r6] mov r0, r3 sub r1, r4, r1 bl l2_inv_pa_range cmp r4, r5 bcc .L5 .L3: pop {r4, r5, r6, lr} b dsb .L15: rsb r0, r0, #0 and r0, r0, r4 bl l2_clean_inv_pa ldr r3, [r6] sub r3, r3, #1 orr r4, r3, r4 add r4, r4, #1 b .L2 .L16: rsb r0, r0, #0 and r0, r0, r5 bl l2_clean_inv_pa ldr r3, [r6] rsb r3, r3, #0 and r5, r5, r3 cmp r4, r5 bcc .L5 b .L3 .L18: .align 2 .L17: .word CACHE_LINE_SIZE .size feroceon_l2_inv_range, .-feroceon_l2_inv_range .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_clean_inv_pa.c" .intel_syntax noprefix .text .p2align 4 .type l2_clean_inv_pa, @function l2_clean_inv_pa: .LFB0: .cfi_startproc endbr64 #APP # 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_inv_pa.c" 1 mcr p15, 1, rdi, c15, c10, 3 # 0 "" 2 #NO_APP ret .cfi_endproc .LFE0: .size l2_clean_inv_pa, .-l2_clean_inv_pa .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_clean_inv_pa.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_clean_inv_pa, %function l2_clean_inv_pa: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_inv_pa.c" 1 mcr p15, 1, r0, c15, c10, 3 @ 0 "" 2 .arm .syntax unified bx lr .size l2_clean_inv_pa, .-l2_clean_inv_pa .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_clean_pa.c" .intel_syntax noprefix .text .p2align 4 .type l2_clean_pa, @function l2_clean_pa: .LFB0: .cfi_startproc endbr64 #APP # 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa.c" 1 mcr p15, 1, rdi, c15, c9, 3 # 0 "" 2 #NO_APP ret .cfi_endproc .LFE0: .size l2_clean_pa, .-l2_clean_pa .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_clean_pa.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_clean_pa, %function l2_clean_pa: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa.c" 1 mcr p15, 1, r0, c15, c9, 3 @ 0 "" 2 .arm .syntax unified bx lr .size l2_clean_pa, .-l2_clean_pa .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_clean_pa_range.c" .intel_syntax noprefix .text .p2align 4 .type l2_clean_pa_range, @function l2_clean_pa_range: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov rcx, QWORD PTR PAGE_SHIFT[rip] mov r12, rdi xor rdi, rsi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 shr rdi, cl mov rbx, rsi sub rbx, r12 call BUG_ON@PLT mov rdi, r12 xor r12d, r12d call l2_get_va@PLT mov rdi, r12 mov rbp, rax add rbx, rax call raw_local_irq_save@PLT #APP # 36 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa_range.c" 1 mcr p15, 1, rbp, c15, c9, 4 mcr p15, 1, rbx, c15, c9, 5 # 0 "" 2 #NO_APP mov rdi, r12 call raw_local_irq_restore@PLT pop rbx .cfi_def_cfa_offset 24 mov rdi, rbp pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp l2_put_va@PLT .cfi_endproc .LFE0: .size l2_clean_pa_range, .-l2_clean_pa_range .globl PAGE_SHIFT .bss .align 8 .type PAGE_SHIFT, @object .size PAGE_SHIFT, 8 PAGE_SHIFT: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_clean_pa_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_clean_pa_range, %function l2_clean_pa_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r6, r0 ldr r3, .L4 eor r0, r0, r1 ldr r3, [r3] mov r4, r1 lsr r0, r0, r3 bl BUG_ON mov r0, r6 bl l2_get_va mov r7, #0 mov r5, r0 sub r4, r4, r6 mov r0, r7 bl raw_local_irq_save add r4, r4, r5 .syntax divided @ 36 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa_range.c" 1 mcr p15, 1, r5, c15, c9, 4 mcr p15, 1, r4, c15, c9, 5 @ 0 "" 2 .arm .syntax unified mov r0, r7 bl raw_local_irq_restore mov r0, r5 pop {r4, r5, r6, r7, r8, lr} b l2_put_va .L5: .align 2 .L4: .word PAGE_SHIFT .size l2_clean_pa_range, .-l2_clean_pa_range .comm PAGE_SHIFT,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_get_va.c" .intel_syntax noprefix .text .p2align 4 .type l2_get_va, @function l2_get_va: .LFB0: .cfi_startproc endbr64 jmp __phys_to_virt@PLT .cfi_endproc .LFE0: .size l2_get_va, .-l2_get_va .globl PAGE_SHIFT .bss .align 8 .type PAGE_SHIFT, @object .size PAGE_SHIFT, 8 PAGE_SHIFT: .zero 8 .globl PAGE_MASK .align 8 .type PAGE_MASK, @object .size PAGE_MASK, 8 PAGE_MASK: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_get_va.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_get_va, %function l2_get_va: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. b __phys_to_virt .size l2_get_va, .-l2_get_va .comm PAGE_SHIFT,4,4 .comm PAGE_MASK,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_inv_all.c" .intel_syntax noprefix .text .p2align 4 .type l2_inv_all, @function l2_inv_all: .LFB0: .cfi_startproc endbr64 xor eax, eax #APP # 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_inv_all.c" 1 mcr p15, 1, eax, c15, c11, 0 # 0 "" 2 #NO_APP ret .cfi_endproc .LFE0: .size l2_inv_all, .-l2_inv_all .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_inv_all.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_inv_all, %function l2_inv_all: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. mov r3, #0 .syntax divided @ 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_inv_all.c" 1 mcr p15, 1, r3, c15, c11, 0 @ 0 "" 2 .arm .syntax unified bx lr .size l2_inv_all, .-l2_inv_all .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_inv_pa.c" .intel_syntax noprefix .text .p2align 4 .type l2_inv_pa, @function l2_inv_pa: .LFB0: .cfi_startproc endbr64 #APP # 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_inv_pa.c" 1 mcr p15, 1, rdi, c15, c11, 3 # 0 "" 2 #NO_APP ret .cfi_endproc .LFE0: .size l2_inv_pa, .-l2_inv_pa .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_inv_pa.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_inv_pa, %function l2_inv_pa: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 18 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_inv_pa.c" 1 mcr p15, 1, r0, c15, c11, 3 @ 0 "" 2 .arm .syntax unified bx lr .size l2_inv_pa, .-l2_inv_pa .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_inv_pa_range.c" .intel_syntax noprefix .text .p2align 4 .type l2_inv_pa_range, @function l2_inv_pa_range: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov rcx, QWORD PTR PAGE_SHIFT[rip] mov r12, rdi xor rdi, rsi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 shr rdi, cl mov rbx, rsi sub rbx, r12 call BUG_ON@PLT mov rdi, r12 xor r12d, r12d call l2_get_va@PLT mov rdi, r12 mov rbp, rax add rbx, rax call raw_local_irq_save@PLT #APP # 36 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_inv_pa_range.c" 1 mcr p15, 1, rbp, c15, c11, 4 mcr p15, 1, rbx, c15, c11, 5 # 0 "" 2 #NO_APP mov rdi, r12 call raw_local_irq_restore@PLT pop rbx .cfi_def_cfa_offset 24 mov rdi, rbp pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp l2_put_va@PLT .cfi_endproc .LFE0: .size l2_inv_pa_range, .-l2_inv_pa_range .globl PAGE_SHIFT .bss .align 8 .type PAGE_SHIFT, @object .size PAGE_SHIFT, 8 PAGE_SHIFT: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_inv_pa_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_inv_pa_range, %function l2_inv_pa_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r6, r0 ldr r3, .L4 eor r0, r0, r1 ldr r3, [r3] mov r4, r1 lsr r0, r0, r3 bl BUG_ON mov r0, r6 bl l2_get_va mov r7, #0 mov r5, r0 sub r4, r4, r6 mov r0, r7 bl raw_local_irq_save add r4, r4, r5 .syntax divided @ 36 "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_inv_pa_range.c" 1 mcr p15, 1, r5, c15, c11, 4 mcr p15, 1, r4, c15, c11, 5 @ 0 "" 2 .arm .syntax unified mov r0, r7 bl raw_local_irq_restore mov r0, r5 pop {r4, r5, r6, r7, r8, lr} b l2_put_va .L5: .align 2 .L4: .word PAGE_SHIFT .size l2_inv_pa_range, .-l2_inv_pa_range .comm PAGE_SHIFT,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-feroceon-l2.c_l2_put_va.c" .intel_syntax noprefix .text .p2align 4 .type l2_put_va, @function l2_put_va: .LFB0: .cfi_startproc endbr64 ret .cfi_endproc .LFE0: .size l2_put_va, .-l2_put_va .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-feroceon-l2.c_l2_put_va.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_put_va, %function l2_put_va: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. bx lr .size l2_put_va, .-l2_put_va .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c___l2x0_pmu_disable.c" .intel_syntax noprefix .text .p2align 4 .type __l2x0_pmu_disable, @function __l2x0_pmu_disable: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov rdi, QWORD PTR L2X0_EVENT_CNT_CTRL[rip] add rdi, QWORD PTR l2x0_base[rip] call readl_relaxed@PLT mov edi, DWORD PTR L2X0_EVENT_CNT_CTRL_ENABLE[rip] mov rsi, QWORD PTR L2X0_EVENT_CNT_CTRL[rip] add rsi, QWORD PTR l2x0_base[rip] add rsp, 8 .cfi_def_cfa_offset 8 not edi and edi, eax jmp writel_relaxed@PLT .cfi_endproc .LFE0: .size __l2x0_pmu_disable, .-__l2x0_pmu_disable .globl l2x0_base .bss .align 8 .type l2x0_base, @object .size l2x0_base, 8 l2x0_base: .zero 8 .globl L2X0_EVENT_CNT_CTRL_ENABLE .align 4 .type L2X0_EVENT_CNT_CTRL_ENABLE, @object .size L2X0_EVENT_CNT_CTRL_ENABLE, 4 L2X0_EVENT_CNT_CTRL_ENABLE: .zero 4 .globl L2X0_EVENT_CNT_CTRL .align 8 .type L2X0_EVENT_CNT_CTRL, @object .size L2X0_EVENT_CNT_CTRL, 8 L2X0_EVENT_CNT_CTRL: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c___l2x0_pmu_disable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __l2x0_pmu_disable, %function __l2x0_pmu_disable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r5, .L4 ldr r4, .L4+4 ldr r0, [r5] ldr r3, [r4] add r0, r0, r3 bl readl_relaxed ldr r3, .L4+8 ldr r1, [r5] ldr r2, [r4] ldr r3, [r3] add r1, r1, r2 bic r0, r0, r3 pop {r4, r5, r6, lr} b writel_relaxed .L5: .align 2 .L4: .word l2x0_base .word L2X0_EVENT_CNT_CTRL .word L2X0_EVENT_CNT_CTRL_ENABLE .size __l2x0_pmu_disable, .-__l2x0_pmu_disable .comm l2x0_base,4,4 .comm L2X0_EVENT_CNT_CTRL_ENABLE,4,4 .comm L2X0_EVENT_CNT_CTRL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c___l2x0_pmu_enable.c" .intel_syntax noprefix .text .p2align 4 .type __l2x0_pmu_enable, @function __l2x0_pmu_enable: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 mov rdi, QWORD PTR L2X0_EVENT_CNT_CTRL[rip] add rdi, QWORD PTR l2x0_base[rip] call readl_relaxed@PLT or eax, DWORD PTR L2X0_EVENT_CNT_CTRL_ENABLE[rip] mov rsi, QWORD PTR L2X0_EVENT_CNT_CTRL[rip] mov edi, eax add rsi, QWORD PTR l2x0_base[rip] add rsp, 8 .cfi_def_cfa_offset 8 jmp writel_relaxed@PLT .cfi_endproc .LFE0: .size __l2x0_pmu_enable, .-__l2x0_pmu_enable .globl l2x0_base .bss .align 8 .type l2x0_base, @object .size l2x0_base, 8 l2x0_base: .zero 8 .globl L2X0_EVENT_CNT_CTRL_ENABLE .align 4 .type L2X0_EVENT_CNT_CTRL_ENABLE, @object .size L2X0_EVENT_CNT_CTRL_ENABLE, 4 L2X0_EVENT_CNT_CTRL_ENABLE: .zero 4 .globl L2X0_EVENT_CNT_CTRL .align 8 .type L2X0_EVENT_CNT_CTRL, @object .size L2X0_EVENT_CNT_CTRL, 8 L2X0_EVENT_CNT_CTRL: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c___l2x0_pmu_enable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __l2x0_pmu_enable, %function __l2x0_pmu_enable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r5, .L4 ldr r4, .L4+4 ldr r0, [r5] ldr r3, [r4] add r0, r0, r3 bl readl_relaxed ldr r3, .L4+8 ldr r1, [r5] ldr r2, [r4] ldr r3, [r3] add r1, r1, r2 orr r0, r0, r3 pop {r4, r5, r6, lr} b writel_relaxed .L5: .align 2 .L4: .word l2x0_base .word L2X0_EVENT_CNT_CTRL .word L2X0_EVENT_CNT_CTRL_ENABLE .size __l2x0_pmu_enable, .-__l2x0_pmu_enable .comm l2x0_base,4,4 .comm L2X0_EVENT_CNT_CTRL_ENABLE,4,4 .comm L2X0_EVENT_CNT_CTRL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c___l2x0_pmu_event_disable.c" .intel_syntax noprefix .text .p2align 4 .type __l2x0_pmu_event_disable, @function __l2x0_pmu_event_disable: .LFB0: .cfi_startproc endbr64 mov ecx, DWORD PTR L2X0_EVENT_CNT_CFG_SRC_SHIFT[rip] mov esi, DWORD PTR L2X0_EVENT_CNT_CFG_SRC_DISABLED[rip] sal esi, cl or esi, DWORD PTR L2X0_EVENT_CNT_CFG_INT_DISABLED[rip] jmp l2x0_pmu_counter_config_write@PLT .cfi_endproc .LFE0: .size __l2x0_pmu_event_disable, .-__l2x0_pmu_event_disable .globl L2X0_EVENT_CNT_CFG_SRC_SHIFT .bss .align 4 .type L2X0_EVENT_CNT_CFG_SRC_SHIFT, @object .size L2X0_EVENT_CNT_CFG_SRC_SHIFT, 4 L2X0_EVENT_CNT_CFG_SRC_SHIFT: .zero 4 .globl L2X0_EVENT_CNT_CFG_SRC_DISABLED .align 4 .type L2X0_EVENT_CNT_CFG_SRC_DISABLED, @object .size L2X0_EVENT_CNT_CFG_SRC_DISABLED, 4 L2X0_EVENT_CNT_CFG_SRC_DISABLED: .zero 4 .globl L2X0_EVENT_CNT_CFG_INT_DISABLED .align 4 .type L2X0_EVENT_CNT_CFG_INT_DISABLED, @object .size L2X0_EVENT_CNT_CFG_INT_DISABLED, 4 L2X0_EVENT_CNT_CFG_INT_DISABLED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c___l2x0_pmu_event_disable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __l2x0_pmu_event_disable, %function __l2x0_pmu_event_disable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r1, .L3 ldr r2, .L3+4 ldr r3, .L3+8 ldr r1, [r1] ldr r2, [r2] ldr r3, [r3] orr r1, r3, r1, lsl r2 b l2x0_pmu_counter_config_write .L4: .align 2 .L3: .word L2X0_EVENT_CNT_CFG_SRC_DISABLED .word L2X0_EVENT_CNT_CFG_SRC_SHIFT .word L2X0_EVENT_CNT_CFG_INT_DISABLED .size __l2x0_pmu_event_disable, .-__l2x0_pmu_event_disable .comm L2X0_EVENT_CNT_CFG_SRC_SHIFT,4,4 .comm L2X0_EVENT_CNT_CFG_SRC_DISABLED,4,4 .comm L2X0_EVENT_CNT_CFG_INT_DISABLED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c___l2x0_pmu_event_enable.c" .intel_syntax noprefix .text .p2align 4 .type __l2x0_pmu_event_enable, @function __l2x0_pmu_event_enable: .LFB0: .cfi_startproc endbr64 mov ecx, DWORD PTR L2X0_EVENT_CNT_CFG_SRC_SHIFT[rip] sal esi, cl or esi, DWORD PTR L2X0_EVENT_CNT_CFG_INT_DISABLED[rip] jmp l2x0_pmu_counter_config_write@PLT .cfi_endproc .LFE0: .size __l2x0_pmu_event_enable, .-__l2x0_pmu_event_enable .globl L2X0_EVENT_CNT_CFG_SRC_SHIFT .bss .align 4 .type L2X0_EVENT_CNT_CFG_SRC_SHIFT, @object .size L2X0_EVENT_CNT_CFG_SRC_SHIFT, 4 L2X0_EVENT_CNT_CFG_SRC_SHIFT: .zero 4 .globl L2X0_EVENT_CNT_CFG_INT_DISABLED .align 4 .type L2X0_EVENT_CNT_CFG_INT_DISABLED, @object .size L2X0_EVENT_CNT_CFG_INT_DISABLED, 4 L2X0_EVENT_CNT_CFG_INT_DISABLED: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c___l2x0_pmu_event_enable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __l2x0_pmu_event_enable, %function __l2x0_pmu_event_enable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r2, .L3 ldr r3, .L3+4 ldr r2, [r2] ldr r3, [r3] orr r1, r3, r1, lsl r2 b l2x0_pmu_counter_config_write .L4: .align 2 .L3: .word L2X0_EVENT_CNT_CFG_SRC_SHIFT .word L2X0_EVENT_CNT_CFG_INT_DISABLED .size __l2x0_pmu_event_enable, .-__l2x0_pmu_event_enable .comm L2X0_EVENT_CNT_CFG_SRC_SHIFT,4,4 .comm L2X0_EVENT_CNT_CFG_INT_DISABLED,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_counter_config_write.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_counter_config_write, @function l2x0_pmu_counter_config_write: .LFB0: .cfi_startproc endbr64 sal edi, 2 mov r8d, esi mov rsi, QWORD PTR L2X0_EVENT_CNT0_CFG[rip] add rsi, QWORD PTR l2x0_base[rip] movsx rdi, edi sub rsi, rdi mov edi, r8d jmp writel_relaxed@PLT .cfi_endproc .LFE0: .size l2x0_pmu_counter_config_write, .-l2x0_pmu_counter_config_write .globl l2x0_base .bss .align 8 .type l2x0_base, @object .size l2x0_base, 8 l2x0_base: .zero 8 .globl L2X0_EVENT_CNT0_CFG .align 8 .type L2X0_EVENT_CNT0_CFG, @object .size L2X0_EVENT_CNT0_CFG, 8 L2X0_EVENT_CNT0_CFG: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_counter_config_write.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_counter_config_write, %function l2x0_pmu_counter_config_write: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. mov r2, r0 ldr r3, .L3 ldr r0, .L3+4 ldr r3, [r3] ldr ip, [r0] mov r0, r1 add r1, r3, ip sub r1, r1, r2, lsl #2 b writel_relaxed .L4: .align 2 .L3: .word l2x0_base .word L2X0_EVENT_CNT0_CFG .size l2x0_pmu_counter_config_write, .-l2x0_pmu_counter_config_write .comm l2x0_base,4,4 .comm L2X0_EVENT_CNT0_CFG,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_counter_read.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_counter_read, @function l2x0_pmu_counter_read: .LFB0: .cfi_startproc endbr64 mov r8d, edi mov rdi, QWORD PTR L2X0_EVENT_CNT0_VAL[rip] add rdi, QWORD PTR l2x0_base[rip] lea eax, 0[0+r8*4] cdqe sub rdi, rax jmp readl_relaxed@PLT .cfi_endproc .LFE0: .size l2x0_pmu_counter_read, .-l2x0_pmu_counter_read .globl l2x0_base .bss .align 8 .type l2x0_base, @object .size l2x0_base, 8 l2x0_base: .zero 8 .globl L2X0_EVENT_CNT0_VAL .align 8 .type L2X0_EVENT_CNT0_VAL, @object .size L2X0_EVENT_CNT0_VAL, 8 L2X0_EVENT_CNT0_VAL: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_counter_read.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_counter_read, %function l2x0_pmu_counter_read: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L3 ldr r2, .L3+4 ldr r3, [r3] ldr r2, [r2] add r3, r3, r2 sub r0, r3, r0, lsl #2 b readl_relaxed .L4: .align 2 .L3: .word l2x0_base .word L2X0_EVENT_CNT0_VAL .size l2x0_pmu_counter_read, .-l2x0_pmu_counter_read .comm l2x0_base,4,4 .comm L2X0_EVENT_CNT0_VAL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_counter_write.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_counter_write, @function l2x0_pmu_counter_write: .LFB0: .cfi_startproc endbr64 sal edi, 2 mov r8d, esi mov rsi, QWORD PTR L2X0_EVENT_CNT0_VAL[rip] add rsi, QWORD PTR l2x0_base[rip] movsx rdi, edi sub rsi, rdi mov edi, r8d jmp writel_relaxed@PLT .cfi_endproc .LFE0: .size l2x0_pmu_counter_write, .-l2x0_pmu_counter_write .globl l2x0_base .bss .align 8 .type l2x0_base, @object .size l2x0_base, 8 l2x0_base: .zero 8 .globl L2X0_EVENT_CNT0_VAL .align 8 .type L2X0_EVENT_CNT0_VAL, @object .size L2X0_EVENT_CNT0_VAL, 8 L2X0_EVENT_CNT0_VAL: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_counter_write.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_counter_write, %function l2x0_pmu_counter_write: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. mov r2, r0 ldr r3, .L3 ldr r0, .L3+4 ldr r3, [r3] ldr ip, [r0] mov r0, r1 add r1, r3, ip sub r1, r1, r2, lsl #2 b writel_relaxed .L4: .align 2 .L3: .word l2x0_base .word L2X0_EVENT_CNT0_VAL .size l2x0_pmu_counter_write, .-l2x0_pmu_counter_write .comm l2x0_base,4,4 .comm L2X0_EVENT_CNT0_VAL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_cpumask_show.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_cpumask_show, @function l2x0_pmu_cpumask_show: .LFB0: .cfi_startproc endbr64 mov rsi, rdx mov edi, 1 lea rdx, pmu_cpu[rip] jmp cpumap_print_to_pagebuf@PLT .cfi_endproc .LFE0: .size l2x0_pmu_cpumask_show, .-l2x0_pmu_cpumask_show .globl pmu_cpu .bss .align 4 .type pmu_cpu, @object .size pmu_cpu, 4 pmu_cpu: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_cpumask_show.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_cpumask_show, %function l2x0_pmu_cpumask_show: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. mov r1, r2 mov r0, #1 ldr r2, .L3 b cpumap_print_to_pagebuf .L4: .align 2 .L3: .word pmu_cpu .size l2x0_pmu_cpumask_show, .-l2x0_pmu_cpumask_show .comm pmu_cpu,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_disable.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_disable, @function l2x0_pmu_disable: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 xor eax, eax call l2x0_pmu_num_active_counters@PLT test rax, rax jne .L5 add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L5: .cfi_restore_state xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 jmp __l2x0_pmu_disable@PLT .cfi_endproc .LFE0: .size l2x0_pmu_disable, .-l2x0_pmu_disable .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_disable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_disable, %function l2x0_pmu_disable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} bl l2x0_pmu_num_active_counters cmp r0, #0 popeq {r4, pc} pop {r4, lr} b __l2x0_pmu_disable .size l2x0_pmu_disable, .-l2x0_pmu_disable .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_enable.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_enable, @function l2x0_pmu_enable: .LFB0: .cfi_startproc endbr64 sub rsp, 8 .cfi_def_cfa_offset 16 xor eax, eax call l2x0_pmu_num_active_counters@PLT test rax, rax jne .L5 add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L5: .cfi_restore_state xor eax, eax add rsp, 8 .cfi_def_cfa_offset 8 jmp __l2x0_pmu_enable@PLT .cfi_endproc .LFE0: .size l2x0_pmu_enable, .-l2x0_pmu_enable .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_enable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_enable, %function l2x0_pmu_enable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} bl l2x0_pmu_num_active_counters cmp r0, #0 popeq {r4, pc} pop {r4, lr} b __l2x0_pmu_enable .size l2x0_pmu_enable, .-l2x0_pmu_enable .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_add.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_add, @function l2x0_pmu_event_add: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 xor eax, eax mov r12, rdi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 mov ebx, esi call l2x0_pmu_find_idx@PLT cmp eax, -1 je .L10 mov ebp, eax xor eax, eax call l2x0_pmu_num_active_counters@PLT test rax, rax je .L11 .L4: mov rax, QWORD PTR events[rip] movsx rdx, ebp mov rdi, r12 mov QWORD PTR [rax+rdx*8], r12 mov DWORD PTR [r12], ebp call l2x0_pmu_event_configure@PLT mov eax, DWORD PTR PERF_HES_STOPPED[rip] or eax, DWORD PTR PERF_HES_UPTODATE[rip] mov DWORD PTR 4[r12], eax mov eax, ebx and eax, DWORD PTR PERF_EF_START[rip] jne .L12 pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L12: .cfi_restore_state mov rdi, r12 xor esi, esi call l2x0_pmu_event_start@PLT pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L11: .cfi_restore_state mov edx, DWORD PTR HRTIMER_MODE_REL_PINNED[rip] mov esi, DWORD PTR l2x0_pmu_poll_period[rip] lea rdi, l2x0_pmu_hrtimer[rip] call hrtimer_start@PLT jmp .L4 .p2align 4,,10 .p2align 3 .L10: mov eax, DWORD PTR EAGAIN[rip] pop rbx .cfi_def_cfa_offset 24 pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 neg eax ret .cfi_endproc .LFE0: .size l2x0_pmu_event_add, .-l2x0_pmu_event_add .globl l2x0_pmu_poll_period .bss .align 4 .type l2x0_pmu_poll_period, @object .size l2x0_pmu_poll_period, 4 l2x0_pmu_poll_period: .zero 4 .globl l2x0_pmu_hrtimer .align 4 .type l2x0_pmu_hrtimer, @object .size l2x0_pmu_hrtimer, 4 l2x0_pmu_hrtimer: .zero 4 .globl events .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PERF_HES_UPTODATE .align 4 .type PERF_HES_UPTODATE, @object .size PERF_HES_UPTODATE, 4 PERF_HES_UPTODATE: .zero 4 .globl PERF_HES_STOPPED .align 4 .type PERF_HES_STOPPED, @object .size PERF_HES_STOPPED, 4 PERF_HES_STOPPED: .zero 4 .globl PERF_EF_START .align 4 .type PERF_EF_START, @object .size PERF_EF_START, 4 PERF_EF_START: .zero 4 .globl HRTIMER_MODE_REL_PINNED .align 4 .type HRTIMER_MODE_REL_PINNED, @object .size HRTIMER_MODE_REL_PINNED, 4 HRTIMER_MODE_REL_PINNED: .zero 4 .globl EAGAIN .align 4 .type EAGAIN, @object .size EAGAIN, 4 EAGAIN: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_add.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_add, %function l2x0_pmu_event_add: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r6, r0 mov r4, r1 bl l2x0_pmu_find_idx cmn r0, #1 beq .L10 mov r5, r0 bl l2x0_pmu_num_active_counters cmp r0, #0 beq .L11 .L4: ldr r3, .L12 mov r0, r6 ldr r3, [r3] str r6, [r3, r5, lsl #2] str r5, [r6] bl l2x0_pmu_event_configure ldr r3, .L12+4 ldr r2, .L12+8 ldr r1, .L12+12 ldr r3, [r3] ldr r2, [r2] ldr r0, [r1] orr r3, r3, r2 ands r0, r4, r0 str r3, [r6, #4] popeq {r4, r5, r6, pc} mov r0, r6 mov r1, #0 bl l2x0_pmu_event_start mov r0, #0 pop {r4, r5, r6, pc} .L11: ldr r3, .L12+16 ldr r2, .L12+20 ldr r1, [r3] ldr r2, [r2] ldr r0, .L12+24 bl hrtimer_start b .L4 .L10: ldr r3, .L12+28 ldr r0, [r3] rsb r0, r0, #0 pop {r4, r5, r6, pc} .L13: .align 2 .L12: .word events .word PERF_HES_STOPPED .word PERF_HES_UPTODATE .word PERF_EF_START .word l2x0_pmu_poll_period .word HRTIMER_MODE_REL_PINNED .word l2x0_pmu_hrtimer .word EAGAIN .size l2x0_pmu_event_add, .-l2x0_pmu_event_add .comm l2x0_pmu_poll_period,4,4 .comm l2x0_pmu_hrtimer,4,4 .comm events,4,4 .comm PERF_HES_UPTODATE,4,4 .comm PERF_HES_STOPPED,4,4 .comm PERF_EF_START,4,4 .comm HRTIMER_MODE_REL_PINNED,4,4 .comm EAGAIN,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_configure.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_configure, @function l2x0_pmu_event_configure: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 xor esi, esi mov rbx, rdi lea rdi, 4[rdi] call local64_set@PLT mov edi, DWORD PTR [rbx] xor esi, esi pop rbx .cfi_def_cfa_offset 8 jmp l2x0_pmu_counter_write@PLT .cfi_endproc .LFE0: .size l2x0_pmu_event_configure, .-l2x0_pmu_event_configure .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_configure.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_configure, %function l2x0_pmu_event_configure: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} mov r4, r0 mov r1, #0 add r0, r0, #4 bl local64_set ldr r0, [r4] mov r1, #0 pop {r4, lr} b l2x0_pmu_counter_write .size l2x0_pmu_event_configure, .-l2x0_pmu_event_configure .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_del.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_del, @function l2x0_pmu_event_del: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 mov esi, DWORD PTR PERF_EF_UPDATE[rip] mov rbx, rdi call l2x0_pmu_event_stop@PLT mov rax, QWORD PTR events[rip] mov rdx, QWORD PTR [rbx] mov QWORD PTR [rax+rdx*8], 0 xor eax, eax mov QWORD PTR [rbx], -1 call l2x0_pmu_num_active_counters@PLT test rax, rax je .L5 pop rbx .cfi_remember_state .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L5: .cfi_restore_state lea rdi, l2x0_pmu_hrtimer[rip] pop rbx .cfi_def_cfa_offset 8 jmp hrtimer_cancel@PLT .cfi_endproc .LFE0: .size l2x0_pmu_event_del, .-l2x0_pmu_event_del .globl l2x0_pmu_hrtimer .bss .align 4 .type l2x0_pmu_hrtimer, @object .size l2x0_pmu_hrtimer, 4 l2x0_pmu_hrtimer: .zero 4 .globl events .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PERF_EF_UPDATE .align 4 .type PERF_EF_UPDATE, @object .size PERF_EF_UPDATE, 4 PERF_EF_UPDATE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_del.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_del, %function l2x0_pmu_event_del: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L5 push {r4, lr} mov r4, r0 ldr r1, [r3] bl l2x0_pmu_event_stop mov r0, #0 mvn r3, #0 ldr r2, .L5+4 ldr r1, [r4] ldr r2, [r2] str r0, [r2, r1, lsl #2] str r3, [r4] bl l2x0_pmu_num_active_counters cmp r0, #0 popne {r4, pc} ldr r0, .L5+8 pop {r4, lr} b hrtimer_cancel .L6: .align 2 .L5: .word PERF_EF_UPDATE .word events .word l2x0_pmu_hrtimer .size l2x0_pmu_event_del, .-l2x0_pmu_event_del .comm l2x0_pmu_hrtimer,4,4 .comm events,4,4 .comm PERF_EF_UPDATE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_init.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_init, @function l2x0_pmu_event_init: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 sub rsp, 8 .cfi_def_cfa_offset 32 mov rax, QWORD PTR l2x0_pmu[rip] mov rax, QWORD PTR [rax] cmp QWORD PTR 16[rdi], rax je .L2 mov r12d, DWORD PTR ENOENT[rip] neg r12d .L1: add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 mov eax, r12d pop rbx .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L2: .cfi_restore_state mov rbx, rdi call is_sampling_event@PLT test rax, rax jne .L8 mov eax, DWORD PTR [rbx] and eax, DWORD PTR PERF_ATTACH_TASK[rip] jne .L8 cmp QWORD PTR 8[rbx], 0 js .L8 mov r12d, DWORD PTR L2X0_EVENT_CNT_CFG_SRC_MASK[rip] mov eax, DWORD PTR 24[rbx] not r12d and r12d, eax jne .L8 mov DWORD PTR 32[rbx], eax mov rdi, rbx call l2x0_pmu_group_is_valid@PLT test eax, eax jne .L6 .L8: mov r12d, DWORD PTR EINVAL[rip] add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 neg r12d mov eax, r12d pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L6: .cfi_restore_state lea rdi, pmu_cpu[rip] call cpumask_first@PLT mov QWORD PTR 8[rbx], rax jmp .L1 .cfi_endproc .LFE0: .size l2x0_pmu_event_init, .-l2x0_pmu_event_init .globl pmu_cpu .bss .align 4 .type pmu_cpu, @object .size pmu_cpu, 4 pmu_cpu: .zero 4 .globl l2x0_pmu .align 8 .type l2x0_pmu, @object .size l2x0_pmu, 8 l2x0_pmu: .zero 8 .globl PERF_ATTACH_TASK .align 4 .type PERF_ATTACH_TASK, @object .size PERF_ATTACH_TASK, 4 PERF_ATTACH_TASK: .zero 4 .globl L2X0_EVENT_CNT_CFG_SRC_MASK .align 4 .type L2X0_EVENT_CNT_CFG_SRC_MASK, @object .size L2X0_EVENT_CNT_CFG_SRC_MASK, 4 L2X0_EVENT_CNT_CFG_SRC_MASK: .zero 4 .globl ENOENT .align 4 .type ENOENT, @object .size ENOENT, 4 ENOENT: .zero 4 .globl EINVAL .align 4 .type EINVAL, @object .size EINVAL, 4 EINVAL: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_init.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_init, %function l2x0_pmu_event_init: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L10 ldr r2, [r0, #8] ldr r3, [r3] push {r4, r5, r6, lr} ldr r3, [r3] cmp r2, r3 beq .L2 ldr r3, .L10+4 ldr r5, [r3] rsb r5, r5, #0 .L1: mov r0, r5 pop {r4, r5, r6, pc} .L2: mov r4, r0 bl is_sampling_event cmp r0, #0 bne .L8 ldr r3, .L10+8 ldr r2, [r4] ldr r3, [r3] tst r2, r3 bne .L8 ldr r3, [r4, #4] cmp r3, #0 blt .L8 ldr r2, .L10+12 ldr r3, [r4, #12] ldr r5, [r2] bics r5, r3, r5 bne .L8 mov r0, r4 str r3, [r4, #16] bl l2x0_pmu_group_is_valid cmp r0, #0 bne .L6 .L8: ldr r3, .L10+16 ldr r5, [r3] rsb r5, r5, #0 mov r0, r5 pop {r4, r5, r6, pc} .L6: ldr r0, .L10+20 bl cpumask_first str r0, [r4, #4] b .L1 .L11: .align 2 .L10: .word l2x0_pmu .word ENOENT .word PERF_ATTACH_TASK .word L2X0_EVENT_CNT_CFG_SRC_MASK .word EINVAL .word pmu_cpu .size l2x0_pmu_event_init, .-l2x0_pmu_event_init .comm pmu_cpu,4,4 .comm l2x0_pmu,4,4 .comm PERF_ATTACH_TASK,4,4 .comm L2X0_EVENT_CNT_CFG_SRC_MASK,4,4 .comm ENOENT,4,4 .comm EINVAL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_read.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_read, @function l2x0_pmu_event_read: .LFB0: .cfi_startproc endbr64 push r14 .cfi_def_cfa_offset 16 .cfi_offset 14, -16 mov r14, rdi push r13 .cfi_def_cfa_offset 24 .cfi_offset 13, -24 lea r13, 8[rdi] push r12 .cfi_def_cfa_offset 32 .cfi_offset 12, -32 push rbp .cfi_def_cfa_offset 40 .cfi_offset 6, -40 push rbx .cfi_def_cfa_offset 48 .cfi_offset 3, -48 .p2align 4,,10 .p2align 3 .L2: mov rdi, r13 call local64_read@PLT mov edi, DWORD PTR 4[r14] mov r12, rax call l2x0_pmu_counter_read@PLT mov rdi, r13 mov rsi, rax mov rbp, rax call local64_xchg@PLT mov rbx, rax cmp rax, r12 jne .L2 xor esi, esi mov edi, 31 call GENMASK_ULL@PLT mov rdi, rbp mov rsi, r14 sub rdi, rbx and rdi, rax call local64_add@PLT pop rbx .cfi_def_cfa_offset 40 mov rdi, rbp pop rbp .cfi_def_cfa_offset 32 pop r12 .cfi_def_cfa_offset 24 pop r13 .cfi_def_cfa_offset 16 pop r14 .cfi_def_cfa_offset 8 jmp warn_if_saturated@PLT .cfi_endproc .LFE0: .size l2x0_pmu_event_read, .-l2x0_pmu_event_read .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_read.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_read, %function l2x0_pmu_event_read: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r7, r0 add r8, r0, #8 .L2: mov r0, r8 bl local64_read mov r6, r0 ldr r0, [r7, #4] bl l2x0_pmu_counter_read mov r5, r0 mov r0, r8 mov r1, r5 bl local64_xchg cmp r0, r6 mov r4, r0 bne .L2 mov r1, #0 mov r0, #31 bl GENMASK_ULL sub r4, r5, r4 mov r1, r7 and r0, r0, r4 bl local64_add mov r0, r5 pop {r4, r5, r6, r7, r8, lr} b warn_if_saturated .size l2x0_pmu_event_read, .-l2x0_pmu_event_read .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_start.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_start, @function l2x0_pmu_event_start: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ebp, esi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov rbx, rdi sub rsp, 8 .cfi_def_cfa_offset 32 mov eax, DWORD PTR [rdi] xor edi, edi and eax, DWORD PTR PERF_HES_STOPPED[rip] sete dil call WARN_ON_ONCE@PLT test rax, rax jne .L1 mov esi, ebp and esi, DWORD PTR PERF_EF_RELOAD[rip] jne .L9 .L3: mov esi, DWORD PTR 4[rbx] mov edi, DWORD PTR 8[rbx] mov DWORD PTR [rbx], 0 add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 jmp __l2x0_pmu_event_enable@PLT .p2align 4,,10 .p2align 3 .L9: .cfi_restore_state mov eax, DWORD PTR [rbx] xor edi, edi and eax, DWORD PTR PERF_HES_UPTODATE[rip] sete dil call WARN_ON_ONCE@PLT mov rdi, rbx call l2x0_pmu_event_configure@PLT jmp .L3 .p2align 4,,10 .p2align 3 .L1: add rsp, 8 .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size l2x0_pmu_event_start, .-l2x0_pmu_event_start .globl PERF_HES_UPTODATE .bss .align 4 .type PERF_HES_UPTODATE, @object .size PERF_HES_UPTODATE, 4 PERF_HES_UPTODATE: .zero 4 .globl PERF_HES_STOPPED .align 4 .type PERF_HES_STOPPED, @object .size PERF_HES_STOPPED, 4 PERF_HES_STOPPED: .zero 4 .globl PERF_EF_RELOAD .align 4 .type PERF_EF_RELOAD, @object .size PERF_EF_RELOAD, 4 PERF_EF_RELOAD: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_start.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_start, %function l2x0_pmu_event_start: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L10 ldr r2, [r0] ldr r3, [r3] push {r4, r5, r6, lr} tst r2, r3 mov r4, r0 moveq r0, #1 movne r0, #0 mov r5, r1 bl WARN_ON_ONCE cmp r0, #0 popne {r4, r5, r6, pc} ldr r3, .L10+4 ldr r3, [r3] tst r5, r3 bne .L9 .L3: mov r3, #0 ldr r1, [r4, #4] ldr r0, [r4, #8] str r3, [r4] pop {r4, r5, r6, lr} b __l2x0_pmu_event_enable .L9: ldr r3, .L10+8 ldr r2, [r4] ldr r3, [r3] tst r2, r3 moveq r0, #1 movne r0, #0 bl WARN_ON_ONCE mov r0, r4 bl l2x0_pmu_event_configure b .L3 .L11: .align 2 .L10: .word PERF_HES_STOPPED .word PERF_EF_RELOAD .word PERF_HES_UPTODATE .size l2x0_pmu_event_start, .-l2x0_pmu_event_start .comm PERF_HES_UPTODATE,4,4 .comm PERF_HES_STOPPED,4,4 .comm PERF_EF_RELOAD,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_stop.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_event_stop, @function l2x0_pmu_event_stop: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ebp, esi push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 mov rbx, rdi sub rsp, 8 .cfi_def_cfa_offset 32 mov edi, DWORD PTR [rdi] and edi, DWORD PTR PERF_HES_STOPPED[rip] call WARN_ON_ONCE@PLT test rax, rax je .L10 .L1: add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L10: .cfi_restore_state mov edi, DWORD PTR 4[rbx] call __l2x0_pmu_event_disable@PLT mov eax, DWORD PTR PERF_HES_STOPPED[rip] mov esi, ebp or DWORD PTR [rbx], eax and esi, DWORD PTR PERF_EF_UPDATE[rip] je .L1 mov rdi, rbx call l2x0_pmu_event_read@PLT mov eax, DWORD PTR PERF_HES_UPTODATE[rip] or DWORD PTR [rbx], eax add rsp, 8 .cfi_def_cfa_offset 24 pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size l2x0_pmu_event_stop, .-l2x0_pmu_event_stop .globl PERF_HES_UPTODATE .bss .align 4 .type PERF_HES_UPTODATE, @object .size PERF_HES_UPTODATE, 4 PERF_HES_UPTODATE: .zero 4 .globl PERF_HES_STOPPED .align 4 .type PERF_HES_STOPPED, @object .size PERF_HES_STOPPED, 4 PERF_HES_STOPPED: .zero 4 .globl PERF_EF_UPDATE .align 4 .type PERF_EF_UPDATE, @object .size PERF_EF_UPDATE, 4 PERF_EF_UPDATE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_event_stop.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_event_stop, %function l2x0_pmu_event_stop: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r5, .L10 mov r4, r0 ldr r3, [r5] ldr r0, [r0] mov r6, r1 and r0, r0, r3 bl WARN_ON_ONCE cmp r0, #0 popne {r4, r5, r6, pc} ldr r0, [r4, #4] bl __l2x0_pmu_event_disable ldr r2, .L10+4 ldr r1, [r5] ldr r3, [r4] ldr r2, [r2] orr r3, r3, r1 tst r6, r2 str r3, [r4] popeq {r4, r5, r6, pc} mov r0, r4 bl l2x0_pmu_event_read ldr r2, .L10+8 ldr r3, [r4] ldr r2, [r2] orr r3, r3, r2 str r3, [r4] pop {r4, r5, r6, pc} .L11: .align 2 .L10: .word PERF_HES_STOPPED .word PERF_EF_UPDATE .word PERF_HES_UPTODATE .size l2x0_pmu_event_stop, .-l2x0_pmu_event_stop .comm PERF_HES_UPTODATE,4,4 .comm PERF_HES_STOPPED,4,4 .comm PERF_EF_UPDATE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_find_idx.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_find_idx, @function l2x0_pmu_find_idx: .LFB0: .cfi_startproc endbr64 movsx rdx, DWORD PTR PMU_NR_COUNTERS[rip] test edx, edx jle .L4 mov rcx, QWORD PTR events[rip] xor eax, eax jmp .L3 .p2align 4,,10 .p2align 3 .L7: add rax, 1 cmp rax, rdx je .L4 .L3: mov esi, DWORD PTR [rcx+rax*4] mov r8d, eax test esi, esi jne .L7 mov eax, r8d ret .p2align 4,,10 .p2align 3 .L4: mov r8d, -1 mov eax, r8d ret .cfi_endproc .LFE0: .size l2x0_pmu_find_idx, .-l2x0_pmu_find_idx .globl events .bss .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PMU_NR_COUNTERS .align 4 .type PMU_NR_COUNTERS, @object .size PMU_NR_COUNTERS, 4 PMU_NR_COUNTERS: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_find_idx.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_find_idx, %function l2x0_pmu_find_idx: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L10 ldr r1, [r3] cmp r1, #0 ble .L4 mov r0, #0 ldr r3, .L10+4 ldr r3, [r3] sub r3, r3, #4 .L3: ldr r2, [r3, #4]! cmp r2, #0 bxeq lr add r0, r0, #1 cmp r0, r1 bne .L3 .L4: mvn r0, #0 bx lr .L11: .align 2 .L10: .word PMU_NR_COUNTERS .word events .size l2x0_pmu_find_idx, .-l2x0_pmu_find_idx .comm events,4,4 .comm PMU_NR_COUNTERS,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_num_active_counters.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_num_active_counters, @function l2x0_pmu_num_active_counters: .LFB0: .cfi_startproc endbr64 mov eax, DWORD PTR PMU_NR_COUNTERS[rip] test eax, eax jle .L5 mov rdx, QWORD PTR events[rip] lea ecx, -1[rax] xor r8d, r8d lea rax, 8[rdx] lea rcx, [rax+rcx*8] jmp .L4 .p2align 4,,10 .p2align 3 .L8: add rax, 8 .L4: cmp QWORD PTR [rdx], 1 mov rdx, rax sbb r8d, -1 cmp rax, rcx jne .L8 mov eax, r8d ret .p2align 4,,10 .p2align 3 .L5: xor r8d, r8d mov eax, r8d ret .cfi_endproc .LFE0: .size l2x0_pmu_num_active_counters, .-l2x0_pmu_num_active_counters .globl events .bss .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PMU_NR_COUNTERS .align 4 .type PMU_NR_COUNTERS, @object .size PMU_NR_COUNTERS, 4 PMU_NR_COUNTERS: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_num_active_counters.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_num_active_counters, %function l2x0_pmu_num_active_counters: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L12 mov r0, #0 ldr r1, [r3] cmp r1, #0 bxle lr ldr r3, .L12+4 ldr r3, [r3] sub r3, r3, #4 add r1, r3, r1, lsl #2 .L4: ldr r2, [r3, #4]! cmp r2, #0 addne r0, r0, #1 cmp r3, r1 bne .L4 bx lr .L13: .align 2 .L12: .word PMU_NR_COUNTERS .word events .size l2x0_pmu_num_active_counters, .-l2x0_pmu_num_active_counters .comm events,4,4 .comm PMU_NR_COUNTERS,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_offline_cpu.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_offline_cpu, @function l2x0_pmu_offline_cpu: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 lea rsi, pmu_cpu[rip] push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 mov ebp, edi sub rsp, 8 .cfi_def_cfa_offset 32 call cpumask_test_and_clear_cpu@PLT test eax, eax jne .L7 .L3: add rsp, 8 .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .p2align 4,,10 .p2align 3 .L7: .cfi_restore_state mov edi, DWORD PTR cpu_online_mask[rip] mov esi, ebp call cpumask_any_but@PLT cmp DWORD PTR nr_cpu_ids[rip], eax mov r12d, eax jbe .L3 mov edi, DWORD PTR l2x0_pmu[rip] mov esi, ebp mov edx, eax call perf_pmu_migrate_context@PLT mov edi, r12d lea rsi, pmu_cpu[rip] call cpumask_set_cpu@PLT add rsp, 8 .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size l2x0_pmu_offline_cpu, .-l2x0_pmu_offline_cpu .globl pmu_cpu .bss .align 4 .type pmu_cpu, @object .size pmu_cpu, 4 pmu_cpu: .zero 4 .globl nr_cpu_ids .align 4 .type nr_cpu_ids, @object .size nr_cpu_ids, 4 nr_cpu_ids: .zero 4 .globl l2x0_pmu .align 4 .type l2x0_pmu, @object .size l2x0_pmu, 4 l2x0_pmu: .zero 4 .globl cpu_online_mask .align 4 .type cpu_online_mask, @object .size cpu_online_mask, 4 cpu_online_mask: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_offline_cpu.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_offline_cpu, %function l2x0_pmu_offline_cpu: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r1, .L8 mov r4, r0 bl cpumask_test_and_clear_cpu cmp r0, #0 bne .L7 .L3: mov r0, #0 pop {r4, r5, r6, pc} .L7: ldr r3, .L8+4 mov r1, r4 ldr r0, [r3] bl cpumask_any_but ldr r3, .L8+8 mov r5, r0 ldr r3, [r3] cmp r3, r0 bls .L3 ldr r3, .L8+12 mov r1, r4 mov r2, r5 ldr r0, [r3] bl perf_pmu_migrate_context mov r0, r5 ldr r1, .L8 bl cpumask_set_cpu mov r0, #0 pop {r4, r5, r6, pc} .L9: .align 2 .L8: .word pmu_cpu .word cpu_online_mask .word nr_cpu_ids .word l2x0_pmu .size l2x0_pmu_offline_cpu, .-l2x0_pmu_offline_cpu .comm pmu_cpu,4,4 .comm nr_cpu_ids,4,4 .comm l2x0_pmu,4,4 .comm cpu_online_mask,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_poll.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_poll, @function l2x0_pmu_poll: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12, rdi xor edi, edi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 call local_irq_save@PLT xor eax, eax call __l2x0_pmu_disable@PLT mov eax, DWORD PTR PMU_NR_COUNTERS[rip] test eax, eax jle .L2 xor ebx, ebx .p2align 4,,10 .p2align 3 .L4: mov rax, QWORD PTR events[rip] mov rbp, QWORD PTR [rax+rbx*8] test rbp, rbp je .L3 mov rdi, rbp call l2x0_pmu_event_read@PLT mov rdi, rbp call l2x0_pmu_event_configure@PLT .L3: add rbx, 1 cmp DWORD PTR PMU_NR_COUNTERS[rip], ebx jg .L4 .L2: xor eax, eax call __l2x0_pmu_enable@PLT xor edi, edi call local_irq_restore@PLT mov esi, DWORD PTR l2x0_pmu_poll_period[rip] mov rdi, r12 call hrtimer_forward_now@PLT pop rbx .cfi_def_cfa_offset 24 mov eax, DWORD PTR HRTIMER_RESTART[rip] pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size l2x0_pmu_poll, .-l2x0_pmu_poll .globl l2x0_pmu_poll_period .bss .align 4 .type l2x0_pmu_poll_period, @object .size l2x0_pmu_poll_period, 4 l2x0_pmu_poll_period: .zero 4 .globl events .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PMU_NR_COUNTERS .align 4 .type PMU_NR_COUNTERS, @object .size PMU_NR_COUNTERS, 4 PMU_NR_COUNTERS: .zero 4 .globl HRTIMER_RESTART .align 4 .type HRTIMER_RESTART, @object .size HRTIMER_RESTART, 4 HRTIMER_RESTART: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_poll.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_poll, %function l2x0_pmu_poll: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldr r6, .L11 mov r8, r0 mov r0, #0 bl local_irq_save bl __l2x0_pmu_disable ldr r3, [r6] cmp r3, #0 ble .L2 mov r4, #0 ldr r7, .L11+4 .L4: ldr r3, [r7] ldr r5, [r3, r4, lsl #2] add r4, r4, #1 cmp r5, #0 beq .L3 mov r0, r5 bl l2x0_pmu_event_read mov r0, r5 bl l2x0_pmu_event_configure .L3: ldr r3, [r6] cmp r3, r4 bgt .L4 .L2: bl __l2x0_pmu_enable mov r0, #0 bl local_irq_restore ldr r3, .L11+8 mov r0, r8 ldr r1, [r3] bl hrtimer_forward_now ldr r3, .L11+12 ldr r0, [r3] pop {r4, r5, r6, r7, r8, pc} .L12: .align 2 .L11: .word PMU_NR_COUNTERS .word events .word l2x0_pmu_poll_period .word HRTIMER_RESTART .size l2x0_pmu_poll, .-l2x0_pmu_poll .comm l2x0_pmu_poll_period,4,4 .comm events,4,4 .comm PMU_NR_COUNTERS,4,4 .comm HRTIMER_RESTART,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_reset.c" .intel_syntax noprefix .text .p2align 4 .type l2x0_pmu_reset, @function l2x0_pmu_reset: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 xor eax, eax call __l2x0_pmu_disable@PLT mov eax, DWORD PTR PMU_NR_COUNTERS[rip] test eax, eax jle .L1 xor ebx, ebx .p2align 4,,10 .p2align 3 .L3: mov edi, ebx add ebx, 1 call __l2x0_pmu_event_disable@PLT cmp DWORD PTR PMU_NR_COUNTERS[rip], ebx jg .L3 .L1: pop rbx .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size l2x0_pmu_reset, .-l2x0_pmu_reset .globl PMU_NR_COUNTERS .bss .align 4 .type PMU_NR_COUNTERS, @object .size PMU_NR_COUNTERS, 4 PMU_NR_COUNTERS: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_reset.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2x0_pmu_reset, %function l2x0_pmu_reset: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldr r5, .L7 bl __l2x0_pmu_disable ldr r3, [r5] cmp r3, #0 pople {r4, r5, r6, pc} mov r4, #0 .L3: mov r0, r4 bl __l2x0_pmu_event_disable ldr r3, [r5] add r4, r4, #1 cmp r3, r4 bgt .L3 pop {r4, r5, r6, pc} .L8: .align 2 .L7: .word PMU_NR_COUNTERS .size l2x0_pmu_reset, .-l2x0_pmu_reset .comm PMU_NR_COUNTERS,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_resume.c" .intel_syntax noprefix .text .p2align 4 .globl l2x0_pmu_resume .type l2x0_pmu_resume, @function l2x0_pmu_resume: .LFB0: .cfi_startproc endbr64 mov edx, DWORD PTR l2x0_pmu[rip] test edx, edx jne .L14 ret .p2align 4,,10 .p2align 3 .L14: push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 xor eax, eax call l2x0_pmu_reset@PLT mov eax, DWORD PTR PMU_NR_COUNTERS[rip] test eax, eax jle .L3 xor ebx, ebx jmp .L5 .p2align 4,,10 .p2align 3 .L4: add rbx, 1 cmp DWORD PTR PMU_NR_COUNTERS[rip], ebx jle .L3 .L5: mov rax, QWORD PTR events[rip] mov rdi, QWORD PTR [rax+rbx*8] test rdi, rdi je .L4 mov esi, DWORD PTR PERF_EF_RELOAD[rip] add rbx, 1 call l2x0_pmu_event_start@PLT cmp DWORD PTR PMU_NR_COUNTERS[rip], ebx jg .L5 .L3: mov edi, DWORD PTR l2x0_pmu[rip] pop rbx .cfi_restore 3 .cfi_def_cfa_offset 8 jmp l2x0_pmu_enable@PLT .cfi_endproc .LFE0: .size l2x0_pmu_resume, .-l2x0_pmu_resume .globl l2x0_pmu .bss .align 4 .type l2x0_pmu, @object .size l2x0_pmu, 4 l2x0_pmu: .zero 4 .globl events .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PMU_NR_COUNTERS .align 4 .type PMU_NR_COUNTERS, @object .size PMU_NR_COUNTERS, 4 PMU_NR_COUNTERS: .zero 4 .globl PERF_EF_RELOAD .align 4 .type PERF_EF_RELOAD, @object .size PERF_EF_RELOAD, 4 PERF_EF_RELOAD: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_resume.c" .text .align 2 .global l2x0_pmu_resume .syntax unified .arm .fpu softvfp .type l2x0_pmu_resume, %function l2x0_pmu_resume: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldr r7, .L12 ldr r3, [r7] cmp r3, #0 popeq {r4, r5, r6, r7, r8, pc} ldr r5, .L12+4 bl l2x0_pmu_reset ldr r3, [r5] cmp r3, #0 ble .L3 mov r4, #0 ldr r6, .L12+8 ldr r8, .L12+12 b .L5 .L4: ldr r3, [r5] cmp r3, r4 ble .L3 .L5: ldr r3, [r6] ldr r0, [r3, r4, lsl #2] add r4, r4, #1 cmp r0, #0 beq .L4 ldr r1, [r8] bl l2x0_pmu_event_start ldr r3, [r5] cmp r3, r4 bgt .L5 .L3: ldr r0, [r7] pop {r4, r5, r6, r7, r8, lr} b l2x0_pmu_enable .L13: .align 2 .L12: .word l2x0_pmu .word PMU_NR_COUNTERS .word events .word PERF_EF_RELOAD .size l2x0_pmu_resume, .-l2x0_pmu_resume .comm l2x0_pmu,4,4 .comm events,4,4 .comm PMU_NR_COUNTERS,4,4 .comm PERF_EF_RELOAD,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_l2x0_pmu_suspend.c" .intel_syntax noprefix .text .p2align 4 .globl l2x0_pmu_suspend .type l2x0_pmu_suspend, @function l2x0_pmu_suspend: .LFB0: .cfi_startproc endbr64 mov edi, DWORD PTR l2x0_pmu[rip] test edi, edi jne .L17 ret .p2align 4,,10 .p2align 3 .L17: push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 call l2x0_pmu_disable@PLT mov eax, DWORD PTR PMU_NR_COUNTERS[rip] test eax, eax jle .L1 xor ebx, ebx jmp .L4 .p2align 4,,10 .p2align 3 .L3: add rbx, 1 cmp DWORD PTR PMU_NR_COUNTERS[rip], ebx jle .L1 .L4: mov rax, QWORD PTR events[rip] mov rdi, QWORD PTR [rax+rbx*8] test rdi, rdi je .L3 mov esi, DWORD PTR PERF_EF_UPDATE[rip] add rbx, 1 call l2x0_pmu_event_stop@PLT cmp DWORD PTR PMU_NR_COUNTERS[rip], ebx jg .L4 .L1: pop rbx .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size l2x0_pmu_suspend, .-l2x0_pmu_suspend .globl l2x0_pmu .bss .align 4 .type l2x0_pmu, @object .size l2x0_pmu, 4 l2x0_pmu: .zero 4 .globl events .align 8 .type events, @object .size events, 8 events: .zero 8 .globl PMU_NR_COUNTERS .align 4 .type PMU_NR_COUNTERS, @object .size PMU_NR_COUNTERS, 4 PMU_NR_COUNTERS: .zero 4 .globl PERF_EF_UPDATE .align 4 .type PERF_EF_UPDATE, @object .size PERF_EF_UPDATE, 4 PERF_EF_UPDATE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_l2x0_pmu_suspend.c" .text .align 2 .global l2x0_pmu_suspend .syntax unified .arm .fpu softvfp .type l2x0_pmu_suspend, %function l2x0_pmu_suspend: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 ldr r3, .L17 ldr r0, [r3] cmp r0, #0 bxeq lr push {r4, r5, r6, r7, r8, lr} ldr r5, .L17+4 bl l2x0_pmu_disable ldr r3, [r5] cmp r3, #0 pople {r4, r5, r6, r7, r8, pc} mov r4, #0 ldr r6, .L17+8 ldr r7, .L17+12 b .L4 .L3: ldr r3, [r5] cmp r3, r4 pople {r4, r5, r6, r7, r8, pc} .L4: ldr r3, [r6] ldr r0, [r3, r4, lsl #2] add r4, r4, #1 cmp r0, #0 beq .L3 ldr r1, [r7] bl l2x0_pmu_event_stop b .L3 .L18: .align 2 .L17: .word l2x0_pmu .word PMU_NR_COUNTERS .word events .word PERF_EF_UPDATE .size l2x0_pmu_suspend, .-l2x0_pmu_suspend .comm l2x0_pmu,4,4 .comm events,4,4 .comm PMU_NR_COUNTERS,4,4 .comm PERF_EF_UPDATE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0-pmu.c_warn_if_saturated.c" .intel_syntax noprefix .text .section .rodata.str1.8,"aMS",@progbits,1 .align 8 .LC0: .string "L2X0 counter saturated. Poll period too long\n" .text .p2align 4 .type warn_if_saturated, @function warn_if_saturated: .LFB0: .cfi_startproc endbr64 cmp edi, -1 je .L4 ret .p2align 4,,10 .p2align 3 .L4: lea rdi, .LC0[rip] jmp pr_warn_ratelimited@PLT .cfi_endproc .LFE0: .size warn_if_saturated, .-warn_if_saturated .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0-pmu.c_warn_if_saturated.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "L2X0 counter saturated. Poll period too long\012\000" .text .align 2 .syntax unified .arm .fpu softvfp .type warn_if_saturated, %function warn_if_saturated: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. cmn r0, #1 bxne lr ldr r0, .L4 b pr_warn_ratelimited .L5: .align 2 .L4: .word .LC0 .size warn_if_saturated, .-warn_if_saturated .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0.c_l2c210_sync.c" .intel_syntax noprefix .text .p2align 4 .type l2c210_sync, @function l2c210_sync: .LFB0: .cfi_startproc endbr64 mov edi, DWORD PTR l2x0_base[rip] jmp __l2c210_cache_sync@PLT .cfi_endproc .LFE0: .size l2c210_sync, .-l2c210_sync .globl l2x0_base .bss .align 4 .type l2x0_base, @object .size l2x0_base, 4 l2x0_base: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0.c_l2c210_sync.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2c210_sync, %function l2c210_sync: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r3, .L3 ldr r0, [r3] b __l2c210_cache_sync .L4: .align 2 .L3: .word l2x0_base .size l2c210_sync, .-l2c210_sync .comm l2x0_base,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0.c_l2c220_flush_all.c" .intel_syntax noprefix .text .p2align 4 .type l2c220_flush_all, @function l2c220_flush_all: .LFB0: .cfi_startproc endbr64 mov esi, DWORD PTR L2X0_CLEAN_INV_WAY[rip] mov edi, DWORD PTR l2x0_base[rip] jmp l2c220_op_way@PLT .cfi_endproc .LFE0: .size l2c220_flush_all, .-l2c220_flush_all .globl l2x0_base .bss .align 4 .type l2x0_base, @object .size l2x0_base, 4 l2x0_base: .zero 4 .globl L2X0_CLEAN_INV_WAY .align 4 .type L2X0_CLEAN_INV_WAY, @object .size L2X0_CLEAN_INV_WAY, 4 L2X0_CLEAN_INV_WAY: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0.c_l2c220_flush_all.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2c220_flush_all, %function l2c220_flush_all: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r2, .L3 ldr r3, .L3+4 ldr r1, [r2] ldr r0, [r3] b l2c220_op_way .L4: .align 2 .L3: .word L2X0_CLEAN_INV_WAY .word l2x0_base .size l2c220_flush_all, .-l2c220_flush_all .comm l2x0_base,4,4 .comm L2X0_CLEAN_INV_WAY,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-l2x0.c_l2c220_sync.c" .intel_syntax noprefix .text .p2align 4 .type l2c220_sync, @function l2c220_sync: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 xor ebp, ebp lea rdi, l2x0_lock[rip] mov rsi, rbp call raw_spin_lock_irqsave@PLT mov edi, DWORD PTR l2x0_base[rip] call __l2c220_cache_sync@PLT mov rsi, rbp lea rdi, l2x0_lock[rip] pop rbp .cfi_def_cfa_offset 8 jmp raw_spin_unlock_irqrestore@PLT .cfi_endproc .LFE0: .size l2c220_sync, .-l2c220_sync .globl l2x0_lock .bss .align 4 .type l2x0_lock, @object .size l2x0_lock, 4 l2x0_lock: .zero 4 .globl l2x0_base .align 4 .type l2x0_base, @object .size l2x0_base, 4 l2x0_base: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-l2x0.c_l2c220_sync.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2c220_sync, %function l2c220_sync: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r5, #0 ldr r4, .L4 mov r1, r5 mov r0, r4 bl raw_spin_lock_irqsave ldr r3, .L4+4 ldr r0, [r3] bl __l2c220_cache_sync mov r1, r5 mov r0, r4 pop {r4, r5, r6, lr} b raw_spin_unlock_irqrestore .L5: .align 2 .L4: .word l2x0_lock .word l2x0_base .size l2c220_sync, .-l2c220_sync .comm l2x0_lock,4,4 .comm l2x0_base,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-uniphier.c___uniphier_cache_enable.c" .intel_syntax noprefix .text .p2align 4 .type __uniphier_cache_enable, @function __uniphier_cache_enable: .LFB0: .cfi_startproc endbr64 mov rax, rdi mov edi, esi test esi, esi je .L2 mov edi, DWORD PTR UNIPHIER_SSCC_WTG[rip] or edi, DWORD PTR UNIPHIER_SSCC_PRD[rip] or edi, DWORD PTR UNIPHIER_SSCC_ON[rip] .L2: mov rsi, QWORD PTR UNIPHIER_SSCC[rip] add rsi, QWORD PTR [rax] jmp writel_relaxed@PLT .cfi_endproc .LFE0: .size __uniphier_cache_enable, .-__uniphier_cache_enable .globl UNIPHIER_SSCC_WTG .bss .align 4 .type UNIPHIER_SSCC_WTG, @object .size UNIPHIER_SSCC_WTG, 4 UNIPHIER_SSCC_WTG: .zero 4 .globl UNIPHIER_SSCC_PRD .align 4 .type UNIPHIER_SSCC_PRD, @object .size UNIPHIER_SSCC_PRD, 4 UNIPHIER_SSCC_PRD: .zero 4 .globl UNIPHIER_SSCC_ON .align 4 .type UNIPHIER_SSCC_ON, @object .size UNIPHIER_SSCC_ON, 4 UNIPHIER_SSCC_ON: .zero 4 .globl UNIPHIER_SSCC .align 8 .type UNIPHIER_SSCC, @object .size UNIPHIER_SSCC, 8 UNIPHIER_SSCC: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-uniphier.c___uniphier_cache_enable.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __uniphier_cache_enable, %function __uniphier_cache_enable: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. subs r3, r1, #0 beq .L2 ldr r1, .L7 ldr r2, .L7+4 ldr r3, .L7+8 ldr r1, [r1] ldr r2, [r2] ldr r3, [r3] orr r1, r1, r2 orr r3, r1, r3 .L2: ldr r2, .L7+12 ldr r1, [r0] ldr r2, [r2] mov r0, r3 add r1, r1, r2 b writel_relaxed .L8: .align 2 .L7: .word UNIPHIER_SSCC_WTG .word UNIPHIER_SSCC_PRD .word UNIPHIER_SSCC_ON .word UNIPHIER_SSCC .size __uniphier_cache_enable, .-__uniphier_cache_enable .comm UNIPHIER_SSCC_WTG,4,4 .comm UNIPHIER_SSCC_PRD,4,4 .comm UNIPHIER_SSCC_ON,4,4 .comm UNIPHIER_SSCC,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-uniphier.c___uniphier_cache_maint_all.c" .intel_syntax noprefix .text .p2align 4 .type __uniphier_cache_maint_all, @function __uniphier_cache_maint_all: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov ecx, DWORD PTR UNIPHIER_SSCOQM_S_ALL[rip] mov rbp, rdi xor edx, edx or ecx, esi xor esi, esi call __uniphier_cache_maint_common@PLT mov rdi, rbp pop rbp .cfi_def_cfa_offset 8 jmp __uniphier_cache_sync@PLT .cfi_endproc .LFE0: .size __uniphier_cache_maint_all, .-__uniphier_cache_maint_all .globl UNIPHIER_SSCOQM_S_ALL .bss .align 4 .type UNIPHIER_SSCOQM_S_ALL, @object .size UNIPHIER_SSCOQM_S_ALL, 4 UNIPHIER_SSCOQM_S_ALL: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-uniphier.c___uniphier_cache_maint_all.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __uniphier_cache_maint_all, %function __uniphier_cache_maint_all: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 mov ip, r1 mov r2, #0 push {r4, lr} mov r4, r0 ldr r3, .L4 mov r1, r2 ldr r3, [r3] orr r3, ip, r3 bl __uniphier_cache_maint_common mov r0, r4 pop {r4, lr} b __uniphier_cache_sync .L5: .align 2 .L4: .word UNIPHIER_SSCOQM_S_ALL .size __uniphier_cache_maint_all, .-__uniphier_cache_maint_all .comm UNIPHIER_SSCOQM_S_ALL,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-uniphier.c___uniphier_cache_maint_common.c" .intel_syntax noprefix .text .p2align 4 .type __uniphier_cache_maint_common, @function __uniphier_cache_maint_common: .LFB0: .cfi_startproc endbr64 push r13 .cfi_def_cfa_offset 16 .cfi_offset 13, -16 mov r13, rsi push r12 .cfi_def_cfa_offset 24 .cfi_offset 12, -24 mov r12, rdx push rbp .cfi_def_cfa_offset 32 .cfi_offset 6, -32 mov rbp, rcx push rbx .cfi_def_cfa_offset 40 .cfi_offset 3, -40 mov rbx, rdi xor edi, edi sub rsp, 8 .cfi_def_cfa_offset 48 call local_irq_save@PLT mov rdi, QWORD PTR UNIPHIER_SSCOLPQS_EF[rip] mov rsi, QWORD PTR UNIPHIER_SSCOLPQS[rip] add rsi, QWORD PTR [rbx] call writel_relaxed@PLT jmp .L3 .p2align 4,,10 .p2align 3 .L2: mov rdi, QWORD PTR UNIPHIER_SSCOPPQSEF[rip] add rdi, QWORD PTR [rbx] call readl_relaxed@PLT mov rdi, QWORD PTR UNIPHIER_SSCOPPQSEF_FE[rip] or rdi, QWORD PTR UNIPHIER_SSCOPPQSEF_OE[rip] and rdi, rax call unlikely@PLT test rax, rax je .L4 .L3: mov rdi, QWORD PTR UNIPHIER_SSCOQM_CE[rip] mov rsi, QWORD PTR UNIPHIER_SSCOQM[rip] add rsi, QWORD PTR [rbx] or rdi, rbp call writel_relaxed@PLT mov rdi, rbp call UNIPHIER_SSCOQM_S_IS_RANGE@PLT mov edi, eax call likely@PLT test rax, rax je .L2 mov rdi, r13 mov rsi, QWORD PTR UNIPHIER_SSCOQAD[rip] add rsi, QWORD PTR [rbx] call writel_relaxed@PLT mov rsi, QWORD PTR UNIPHIER_SSCOQSZ[rip] mov rdi, r12 add rsi, QWORD PTR [rbx] call writel_relaxed@PLT jmp .L2 .p2align 4,,10 .p2align 3 .L5: xor eax, eax call cpu_relax@PLT .L4: mov rdi, QWORD PTR UNIPHIER_SSCOLPQS[rip] add rdi, QWORD PTR [rbx] call readl_relaxed@PLT xor edi, edi cmp QWORD PTR UNIPHIER_SSCOLPQS_EF[rip], rax setne dil call likely@PLT test rax, rax jne .L5 add rsp, 8 .cfi_def_cfa_offset 40 xor edi, edi pop rbx .cfi_def_cfa_offset 32 pop rbp .cfi_def_cfa_offset 24 pop r12 .cfi_def_cfa_offset 16 pop r13 .cfi_def_cfa_offset 8 jmp local_irq_restore@PLT .cfi_endproc .LFE0: .size __uniphier_cache_maint_common, .-__uniphier_cache_maint_common .globl UNIPHIER_SSCOQSZ .bss .align 8 .type UNIPHIER_SSCOQSZ, @object .size UNIPHIER_SSCOQSZ, 8 UNIPHIER_SSCOQSZ: .zero 8 .globl UNIPHIER_SSCOQM_CE .align 8 .type UNIPHIER_SSCOQM_CE, @object .size UNIPHIER_SSCOQM_CE, 8 UNIPHIER_SSCOQM_CE: .zero 8 .globl UNIPHIER_SSCOQM .align 8 .type UNIPHIER_SSCOQM, @object .size UNIPHIER_SSCOQM, 8 UNIPHIER_SSCOQM: .zero 8 .globl UNIPHIER_SSCOQAD .align 8 .type UNIPHIER_SSCOQAD, @object .size UNIPHIER_SSCOQAD, 8 UNIPHIER_SSCOQAD: .zero 8 .globl UNIPHIER_SSCOPPQSEF_OE .align 8 .type UNIPHIER_SSCOPPQSEF_OE, @object .size UNIPHIER_SSCOPPQSEF_OE, 8 UNIPHIER_SSCOPPQSEF_OE: .zero 8 .globl UNIPHIER_SSCOPPQSEF_FE .align 8 .type UNIPHIER_SSCOPPQSEF_FE, @object .size UNIPHIER_SSCOPPQSEF_FE, 8 UNIPHIER_SSCOPPQSEF_FE: .zero 8 .globl UNIPHIER_SSCOPPQSEF .align 8 .type UNIPHIER_SSCOPPQSEF, @object .size UNIPHIER_SSCOPPQSEF, 8 UNIPHIER_SSCOPPQSEF: .zero 8 .globl UNIPHIER_SSCOLPQS_EF .align 8 .type UNIPHIER_SSCOLPQS_EF, @object .size UNIPHIER_SSCOLPQS_EF, 8 UNIPHIER_SSCOLPQS_EF: .zero 8 .globl UNIPHIER_SSCOLPQS .align 8 .type UNIPHIER_SSCOLPQS, @object .size UNIPHIER_SSCOLPQS, 8 UNIPHIER_SSCOLPQS: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-uniphier.c___uniphier_cache_maint_common.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __uniphier_cache_maint_common, %function __uniphier_cache_maint_common: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, fp, lr} mov r4, r0 ldr r6, .L12 sub sp, sp, #12 mov r0, #0 stm sp, {r1, r2} mov r5, r3 ldr r7, .L12+4 bl local_irq_save ldr r1, [r4] ldr r3, [r6] ldr r0, [r7] add r1, r1, r3 bl writel_relaxed ldr fp, .L12+8 ldr r10, .L12+12 ldr r9, .L12+16 ldr r8, .L12+20 b .L3 .L2: ldr r3, [r9] ldr r0, [r4] add r0, r0, r3 bl readl_relaxed ldr r2, .L12+24 ldr r3, [r8] ldr r1, [r2] orr r3, r3, r1 and r0, r0, r3 bl unlikely cmp r0, #0 beq .L4 .L3: ldr r3, [fp] ldr r1, [r4] ldr r0, [r10] add r1, r1, r3 orr r0, r5, r0 bl writel_relaxed mov r0, r5 bl UNIPHIER_SSCOQM_S_IS_RANGE bl likely cmp r0, #0 beq .L2 ldr r3, .L12+28 ldr r1, [r4] ldr r3, [r3] ldr r0, [sp] add r1, r1, r3 bl writel_relaxed ldr r3, .L12+32 ldr r1, [r4] ldr r3, [r3] ldr r0, [sp, #4] add r1, r1, r3 bl writel_relaxed b .L2 .L5: bl cpu_relax .L4: ldr r3, [r6] ldr r0, [r4] add r0, r0, r3 bl readl_relaxed ldr r3, [r7] subs r0, r3, r0 movne r0, #1 bl likely cmp r0, #0 bne .L5 add sp, sp, #12 @ sp needed pop {r4, r5, r6, r7, r8, r9, r10, fp, lr} b local_irq_restore .L13: .align 2 .L12: .word UNIPHIER_SSCOLPQS .word UNIPHIER_SSCOLPQS_EF .word UNIPHIER_SSCOQM .word UNIPHIER_SSCOQM_CE .word UNIPHIER_SSCOPPQSEF .word UNIPHIER_SSCOPPQSEF_FE .word UNIPHIER_SSCOPPQSEF_OE .word UNIPHIER_SSCOQAD .word UNIPHIER_SSCOQSZ .size __uniphier_cache_maint_common, .-__uniphier_cache_maint_common .comm UNIPHIER_SSCOQSZ,4,4 .comm UNIPHIER_SSCOQM_CE,4,4 .comm UNIPHIER_SSCOQM,4,4 .comm UNIPHIER_SSCOQAD,4,4 .comm UNIPHIER_SSCOPPQSEF_OE,4,4 .comm UNIPHIER_SSCOPPQSEF_FE,4,4 .comm UNIPHIER_SSCOPPQSEF,4,4 .comm UNIPHIER_SSCOLPQS_EF,4,4 .comm UNIPHIER_SSCOLPQS,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-uniphier.c___uniphier_cache_sync.c" .intel_syntax noprefix .text .p2align 4 .type __uniphier_cache_sync, @function __uniphier_cache_sync: .LFB0: .cfi_startproc endbr64 push rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 mov rsi, QWORD PTR UNIPHIER_SSCOPE[rip] mov rbx, rdi add rsi, QWORD PTR [rdi] mov edi, DWORD PTR UNIPHIER_SSCOPE_CM_SYNC[rip] call writel_relaxed@PLT mov rdi, QWORD PTR UNIPHIER_SSCOPE[rip] add rdi, QWORD PTR [rbx] pop rbx .cfi_def_cfa_offset 8 jmp readl_relaxed@PLT .cfi_endproc .LFE0: .size __uniphier_cache_sync, .-__uniphier_cache_sync .globl UNIPHIER_SSCOPE_CM_SYNC .bss .align 4 .type UNIPHIER_SSCOPE_CM_SYNC, @object .size UNIPHIER_SSCOPE_CM_SYNC, 4 UNIPHIER_SSCOPE_CM_SYNC: .zero 4 .globl UNIPHIER_SSCOPE .align 8 .type UNIPHIER_SSCOPE, @object .size UNIPHIER_SSCOPE, 8 UNIPHIER_SSCOPE: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-uniphier.c___uniphier_cache_sync.c" .text .align 2 .syntax unified .arm .fpu softvfp .type __uniphier_cache_sync, %function __uniphier_cache_sync: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r4, r0 ldr r5, .L4 ldr r1, [r0] ldr r2, [r5] ldr r3, .L4+4 add r1, r1, r2 ldr r0, [r3] bl writel_relaxed ldr r0, [r4] ldr r3, [r5] pop {r4, r5, r6, lr} add r0, r0, r3 b readl_relaxed .L5: .align 2 .L4: .word UNIPHIER_SSCOPE .word UNIPHIER_SSCOPE_CM_SYNC .size __uniphier_cache_sync, .-__uniphier_cache_sync .comm UNIPHIER_SSCOPE_CM_SYNC,4,4 .comm UNIPHIER_SSCOPE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_l2_map_va.c" .intel_syntax noprefix .text .p2align 4 .type l2_map_va, @function l2_map_va: .LFB0: .cfi_startproc endbr64 jmp __phys_to_virt@PLT .cfi_endproc .LFE0: .size l2_map_va, .-l2_map_va .globl PAGE_SHIFT .bss .align 4 .type PAGE_SHIFT, @object .size PAGE_SHIFT, 4 PAGE_SHIFT: .zero 4 .globl PAGE_MASK .align 8 .type PAGE_MASK, @object .size PAGE_MASK, 8 PAGE_MASK: .zero 8 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_l2_map_va.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_map_va, %function l2_map_va: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. b __phys_to_virt .size l2_map_va, .-l2_map_va .comm PAGE_SHIFT,4,4 .comm PAGE_MASK,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_l2_unmap_va.c" .intel_syntax noprefix .text .p2align 4 .type l2_unmap_va, @function l2_unmap_va: .LFB0: .cfi_startproc endbr64 ret .cfi_endproc .LFE0: .size l2_unmap_va, .-l2_unmap_va .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_l2_unmap_va.c" .text .align 2 .syntax unified .arm .fpu softvfp .type l2_unmap_va, %function l2_unmap_va: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. bx lr .size l2_unmap_va, .-l2_unmap_va .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_clean_mva.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_clean_mva, @function xsc3_l2_clean_mva: .LFB0: .cfi_startproc endbr64 #APP # 18 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_clean_mva.c" 1 mcr p15, 1, rdi, c7, c11, 1 # 0 "" 2 #NO_APP ret .cfi_endproc .LFE0: .size xsc3_l2_clean_mva, .-xsc3_l2_clean_mva .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_clean_mva.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_clean_mva, %function xsc3_l2_clean_mva: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 18 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_clean_mva.c" 1 mcr p15, 1, r0, c7, c11, 1 @ 0 "" 2 .arm .syntax unified bx lr .size xsc3_l2_clean_mva, .-xsc3_l2_clean_mva .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_clean_range.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_clean_range, @function xsc3_l2_clean_range: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 mov ebx, DWORD PTR CACHE_LINE_SIZE[rip] neg ebx movsx rbx, ebx and rbx, rdi cmp rbx, rsi jnb .L4 mov r12, rsi mov rbp, -1 .p2align 4,,10 .p2align 3 .L3: mov rsi, rbp mov rdi, rbx call l2_map_va@PLT mov rdi, rax mov rbp, rax call xsc3_l2_clean_mva@PLT movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] add rbx, rax cmp r12, rbx ja .L3 .L2: mov rdi, rbp call l2_unmap_va@PLT pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp dsb@PLT .p2align 4,,10 .p2align 3 .L4: .cfi_restore_state mov rbp, -1 jmp .L2 .cfi_endproc .LFE0: .size xsc3_l2_clean_range, .-xsc3_l2_clean_range .globl CACHE_LINE_SIZE .bss .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_clean_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_clean_range, %function xsc3_l2_clean_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldr r7, .L8 ldr r4, [r7] rsb r4, r4, #0 and r4, r4, r0 cmp r4, r1 bcs .L4 mov r6, r1 mvn r5, #0 .L3: mov r1, r5 mov r0, r4 bl l2_map_va mov r5, r0 bl xsc3_l2_clean_mva ldr r3, [r7] add r4, r4, r3 cmp r6, r4 bhi .L3 mov r0, r5 bl l2_unmap_va pop {r4, r5, r6, r7, r8, lr} b dsb .L4: mvn r5, #0 mov r0, r5 bl l2_unmap_va pop {r4, r5, r6, r7, r8, lr} b dsb .L9: .align 2 .L8: .word CACHE_LINE_SIZE .size xsc3_l2_clean_range, .-xsc3_l2_clean_range .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_flush_all.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_flush_all, @function xsc3_l2_flush_all: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 xor ebp, ebp push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 #APP # 24 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_flush_all.c" 1 mrc p15, 1, rbx, c0, c0, 1 # 0 "" 2 #NO_APP mov rdi, rbx sub rsp, 8 .cfi_def_cfa_offset 32 call CACHE_SET_SIZE@PLT cmp eax, ebp jle .L4 .p2align 4,,10 .p2align 3 .L11: mov ecx, DWORD PTR CACHE_WAY_PER_SET[rip] mov esi, ebp xor edx, edx sal esi, 5 test ecx, ecx jle .L6 .p2align 4,,10 .p2align 3 .L3: mov eax, edx sal eax, 29 or eax, esi cdqe #APP # 29 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_flush_all.c" 1 mcr p15, 1, rax, c7, c15, 2 # 0 "" 2 #NO_APP add edx, 1 cmp edx, ecx jne .L3 .L6: mov rdi, rbx add ebp, 1 call CACHE_SET_SIZE@PLT cmp eax, ebp jg .L11 .L4: add rsp, 8 .cfi_def_cfa_offset 24 xor eax, eax pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 jmp dsb@PLT .cfi_endproc .LFE0: .size xsc3_l2_flush_all, .-xsc3_l2_flush_all .globl CACHE_WAY_PER_SET .bss .align 4 .type CACHE_WAY_PER_SET, @object .size CACHE_WAY_PER_SET, 4 CACHE_WAY_PER_SET: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_flush_all.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_flush_all, %function xsc3_l2_flush_all: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} .syntax divided @ 24 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_flush_all.c" 1 mrc p15, 1, r5, c0, c0, 1 @ 0 "" 2 .arm .syntax unified mov r0, r5 mov r4, #0 bl CACHE_SET_SIZE cmp r0, r4 ldr r6, .L11 ble .L4 .L10: ldr r1, [r6] cmp r1, #0 movgt r3, #0 lslgt r0, r4, #5 ble .L6 .L3: orr r2, r0, r3, lsl #29 .syntax divided @ 29 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_flush_all.c" 1 mcr p15, 1, r2, c7, c15, 2 @ 0 "" 2 .arm .syntax unified add r3, r3, #1 cmp r3, r1 bne .L3 .L6: mov r0, r5 bl CACHE_SET_SIZE add r4, r4, #1 cmp r0, r4 bgt .L10 .L4: pop {r4, r5, r6, lr} b dsb .L12: .align 2 .L11: .word CACHE_WAY_PER_SET .size xsc3_l2_flush_all, .-xsc3_l2_flush_all .comm CACHE_WAY_PER_SET,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_flush_range.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_flush_range, @function xsc3_l2_flush_range: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12, rsi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 test rdi, rdi jne .L2 cmp rsi, -1 je .L15 .L2: mov eax, DWORD PTR CACHE_LINE_SIZE[rip] mov rbp, -1 neg eax movsx rbx, eax and rbx, rdi cmp r12, rbx jbe .L3 .p2align 4,,10 .p2align 3 .L4: mov rsi, rbp mov rdi, rbx call l2_map_va@PLT mov rbp, rax mov rdi, rax call xsc3_l2_clean_mva@PLT mov rdi, rbp call xsc3_l2_inv_mva@PLT movsx rax, DWORD PTR CACHE_LINE_SIZE[rip] add rbx, rax cmp r12, rbx ja .L4 .L3: mov rdi, rbp call l2_unmap_va@PLT pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp dsb@PLT .p2align 4,,10 .p2align 3 .L15: .cfi_restore_state pop rbx .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp xsc3_l2_flush_all@PLT .cfi_endproc .LFE0: .size xsc3_l2_flush_range, .-xsc3_l2_flush_range .globl CACHE_LINE_SIZE .bss .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_flush_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_flush_range, %function xsc3_l2_flush_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r0, #0 cmneq r1, #1 beq .L10 push {r4, r5, r6, r7, r8, lr} ldr r7, .L11 mov r6, r1 ldr r5, [r7] mvn r4, #0 rsb r5, r5, #0 and r5, r5, r0 cmp r1, r5 bls .L3 .L4: mov r1, r4 mov r0, r5 bl l2_map_va mov r4, r0 bl xsc3_l2_clean_mva mov r0, r4 bl xsc3_l2_inv_mva ldr r3, [r7] add r5, r5, r3 cmp r6, r5 bhi .L4 .L3: mov r0, r4 bl l2_unmap_va pop {r4, r5, r6, r7, r8, lr} b dsb .L10: b xsc3_l2_flush_all .L12: .align 2 .L11: .word CACHE_LINE_SIZE .size xsc3_l2_flush_range, .-xsc3_l2_flush_range .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_inv_all.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_inv_all, @function xsc3_l2_inv_all: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 xor ebp, ebp push rbx .cfi_def_cfa_offset 24 .cfi_offset 3, -24 #APP # 24 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_all.c" 1 mrc p15, 1, rbx, c0, c0, 1 # 0 "" 2 #NO_APP mov rdi, rbx sub rsp, 8 .cfi_def_cfa_offset 32 call CACHE_SET_SIZE@PLT cmp eax, ebp jle .L4 .p2align 4,,10 .p2align 3 .L11: mov ecx, DWORD PTR CACHE_WAY_PER_SET[rip] mov esi, ebp xor edx, edx sal esi, 5 test ecx, ecx jle .L6 .p2align 4,,10 .p2align 3 .L3: mov eax, edx sal eax, 29 or eax, esi cdqe #APP # 29 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_all.c" 1 mcr p15, 1, rax, c7, c11, 2 # 0 "" 2 #NO_APP add edx, 1 cmp edx, ecx jne .L3 .L6: mov rdi, rbx add ebp, 1 call CACHE_SET_SIZE@PLT cmp eax, ebp jg .L11 .L4: add rsp, 8 .cfi_def_cfa_offset 24 xor eax, eax pop rbx .cfi_def_cfa_offset 16 pop rbp .cfi_def_cfa_offset 8 jmp dsb@PLT .cfi_endproc .LFE0: .size xsc3_l2_inv_all, .-xsc3_l2_inv_all .globl CACHE_WAY_PER_SET .bss .align 4 .type CACHE_WAY_PER_SET, @object .size CACHE_WAY_PER_SET, 4 CACHE_WAY_PER_SET: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_inv_all.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_inv_all, %function xsc3_l2_inv_all: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} .syntax divided @ 24 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_all.c" 1 mrc p15, 1, r5, c0, c0, 1 @ 0 "" 2 .arm .syntax unified mov r0, r5 mov r4, #0 bl CACHE_SET_SIZE cmp r0, r4 ldr r6, .L11 ble .L4 .L10: ldr r1, [r6] cmp r1, #0 movgt r3, #0 lslgt r0, r4, #5 ble .L6 .L3: orr r2, r0, r3, lsl #29 .syntax divided @ 29 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_all.c" 1 mcr p15, 1, r2, c7, c11, 2 @ 0 "" 2 .arm .syntax unified add r3, r3, #1 cmp r3, r1 bne .L3 .L6: mov r0, r5 bl CACHE_SET_SIZE add r4, r4, #1 cmp r0, r4 bgt .L10 .L4: pop {r4, r5, r6, lr} b dsb .L12: .align 2 .L11: .word CACHE_WAY_PER_SET .size xsc3_l2_inv_all, .-xsc3_l2_inv_all .comm CACHE_WAY_PER_SET,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_inv_mva.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_inv_mva, @function xsc3_l2_inv_mva: .LFB0: .cfi_startproc endbr64 #APP # 18 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_mva.c" 1 mcr p15, 1, rdi, c7, c7, 1 # 0 "" 2 #NO_APP ret .cfi_endproc .LFE0: .size xsc3_l2_inv_mva, .-xsc3_l2_inv_mva .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_inv_mva.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_inv_mva, %function xsc3_l2_inv_mva: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 18 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_mva.c" 1 mcr p15, 1, r0, c7, c7, 1 @ 0 "" 2 .arm .syntax unified bx lr .size xsc3_l2_inv_mva, .-xsc3_l2_inv_mva .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_inv_range.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_inv_range, @function xsc3_l2_inv_range: .LFB0: .cfi_startproc endbr64 push r12 .cfi_def_cfa_offset 16 .cfi_offset 12, -16 mov r12, rdi push rbp .cfi_def_cfa_offset 24 .cfi_offset 6, -24 push rbx .cfi_def_cfa_offset 32 .cfi_offset 3, -32 mov rbx, rsi test rdi, rdi jne .L2 cmp rsi, -1 je .L18 .L2: mov eax, DWORD PTR CACHE_LINE_SIZE[rip] mov rbp, -1 lea edx, -1[rax] movsx rdx, edx test rdx, r12 jne .L19 .L3: neg eax cdqe and rax, rbx cmp r12, rax jnb .L4 .p2align 4,,10 .p2align 3 .L5: mov rsi, rbp mov rdi, r12 call l2_map_va@PLT mov rdi, rax mov rbp, rax call xsc3_l2_inv_mva@PLT movsx rdx, DWORD PTR CACHE_LINE_SIZE[rip] mov rax, rdx add r12, rdx neg eax cdqe and rax, rbx cmp rax, r12 ja .L5 .L4: cmp rbx, r12 ja .L20 .L6: mov rdi, rbp call l2_unmap_va@PLT pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp dsb@PLT .p2align 4,,10 .p2align 3 .L18: .cfi_restore_state pop rbx .cfi_remember_state .cfi_def_cfa_offset 24 xor eax, eax pop rbp .cfi_def_cfa_offset 16 pop r12 .cfi_def_cfa_offset 8 jmp xsc3_l2_inv_all@PLT .p2align 4,,10 .p2align 3 .L20: .cfi_restore_state mov rsi, rbp mov rdi, r12 call l2_map_va@PLT mov rbp, rax mov rdi, rax call xsc3_l2_clean_mva@PLT mov rdi, rbp call xsc3_l2_inv_mva@PLT jmp .L6 .p2align 4,,10 .p2align 3 .L19: neg eax mov rsi, -1 movsx rdi, eax and rdi, r12 call l2_map_va@PLT mov rbp, rax mov rdi, rax call xsc3_l2_clean_mva@PLT mov rdi, rbp call xsc3_l2_inv_mva@PLT mov eax, DWORD PTR CACHE_LINE_SIZE[rip] lea edi, -1[rax] movsx rdi, edi or r12, rdi add r12, 1 jmp .L3 .cfi_endproc .LFE0: .size xsc3_l2_inv_range, .-xsc3_l2_inv_range .globl CACHE_LINE_SIZE .bss .align 4 .type CACHE_LINE_SIZE, @object .size CACHE_LINE_SIZE, 4 CACHE_LINE_SIZE: .zero 4 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_inv_range.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_inv_range, %function xsc3_l2_inv_range: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r0, #0 cmneq r1, #1 beq .L12 push {r4, r5, r6, r7, r8, lr} mov r4, r0 ldr r7, .L15 mov r6, r1 ldr r0, [r7] sub r3, r0, #1 tst r3, r4 mvneq r5, #0 rsb r0, r0, #0 bne .L13 .L3: and r0, r0, r6 cmp r4, r0 bcs .L4 .L5: mov r1, r5 mov r0, r4 bl l2_map_va mov r5, r0 bl xsc3_l2_inv_mva ldr r2, [r7] rsb r3, r2, #0 add r4, r4, r2 and r3, r3, r6 cmp r3, r4 bhi .L5 .L4: cmp r6, r4 bhi .L14 mov r0, r5 bl l2_unmap_va pop {r4, r5, r6, r7, r8, lr} b dsb .L13: mvn r1, #0 and r0, r0, r4 bl l2_map_va mov r5, r0 bl xsc3_l2_clean_mva mov r0, r5 bl xsc3_l2_inv_mva ldr r0, [r7] sub r3, r0, #1 orr r4, r3, r4 add r4, r4, #1 rsb r0, r0, #0 b .L3 .L14: mov r1, r5 mov r0, r4 bl l2_map_va mov r5, r0 bl xsc3_l2_clean_mva mov r0, r5 bl xsc3_l2_inv_mva mov r0, r5 bl l2_unmap_va pop {r4, r5, r6, r7, r8, lr} b dsb .L12: b xsc3_l2_inv_all .L16: .align 2 .L15: .word CACHE_LINE_SIZE .size xsc3_l2_inv_range, .-xsc3_l2_inv_range .comm CACHE_LINE_SIZE,4,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_cache-xsc3l2.c_xsc3_l2_present.c" .intel_syntax noprefix .text .p2align 4 .type xsc3_l2_present, @function xsc3_l2_present: .LFB0: .cfi_startproc endbr64 #APP # 20 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_present.c" 1 mrc p15, 1, rax, c0, c0, 1 # 0 "" 2 #NO_APP test al, -8 setne al movzx eax, al ret .cfi_endproc .LFE0: .size xsc3_l2_present, .-xsc3_l2_present .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_cache-xsc3l2.c_xsc3_l2_present.c" .text .align 2 .syntax unified .arm .fpu softvfp .type xsc3_l2_present, %function xsc3_l2_present: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 20 "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_present.c" 1 mrc p15, 1, r3, c0, c0, 1 @ 0 "" 2 .arm .syntax unified tst r3, #248 movne r0, #1 moveq r0, #0 bx lr .size xsc3_l2_present, .-xsc3_l2_present .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.file "extr_context.c_cpu_set_reserved_ttbr0.c" .intel_syntax noprefix .text .p2align 4 .type cpu_set_reserved_ttbr0, @function cpu_set_reserved_ttbr0: .LFB0: .cfi_startproc endbr64 #APP # 26 "AnghaBench/linux/arch/arm/mm/extr_context.c_cpu_set_reserved_ttbr0.c" 1 mrc p15, 0, eax, c2, c0, 1 @ read TTBR1 mcr p15, 0, eax, c2, c0, 0 @ set TTBR0 # 0 "" 2 #NO_APP xor eax, eax jmp isb@PLT .cfi_endproc .LFE0: .size cpu_set_reserved_ttbr0, .-cpu_set_reserved_ttbr0 .ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "extr_context.c_cpu_set_reserved_ttbr0.c" .text .align 2 .syntax unified .arm .fpu softvfp .type cpu_set_reserved_ttbr0, %function cpu_set_reserved_ttbr0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. .syntax divided @ 26 "AnghaBench/linux/arch/arm/mm/extr_context.c_cpu_set_reserved_ttbr0.c" 1 mrc p15, 0, r3, c2, c0, 1 @ read TTBR1 mcr p15, 0, r3, c2, c0, 0 @ set TTBR0 @ 0 "" 2 .arm .syntax unified b isb .size cpu_set_reserved_ttbr0, .-cpu_set_reserved_ttbr0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits