summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/memset.c
Commit message (Collapse)AuthorAgeFilesLines
* 2008-05-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-05-271-1/+1
| | | | | * libc/string/memset.c: Fix documented prototype to remove erroneous const attribute on first parameter.
* 2008-05-26 Eric Blake <ebb9@byu.net>Jeff Johnston2008-05-261-29/+22
| | | | | | | | | Optimize the generic and x86 memset. * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]: Pre-align pointer so unaligned stores aren't penalized. * libc/machine/i386/memset.S (memset): [!__OPTIMIZE_SIZE__]: Pre-align pointer so unaligned stores aren't penalized. Prefer 8-byte over 4-byte alignment. Reduce register pressure.
* * libc/string/memset.c (memset): Fix comment.Christopher Faylor2002-11-271-4/+2
|
* * libc/string/memset.c (memset): Move initialization of 'd' earlier inChristopher Faylor2002-11-261-1/+1
| | | | function.
* * libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,Christopher Faylor2002-11-251-1/+1
| | | | introduced below, everywhere.
* * libc/string/memset.c (memset): Make it safe even ifKazu Hirata2002-11-251-4/+6
| | | | sizeof (int) = 2.
* 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-08-241-2/+1
| | | | | | | | | | | | | * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's used later (ifdef __SCLE) * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's used later (ifdef MB_CAPABLE) * libc/string/memset.c (memset): removed unused variables "count" and "unaligned_addr" * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" and "gid"
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+110