HomeFreeBSD

arm64: bzero optimization

Description

arm64: bzero optimization

This optimization attempts to utylize as wide as possible register store instructions to zero large buffers.
The implementation, if possible, will use 'dc zva' to zero buffer by cache lines.

Speedup: 60x faster memory zeroing

Submitted by: Dominik Ermel <der@semihalf.com>
Obtained from: Semihalf
Sponsored by: Cavium
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D5726

Details

Provenance
wmaAuthored on Apr 4 2016, 7:06 AM
Parents
rG841ecd471a17: Remove unused variable. It was write-only before r297139.
Branches
Unknown
Tags
Unknown

Event Timeline