HomeFreeBSD

arm64: Use store-pair to zero the kernel bss

Description

arm64: Use store-pair to zero the kernel bss

While this won't be noticed by most users the time to zero the bss
while using instruction tracing in the Arm FVP models (simulators) is
noticeable.

Reduce this time by using a store-pair instruction to double the size
of memory we zero on each iteration of the loop.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42733

Details

Provenance
andrewAuthored on Aug 20 2024, 5:14 PM
Differential Revision
D42733: arm64: Use store-pair to zero the kernel bss
Parents
rG78d69d0a3c7f: arm64: Fix the kernel with options VMM
Branches
Unknown
Tags
Unknown