The gain is in power efficiency.
Arm64 provides `dc zva` for this.
Re:Leveraging Zig's Allocators
by anonymoushn on Sunday June 16, 2024 @06:47AM
(#40696090)
Supposedly rep movsb is faster than SIMD stores on very recent chips, for cases where you aren't actually hitting RAM with all your writes.
(By the way, x86 does have a dedicated instruction--rep stosb--but compilers differ as to how often they use it, for the reason cited above.)