diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-05-26 23:31:08 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-05-26 23:31:08 +0000 |
commit | 70bff2d5033567544fa1970b02699060974b2d70 (patch) | |
tree | 63f10ba544f805523216ade4dfb2bd0043fee46e /newlib/libc/stdlib/malloc.c | |
parent | a6bd72a27873294887681d3bd102d848e5777e2c (diff) | |
download | cygnal-70bff2d5033567544fa1970b02699060974b2d70.tar.gz cygnal-70bff2d5033567544fa1970b02699060974b2d70.tar.bz2 cygnal-70bff2d5033567544fa1970b02699060974b2d70.zip |
2008-05-26 Eric Blake <ebb9@byu.net>
Optimize the generic and x86 memchr.
* libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
Pre-align pointer so unaligned searches aren't penalized.
* libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
operations are faster than repnz byte searches.
Diffstat (limited to 'newlib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions