xref: /linux/rust/zerocopy/benches/try_ref_from_suffix_dynamic_padding.x86-64 (revision 056a5087d87ead77dedbe9cf5bde53b7cd4b4651)
1bench_try_ref_from_suffix_dynamic_padding:
2	lea eax, [rsi + rdi]
3	test al, 3
4	jne .LBB5_1
5	movabs rax, 9223372036854775804
6	and rax, rsi
7	cmp rax, 9
8	jae .LBB5_3
9.LBB5_1:
10	xor eax, eax
11	ret
12.LBB5_3:
13	add rax, -9
14	movabs rcx, -6148914691236517205
15	mul rcx
16	shr rdx
17	lea rcx, [rdx + 2*rdx]
18	sub rsi, rcx
19	or rcx, -4
20	add rsi, rdi
21	lea rdi, [rcx + rsi]
22	add rdi, -8
23	xor eax, eax
24	cmp word ptr [rcx + rsi - 8], -16192
25	cmove rax, rdi
26	ret
27