HomeFreeBSD

libc/string/memset.c: Use unsigned long for stores

Description

libc/string/memset.c: Use unsigned long for stores

While most 64-bit architectures have an assembly implementation of this
file, RISC-V does not. As we now store 8 bytes instead of 4 it should speed
up RISC-V.

Reviewed By: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29536

Details

Provenance
arichardsonAuthored on Apr 19 2021, 11:19 PM
Reviewer
kib
Differential Revision
D29536: libc/string/memset.c: Use unsigned long for stores
Parents
rG0b4ad01d91a3: libc/string/bcopy.c: Use intptr_t as the copy type
Branches
Unknown
Tags
Unknown