Fix strcpy_chk and stpcpy_chk performance.
authorOndřej Bílka <neleai@seznam.cz>
Tue, 25 Aug 2015 10:23:24 +0000 (12:23 +0200)
committerOndřej Bílka <neleai@seznam.cz>
Tue, 25 Aug 2015 13:06:33 +0000 (15:06 +0200)
commit0d0325ed4b1052f32069eb3a51f7e16485a73568
tree78fdda7e7fab4a93d3789d8244fbec6e93d9b65e
parentf3dcae82d54e5097e18e1d6ef4ff55c2ea4e621e
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.
debug/stpcpy_chk.c
debug/strcpy_chk.c
sysdeps/x86_64/stpcpy_chk.S [deleted file]
sysdeps/x86_64/strcpy_chk.S [deleted file]