Last active
January 17, 2020 16:04
-
-
Save esc/e6c7dd7940c3a62bc23a9df8b72b1d16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section __TEXT,__text,regular,pure_instructions | |
.macosx_version_min 10, 14 | |
.globl __ZN8__main__15mutate_list$245E21ListType$5bfloat64$5d | |
.p2align 4, 0x90 | |
__ZN8__main__15mutate_list$245E21ListType$5bfloat64$5d: | |
.cfi_startproc | |
pushq %rbp | |
.cfi_def_cfa_offset 16 | |
pushq %r15 | |
.cfi_def_cfa_offset 24 | |
pushq %r14 | |
.cfi_def_cfa_offset 32 | |
pushq %r13 | |
.cfi_def_cfa_offset 40 | |
pushq %r12 | |
.cfi_def_cfa_offset 48 | |
pushq %rbx | |
.cfi_def_cfa_offset 56 | |
subq $40, %rsp | |
.cfi_def_cfa_offset 96 | |
.cfi_offset %rbx, -56 | |
.cfi_offset %r12, -48 | |
.cfi_offset %r13, -40 | |
.cfi_offset %r14, -32 | |
.cfi_offset %r15, -24 | |
.cfi_offset %rbp, -16 | |
movq %rcx, %rbx | |
movq %rdx, %r12 | |
movq %rsi, 24(%rsp) | |
movq %rdi, 16(%rsp) | |
movq $0, 8(%rsp) | |
movq $0, (%rsp) | |
movabsq $_NRT_incref, %rax | |
movq %rdx, %rdi | |
callq *%rax | |
movl $10000, %r13d | |
movabsq $_numba_list_length, %rbp | |
LBB0_1: | |
movq %rbx, %rdi | |
callq *%rbp | |
testq %rax, %rax | |
jle LBB0_11 | |
movq %rax, %r14 | |
xorl %r15d, %r15d | |
.p2align 4, 0x90 | |
LBB0_3: | |
movq %r12, %rdi | |
movabsq $_NRT_incref, %rax | |
callq *%rax | |
movq %rbx, %rdi | |
callq *%rbp | |
cmpq %rax, %r15 | |
jge LBB0_4 | |
movq %rbx, %rdi | |
movabsq $_numba_list_base_ptr, %rax | |
callq *%rax | |
vcvtsi2sdq %r15, %xmm1, %xmm0 | |
vsqrtsd %xmm0, %xmm0, %xmm0 | |
vaddsd (%rax,%r15,8), %xmm0, %xmm0 | |
vmovsd %xmm0, 32(%rsp) | |
movq %r12, %rdi | |
movabsq $_NRT_decref, %rax | |
callq *%rax | |
movq $0, 8(%rsp) | |
leaq 8(%rsp), %rdi | |
movq %rsp, %rsi | |
movq %r12, %rdx | |
movq %rbx, %rcx | |
movq %r15, %r8 | |
vmovsd 32(%rsp), %xmm0 | |
movabsq $__ZN5numba10listobject12impl_setitem12$3clocals$3e16impl_integer$249E21ListType$5bfloat64$5dxd, %rax | |
callq *%rax | |
cmpl $-2, %eax | |
je LBB0_10 | |
testl %eax, %eax | |
jne LBB0_9 | |
LBB0_10: | |
addq $-1, %r14 | |
addq $1, %r15 | |
testq %r14, %r14 | |
jg LBB0_3 | |
LBB0_11: | |
addq $-1, %r13 | |
jne LBB0_1 | |
movq %r12, %rdi | |
movabsq $_NRT_decref, %rax | |
callq *%rax | |
movq 16(%rsp), %rax | |
movq $0, (%rax) | |
xorl %eax, %eax | |
jmp LBB0_6 | |
LBB0_4: | |
movl $1, %eax | |
movabsq $_.const.picklebuf.4745801968, %rdx | |
jmp LBB0_5 | |
LBB0_9: | |
movq (%rsp), %rdx | |
LBB0_5: | |
movq 24(%rsp), %rcx | |
movq %rdx, (%rcx) | |
LBB0_6: | |
addq $40, %rsp | |
popq %rbx | |
popq %r12 | |
popq %r13 | |
popq %r14 | |
popq %r15 | |
popq %rbp | |
retq | |
.cfi_endproc | |
.globl __ZN7cpython8__main__15mutate_list$245E21ListType$5bfloat64$5d | |
.p2align 4, 0x90 | |
__ZN7cpython8__main__15mutate_list$245E21ListType$5bfloat64$5d: | |
.cfi_startproc | |
pushq %r15 | |
.cfi_def_cfa_offset 16 | |
pushq %r14 | |
.cfi_def_cfa_offset 24 | |
pushq %rbx | |
.cfi_def_cfa_offset 32 | |
subq $32, %rsp | |
.cfi_def_cfa_offset 64 | |
.cfi_offset %rbx, -32 | |
.cfi_offset %r14, -24 | |
.cfi_offset %r15, -16 | |
movq %rsi, %rdi | |
movabsq $_.const.mutate_list, %rsi | |
movabsq $_PyArg_UnpackTuple, %rbx | |
leaq 24(%rsp), %r8 | |
movl $1, %edx | |
movl $1, %ecx | |
xorl %eax, %eax | |
callq *%rbx | |
movq $0, 16(%rsp) | |
movq $0, 8(%rsp) | |
testl %eax, %eax | |
je LBB1_1 | |
movabsq $__ZN08NumbaEnv8__main__15mutate_list$245E21ListType$5bfloat64$5d, %rax | |
cmpq $0, (%rax) | |
je LBB1_4 | |
movq 24(%rsp), %rdi | |
movabsq $_.const._opaque, %rsi | |
movabsq $_PyObject_GetAttrString, %rax | |
callq *%rax | |
movq %rax, %rbx | |
movabsq $_NRT_meminfo_from_pyobject, %rax | |
movq %rbx, %rdi | |
callq *%rax | |
movq %rax, %r14 | |
movq 24(%rax), %rax | |
movq (%rax), %r15 | |
movabsq $_Py_DecRef, %rax | |
movq %rbx, %rdi | |
callq *%rax | |
movq $0, 16(%rsp) | |
movabsq $__ZN8__main__15mutate_list$245E21ListType$5bfloat64$5d, %rax | |
leaq 16(%rsp), %rdi | |
leaq 8(%rsp), %rsi | |
movq %r14, %rdx | |
movq %r15, %rcx | |
callq *%rax | |
movl %eax, %ebx | |
movq 8(%rsp), %r15 | |
movabsq $_NRT_decref, %rax | |
movq %r14, %rdi | |
callq *%rax | |
testl %ebx, %ebx | |
je LBB1_8 | |
cmpl $-2, %ebx | |
jne LBB1_9 | |
LBB1_8: | |
movabsq $__Py_NoneStruct, %rbx | |
movabsq $_Py_IncRef, %rax | |
movq %rbx, %rdi | |
callq *%rax | |
movq %rbx, %rax | |
jmp LBB1_2 | |
LBB1_9: | |
testl %ebx, %ebx | |
jle LBB1_12 | |
movabsq $_PyErr_Clear, %rax | |
callq *%rax | |
movl 8(%r15), %esi | |
movq (%r15), %rdi | |
movabsq $_numba_unpickle, %rax | |
callq *%rax | |
testq %rax, %rax | |
je LBB1_1 | |
movabsq $_numba_do_raise, %rcx | |
movq %rax, %rdi | |
callq *%rcx | |
jmp LBB1_1 | |
LBB1_12: | |
cmpl $-3, %ebx | |
je LBB1_15 | |
cmpl $-1, %ebx | |
je LBB1_1 | |
movabsq $_PyExc_SystemError, %rdi | |
movabsq $"_.const.unknown error when calling native function", %rsi | |
jmp LBB1_5 | |
LBB1_15: | |
movabsq $_PyExc_StopIteration, %rdi | |
movabsq $_PyErr_SetNone, %rax | |
callq *%rax | |
jmp LBB1_1 | |
LBB1_4: | |
movabsq $_PyExc_RuntimeError, %rdi | |
movabsq $"_.const.missing Environment", %rsi | |
LBB1_5: | |
movabsq $_PyErr_SetString, %rax | |
callq *%rax | |
LBB1_1: | |
xorl %eax, %eax | |
LBB1_2: | |
addq $32, %rsp | |
popq %rbx | |
popq %r14 | |
popq %r15 | |
retq | |
.cfi_endproc | |
.globl _NRT_incref | |
.weak_def_can_be_hidden _NRT_incref | |
.p2align 4, 0x90 | |
_NRT_incref: | |
testq %rdi, %rdi | |
je LBB2_1 | |
lock addq $1, (%rdi) | |
retq | |
LBB2_1: | |
retq | |
.globl _NRT_decref | |
.weak_def_can_be_hidden _NRT_decref | |
.p2align 4, 0x90 | |
_NRT_decref: | |
.cfi_startproc | |
testq %rdi, %rdi | |
je LBB3_2 | |
##MEMBARRIER | |
lock subq $1, (%rdi) | |
je LBB3_3 | |
LBB3_2: | |
retq | |
LBB3_3: | |
##MEMBARRIER | |
movabsq $_NRT_MemInfo_call_dtor, %rax | |
jmpq *%rax | |
.cfi_endproc | |
.globl __ZN5numba10listobject12impl_setitem12$3clocals$3e16impl_integer$249E21ListType$5bfloat64$5dxd | |
.weak_def_can_be_hidden __ZN5numba10listobject12impl_setitem12$3clocals$3e16impl_integer$249E21ListType$5bfloat64$5dxd | |
.p2align 4, 0x90 | |
__ZN5numba10listobject12impl_setitem12$3clocals$3e16impl_integer$249E21ListType$5bfloat64$5dxd: | |
.cfi_startproc | |
pushq %rbp | |
.cfi_def_cfa_offset 16 | |
pushq %r15 | |
.cfi_def_cfa_offset 24 | |
pushq %r14 | |
.cfi_def_cfa_offset 32 | |
pushq %r13 | |
.cfi_def_cfa_offset 40 | |
pushq %r12 | |
.cfi_def_cfa_offset 48 | |
pushq %rbx | |
.cfi_def_cfa_offset 56 | |
subq $24, %rsp | |
.cfi_def_cfa_offset 80 | |
.cfi_offset %rbx, -56 | |
.cfi_offset %r12, -48 | |
.cfi_offset %r13, -40 | |
.cfi_offset %r14, -32 | |
.cfi_offset %r15, -24 | |
.cfi_offset %rbp, -16 | |
vmovsd %xmm0, 16(%rsp) | |
movq %r8, %r12 | |
movq %rcx, %r13 | |
movq %rdx, %rbx | |
movq %rsi, %r15 | |
movq %rdi, %r14 | |
movq $0, (%rsp) | |
movabsq $_NRT_incref, %rbp | |
movq %rdx, %rdi | |
callq *%rbp | |
movq %rbx, %rdi | |
callq *%rbp | |
testq %r12, %r12 | |
jns LBB4_7 | |
movabsq $_numba_list_length, %rax | |
movq %r13, %rdi | |
callq *%rax | |
addq %rax, %r12 | |
js LBB4_2 | |
LBB4_7: | |
movq %r14, 8(%rsp) | |
movabsq $_numba_list_length, %rax | |
movq %r13, %rdi | |
callq *%rax | |
movq %rax, %rbp | |
movabsq $_NRT_decref, %r14 | |
movq %rbx, %rdi | |
callq *%r14 | |
cmpq %rbp, %r12 | |
jge LBB4_3 | |
vmovsd 16(%rsp), %xmm0 | |
vmovsd %xmm0, (%rsp) | |
movabsq $_numba_list_setitem, %rax | |
movq %rsp, %rdx | |
movq %r13, %rdi | |
movq %r12, %rsi | |
callq *%rax | |
movl %eax, %ebp | |
movq %rbx, %rdi | |
callq *%r14 | |
testl %ebp, %ebp | |
je LBB4_9 | |
movabsq $_.const.picklebuf.4748686912, %rax | |
jmp LBB4_5 | |
LBB4_9: | |
movq 8(%rsp), %rax | |
movq $0, (%rax) | |
xorl %eax, %eax | |
jmp LBB4_6 | |
LBB4_2: | |
movabsq $_NRT_decref, %rax | |
movq %rbx, %rdi | |
callq *%rax | |
LBB4_3: | |
movabsq $_.const.picklebuf.4745801968.11, %rax | |
LBB4_5: | |
movq %rax, (%r15) | |
movl $1, %eax | |
LBB4_6: | |
addq $24, %rsp | |
popq %rbx | |
popq %r12 | |
popq %r13 | |
popq %r14 | |
popq %r15 | |
popq %rbp | |
retq | |
.cfi_endproc | |
.comm __ZN08NumbaEnv8__main__15mutate_list$245E21ListType$5bfloat64$5d,8,3 | |
.section __TEXT,__const | |
_.const.mutate_list: | |
.asciz "mutate_list" | |
.p2align 4 | |
"_.const.missing Environment": | |
.asciz "missing Environment" | |
_.const._opaque: | |
.asciz "_opaque" | |
.p2align 4 | |
"_.const.unknown error when calling native function": | |
.asciz "unknown error when calling native function" | |
.comm __ZN08NumbaEnv5numba10listobject8impl_len12$3clocals$3e8impl$246E21ListType$5bfloat64$5d,8,3 | |
.comm __ZN08NumbaEnv5numba10listobject12impl_getitem12$3clocals$3e16integer_impl$247E21ListType$5bfloat64$5dx,8,3 | |
.comm __ZN08NumbaEnv5numba10listobject16handle_index$248E21ListType$5bfloat64$5dx,8,3 | |
.section __DATA,__const | |
.p2align 3 | |
_.const.picklebuf.4745801968: | |
.quad _.const.pickledata.4745801968 | |
.long 135 | |
.space 4 | |
.section __TEXT,__const | |
.p2align 4 | |
_.const.pickledata.4745801968: | |
.ascii "\200\004\225|\000\000\000\000\000\000\000\214\bbuiltins\224\214\nIndexError\224\223\224\214\027list index out of range\224\205\224\214\fhandle_index\224\214,/Users/vhaenel/git/numba/numba/listobject.py\224M\013\002\207\224\207\224." | |
.comm __ZN08NumbaEnv5numba10listobject12impl_setitem12$3clocals$3e16impl_integer$249E21ListType$5bfloat64$5dxd,8,3 | |
.section __DATA,__const | |
.p2align 3 | |
_.const.picklebuf.4748686912: | |
.quad _.const.pickledata.4748686912 | |
.long 151 | |
.space 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment