[PATCH] x86-64: Optimize memset for zeroing
Cristian Rodríguez
crrodriguez@opensuse.org
Sun Jan 2 16:01:04 GMT 2022
On Fri, Dec 31, 2021 at 5:21 PM Noah Goldstein via Libc-alpha <
libc-alpha@sourceware.org> wrote:
>
> Any benchmark results? Is the broadcast on the critical path for any size?
>
> Also imagine the vast majority of memset zero are compile time known.
>
..and gcc was to transform memset foo to zero --> foo = {}; ?
IIRC there was a bug report open about that.
More information about the Libc-alpha
mailing list