summaryrefslogtreecommitdiff
path: root/rust/zerocopy/benches/ref_from_suffix_dynamic_padding.x86-64
blob: 3e05f6023f38c2339f38597fbfff986688f5cb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bench_ref_from_suffix_dynamic_padding:
	lea eax, [rsi + rdi]
	test al, 3
	jne .LBB5_1
	movabs rax, 9223372036854775804
	and rax, rsi
	cmp rax, 9
	jae .LBB5_3
.LBB5_1:
	xor eax, eax
	ret
.LBB5_3:
	add rax, -9
	movabs rcx, -6148914691236517205
	mul rcx
	shr rdx
	lea rax, [rdx + 2*rdx]
	sub rsi, rax
	or rax, -4
	add rsi, rdi
	add rax, rsi
	add rax, -8
	ret