Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rust generated code for webrender_api::CommonItemProperties
beagle_bros_test::poke:
cmp rsi, 60
jbe LBB29_8
movups xmm0, xmmword, ptr, [rdx, +, 64]
movups xmmword, ptr, [rdi], xmm0
cmp dword, ptr, [rdx], 1
jne LBB29_2
mov byte, ptr, [rdi, +, 16], 1
mov rax, qword, ptr, [rdx, +, 8]
mov qword, ptr, [rdi, +, 17], rax
lea rax, [rdx, +, 16]
lea rcx, [rdx, +, 20]
jmp LBB29_4
LBB29_2:
lea rax, [rdx, +, 4]
mov byte, ptr, [rdi, +, 16], 0
mov rcx, qword, ptr, [rdx, +, 16]
mov qword, ptr, [rdi, +, 17], rcx
lea rcx, [rdx, +, 8]
LBB29_4:
mov eax, dword, ptr, [rax]
mov ecx, dword, ptr, [rcx]
mov dword, ptr, [rdi, +, 25], eax
mov dword, ptr, [rdi, +, 29], ecx
mov rax, qword, ptr, [rdx, +, 24]
mov qword, ptr, [rdi, +, 33], rax
mov rax, qword, ptr, [rdx, +, 32]
mov qword, ptr, [rdi, +, 41], rax
cmp qword, ptr, [rdx, +, 40], 1
jne LBB29_5
mov byte, ptr, [rdi, +, 49], 1
mov rax, qword, ptr, [rdx, +, 48]
movzx ecx, word, ptr, [rdx, +, 56]
mov qword, ptr, [rdi, +, 50], rax
mov word, ptr, [rdi, +, 58], cx
mov al, byte, ptr, [rdx, +, 80]
mov byte, ptr, [rdi, +, 60], al
ret
LBB29_5:
mov byte, ptr, [rdi, +, 49], 0
mov al, byte, ptr, [rdx, +, 80]
mov byte, ptr, [rdi, +, 60], al
ret
LBB29_8:
push rbp
mov rbp, rsp
lea rdi, [rip, +, l___unnamed_33]
lea rdx, [rip, +, l___unnamed_34]
mov esi, 49
call std::panicking::begin_panic
beagle_bros_test::poke:
cmp rsi, 66
jbe LBB29_8
movups xmm0, xmmword, ptr, [rdx, +, 64]
movups xmmword, ptr, [rdi], xmm0
cmp dword, ptr, [rdx], 1
jne LBB29_2
mov dword, ptr, [rdi, +, 16], 1
mov rax, qword, ptr, [rdx, +, 8]
mov qword, ptr, [rdi, +, 20], rax
lea rax, [rdx, +, 16]
lea rcx, [rdx, +, 20]
jmp LBB29_4
LBB29_2:
lea rax, [rdx, +, 4]
mov dword, ptr, [rdi, +, 16], 0
mov rcx, qword, ptr, [rdx, +, 16]
mov qword, ptr, [rdi, +, 20], rcx
lea rcx, [rdx, +, 8]
LBB29_4:
mov eax, dword, ptr, [rax]
mov ecx, dword, ptr, [rcx]
mov dword, ptr, [rdi, +, 28], eax
mov dword, ptr, [rdi, +, 32], ecx
mov rax, qword, ptr, [rdx, +, 24]
mov qword, ptr, [rdi, +, 36], rax
mov rax, qword, ptr, [rdx, +, 32]
mov qword, ptr, [rdi, +, 44], rax
cmp qword, ptr, [rdx, +, 40], 1
jne LBB29_5
mov dword, ptr, [rdi, +, 52], 1
mov rax, qword, ptr, [rdx, +, 48]
movzx ecx, word, ptr, [rdx, +, 56]
mov qword, ptr, [rdi, +, 56], rax
mov word, ptr, [rdi, +, 64], cx
mov al, byte, ptr, [rdx, +, 80]
mov byte, ptr, [rdi, +, 66], al
ret
LBB29_5:
mov dword, ptr, [rdi, +, 52], 0
mov al, byte, ptr, [rdx, +, 80]
mov byte, ptr, [rdi, +, 66], al
ret
LBB29_8:
push rbp
mov rbp, rsp
lea rdi, [rip, +, l___unnamed_33]
lea rdx, [rip, +, l___unnamed_34]
mov esi, 49
call std::panicking::begin_panic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.