For instance, here is the inner loop with local min, max,  which end up in registers `r8` and `r9`, avoiding memory access altogether except to fetch `val`, which is the instruction `movq	(%rdi), %rax`.
```
.L62:
	subq	$1, %rsi
	je	.L66
.L64:
	addq	$8, %rdi
	movq	(%rdi), %rax
	cmpq	%rax, %r8
	jg	.L65
	cmpq	%rax, %r9
	cmovl	%rax, %r9
	subq	$1, %rsi
	jne	.L64
.L66:
	movq	%r8, (%rdx)
	movq	%r9, (%rcx)
	ret
	.p2align 4,,10
	.p2align 3
.L65:
	movq	%rax, %r8
	jmp	.L62
```