Function index_many::_doc_assembly::checked_unsorted_4[][src]

pub unsafe fn checked_unsorted_4(
    slice: &mut [Elem],
    indices: UnsortedIndices<4>
) -> [&mut Elem; 4]
Expand description

Body: { generic::index_many_mut(slice, indices) }

Assembly (x86_64)

codegen_crate::checked_unsorted_4:
 sub     rsp, 72
 mov     rax, qword, ptr, [r9]
 mov     r11, qword, ptr, [r9, +, 8]
 mov     r10, qword, ptr, [r9, +, 16]
 mov     r9, qword, ptr, [r9, +, 24]
 cmp     r9, r10
 je      .LBB0_10
 cmp     r9, r11
 je      .LBB0_10
 cmp     r9, rax
 je      .LBB0_10
 cmp     r9, r8
 jae     .LBB0_10
 cmp     r10, r11
 je      .LBB0_10
 cmp     r10, rax
 je      .LBB0_10
 cmp     r10, r8
 jae     .LBB0_10
 cmp     r11, rax
 je      .LBB0_10
 cmp     rax, r8
 jae     .LBB0_10
 cmp     r11, r8
 jae     .LBB0_10
 lea     rax, [rdx, +, 8*rax]
 lea     r8, [rdx, +, 8*r11]
 lea     r10, [rdx, +, 8*r10]
 lea     rdx, [rdx, +, 8*r9]
 mov     qword, ptr, [rcx], rax
 mov     qword, ptr, [rcx, +, 8], r8
 mov     qword, ptr, [rcx, +, 16], r10
 mov     qword, ptr, [rcx, +, 24], rdx
 mov     rax, rcx
 add     rsp, 72
 ret
.LBB0_10:
 mov     qword, ptr, [rsp, +, 40], rax
 mov     qword, ptr, [rsp, +, 48], r11
 mov     qword, ptr, [rsp, +, 56], r10
 mov     qword, ptr, [rsp, +, 64], r9
 lea     rcx, [rsp, +, 40]
 mov     edx, 4
 call    index_many::bound_check_failed
 ud2