summaryrefslogtreecommitdiff
path: root/rust/zerocopy/benches/read_from_prefix.x86-64
blob: c75b06c0c22acb2bef6a3f81c9d1b828ebc0847f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
bench_read_from_prefix_static_size:
	cmp rsi, 5
	jbe .LBB5_2
	mov eax, dword ptr [rdi]
	movzx edi, word ptr [rdi + 4]
	shl rdi, 32
	or rdi, rax
.LBB5_2:
	shl rdi, 16
	inc rdi
	xor eax, eax
	cmp rsi, 6
	cmovae rax, rdi
	ret