1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-27 12:15:39 +03:00
Files
glibc/sysdeps/generic
H.J. Lu 1c4cebb84b malloc: Optimize small memory clearing for calloc
Add calloc-clear-memory.h to clear memory size up to 36 bytes (72 bytes
on 64-bit targets) for calloc.  Use repeated stores with 1 branch, instead
of up to 3 branches.  On x86-64, it is faster than memset since calling
memset needs 1 indirect branch, 1 broadcast, and up to 4 branches.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
2024-12-04 04:28:15 +08:00
..
2024-06-18 10:45:36 +02:00
2024-01-08 17:09:36 -03:00
2022-05-17 10:33:07 -03:00
2024-11-22 10:52:27 -03:00
2024-08-01 05:06:12 -07:00
2024-12-02 17:14:58 +00:00
2024-01-08 17:09:36 -03:00
2024-01-08 17:09:36 -03:00