summaryrefslogtreecommitdiff
path: root/rust/zerocopy/benches/try_ref_from_suffix_dynamic_size.x86-64
blob: d51f7817e599678d9df962ecc26c003e8d878b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
bench_try_ref_from_suffix_dynamic_size:
	lea eax, [rsi + rdi]
	cmp rsi, 4
	setb cl
	or cl, al
	test cl, 1
	je .LBB5_2
	xor eax, eax
	ret
.LBB5_2:
	lea rdx, [rsi - 4]
	shr rdx
	and esi, 1
	lea rcx, [rdi + rsi]
	xor eax, eax
	cmp word ptr [rdi + rsi], -16192
	cmove rax, rcx
	ret