summaryrefslogtreecommitdiff
path: root/rust/zerocopy/benches/ref_from_suffix_dynamic_size.x86-64
blob: bd4ace89836ab5db78a209d02f76873d0bb165c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
bench_ref_from_suffix_dynamic_size:
	mov rdx, rsi
	lea ecx, [rsi + rdi]
	mov eax, edx
	and eax, 1
	add rax, rdi
	xor esi, esi
	sub rdx, 4
	cmovb rax, rsi
	shr rdx
	test cl, 1
	cmovne rax, rsi
	ret