diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-10-01 19:36:14 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-10-01 19:39:24 -0400 |
commit | 7bf773a8f9b97875ba67b646c1681ac5ca22016f (patch) | |
tree | 5647df1752aef1f7e862c54a4ff7e494defc32bd /src/string/wcsncpy.c | |
parent | 0beb9dfbecad38af9759b1e83eeb007e28b70abb (diff) | |
download | musl-7bf773a8f9b97875ba67b646c1681ac5ca22016f.tar.gz musl-7bf773a8f9b97875ba67b646c1681ac5ca22016f.tar.xz musl-7bf773a8f9b97875ba67b646c1681ac5ca22016f.zip |
inline cp15 thread pointer load in arm dynamic TLSDESC asm when possible
the indirect function call is a significant portion of the code path for the dynamic case, and most users are probably building for ISA levels where it can be omitted. we could drop at least one register save/restore (lr) with this change, and possibly another (ip) with some clever shuffling, but it's not clear whether there's a way to do it that's not more expensive, or whether avoiding the save/restore would have any practical effect, so in the interest of avoiding complexity it's omitted for now.
Diffstat (limited to 'src/string/wcsncpy.c')
0 files changed, 0 insertions, 0 deletions