xref: /linux/rust/zerocopy/benches/read_from_prefix.x86-64 (revision b079329b8691768962aa514b8f8c9077ca352459)
1*c3739801SMiguel Ojedabench_read_from_prefix_static_size:
2*c3739801SMiguel Ojeda	cmp rsi, 5
3*c3739801SMiguel Ojeda	jbe .LBB5_2
4*c3739801SMiguel Ojeda	mov eax, dword ptr [rdi]
5*c3739801SMiguel Ojeda	movzx edi, word ptr [rdi + 4]
6*c3739801SMiguel Ojeda	shl rdi, 32
7*c3739801SMiguel Ojeda	or rdi, rax
8*c3739801SMiguel Ojeda.LBB5_2:
9*c3739801SMiguel Ojeda	shl rdi, 16
10*c3739801SMiguel Ojeda	inc rdi
11*c3739801SMiguel Ojeda	xor eax, eax
12*c3739801SMiguel Ojeda	cmp rsi, 6
13*c3739801SMiguel Ojeda	cmovae rax, rdi
14*c3739801SMiguel Ojeda	ret
15