diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-02-16 17:02:44 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-03-26 11:03:06 +0000 |
commit | 9d61722b599a02a6d3caed1d75417a7f5e661693 (patch) | |
tree | 565e05bea7b1b44d556a197525d9ac5a3e43dc63 /math/auto-libm-test-out-cpow | |
parent | c076a0bc698c537f72c33bad2925f4e3da59d23c (diff) | |
download | glibc-9d61722b599a02a6d3caed1d75417a7f5e661693.tar.gz glibc-9d61722b599a02a6d3caed1d75417a7f5e661693.tar.xz glibc-9d61722b599a02a6d3caed1d75417a7f5e661693.zip |
malloc: Change calloc when tagging is disabled
When glibc is built with memory tagging support (USE_MTAG) but it is not enabled at runtime (mtag_enabled) then unconditional memset was used even though that can be often avoided. This is for performance when tagging is supported but not enabled. The extra check should have no overhead: tag_new_zero_region already had a runtime check which the compiler can now optimize away. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'math/auto-libm-test-out-cpow')
0 files changed, 0 insertions, 0 deletions