about summary refs log tree commit diff
path: root/debug/tst-chk1.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2015-08-25 12:23:24 +0200
committerOndřej Bílka <neleai@seznam.cz>2015-08-25 15:06:33 +0200
commit0d0325ed4b1052f32069eb3a51f7e16485a73568 (patch)
tree78fdda7e7fab4a93d3789d8244fbec6e93d9b65e /debug/tst-chk1.c
parentf3dcae82d54e5097e18e1d6ef4ff55c2ea4e621e (diff)
downloadglibc-0d0325ed4b1052f32069eb3a51f7e16485a73568.tar.gz
glibc-0d0325ed4b1052f32069eb3a51f7e16485a73568.tar.xz
glibc-0d0325ed4b1052f32069eb3a51f7e16485a73568.zip
Fix strcpy_chk and stpcpy_chk performance.
Hi, as I wrote in previous patches a performance of checked strcpy and
stpcpy is terrible as these don't use sse2 and are around four times
slower that strcpy and stpcpy now.

As this bug shows that these functions are not performance sensitive I
decided just to improve generic implementation instead for easier
maintainance.

        * debug/strcpy_chk.c: Improve performance.
        * debug/stpcpy_chk.c: Likewise.
        * sysdeps/x86_64/strcpy_chk.S: Remove.
        * sysdeps/x86_64/stpcpy_chk.S: Remove.
Diffstat (limited to 'debug/tst-chk1.c')
0 files changed, 0 insertions, 0 deletions