glibc/sysdeps
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
..
aarch64 elf: Consolidate stackinfo.h 2024-12-02 17:14:58 +00:00
alpha math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
arc elf: Consolidate stackinfo.h 2024-12-02 17:14:58 +00:00
arm math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
csky elf: Consolidate stackinfo.h 2024-12-02 17:14:58 +00:00
generic malloc: Optimize small memory clearing for calloc 2024-12-04 04:28:15 +08:00
gnu sysdeps: Re-flow and sort multiline gnu/Makefile definitions 2024-08-07 11:02:03 -03:00
hppa math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
htl htl: move pthread_attr_init into libc. 2024-11-19 01:37:35 +01:00
hurd hurd: Move internal functions to internal header 2024-03-23 22:43:07 +01:00
i386 math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
ieee754 math: Add internal roundeven_finite 2024-11-26 15:07:57 -03:00
loongarch elf: Consolidate stackinfo.h 2024-12-02 17:14:58 +00:00
m68k Remove nios2-linux-gnu 2024-11-28 14:03:25 -03:00
mach hurd: Add MAP_NORESERVE mmap flag 2024-11-25 00:55:33 +01:00
microblaze Remove nios2-linux-gnu 2024-11-28 14:03:25 -03:00
mips math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
nptl linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
or1k math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
posix Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
powerpc elf: Consolidate stackinfo.h 2024-12-02 17:14:58 +00:00
pthread Add threaded test of sem_trywait 2024-11-29 20:25:04 +00:00
riscv elf: Consolidate stackinfo.h 2024-12-02 17:14:58 +00:00
s390 math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
sh math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
sparc math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
unix Remove nios2-linux-gnu 2024-11-28 14:03:25 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x86 Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
x86_64 math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00