summaryrefslogtreecommitdiff
path: root/rust/zerocopy/benches/try_ref_from_prefix_with_elems_dynamic_padding.x86-64
blob: 80e66ba1601cff487a37a1605286a29e3cd66008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
bench_try_ref_from_prefix_with_elems_dynamic_padding:
	movabs rax, 3074457345618258598
	cmp rdx, rax
	ja .LBB5_1
	xor ecx, ecx
	mov eax, 0
	test dil, 3
	je .LBB5_3
	mov rdx, rcx
	ret
.LBB5_3:
	lea rax, [rdx + 2*rdx]
	or rax, 3
	add rax, 9
	cmp rax, rsi
	jbe .LBB5_4
.LBB5_1:
	xor eax, eax
	mov edx, 1
	ret
.LBB5_4:
	movzx esi, word ptr [rdi]
	cmp si, -16192
	mov ecx, 2
	cmove rcx, rdx
	xor eax, eax
	cmp esi, 49344
	cmove rax, rdi
	mov rdx, rcx
	ret