OpenGrok
Cross Reference: memset2.c
xref
: /
src
/
common
/
lib
/
libc
/
string
/
memset2.c
Home
|
History
|
Annotate
|
Download
|
only in
string
History log of
/src/common/lib/libc/string/memset2.c
Revision
Date
Author
Comments
1.11
15-Jan-2022
andvar
fix typos in comments.
1.10
19-Apr-2021
simonb
Add CVS ID line.
1.9
17-Apr-2021
mrg
avoid redefinition warning for __OPTIMIZE_SIZE__.
1.8
17-Apr-2021
simonb
Use __register_t instead of uregister_t - this is available to all ports
and both userland and kernel.
1.7
17-Apr-2021
simonb
Cast the fill value to unsigned char so that the "fill" value used for
full-word fills isn't garbage.
1.6
17-Apr-2021
simonb
Disable the larger/faster code path. While the optimised code path was
indeed quicker, it nonetheless failed to actually fill all the requested
memory with the specified value much of the time if a non-aligned start
address was used.
1.5
02-Mar-2012
apb
branches: 1.5.34;
remove trailing white space
1.4
02-Mar-2012
apb
Change CTASSERT to __CTASSERT (the spelling used in <sys/cdefs.h>),
include <sys/cdefs.h> so that it will be defined,
and move it to a better place.
The previous CTASSERT would never have been used because
of the ifdef. If it had been used, it would have had
unwanted effects from being just after the "static inline"
that appears when BZERO is defined.
Also move the __RCSID to a more conventional location.
1.3
08-Nov-2011
joerg
libkern.h maps memcmp, memset and strcpy to the compiler builtins on
some platforms, so make sure to #undef them first.
1.2
14-Dec-2009
matt
branches: 1.2.6;
Merge from matt-nb5-mips64
1.1
17-Aug-2009
matt
branches: 1.1.2;
file memset2.c was initially added on branch matt-nb5-mips64.
1.1.2.3
23-Aug-2009
matt
CTASSERT only defined for kernel enviornments.
1.1.2.2
23-Aug-2009
matt
Add a unit test to this file. Fix two bugs.
1.1.2.1
17-Aug-2009
matt
Add word-load-store optimized version of memset/bzero. On platforms with
64bit registers they can be as efficient as assembly coded version.
1.2.6.2
17-Apr-2012
yamt
sync with head
1.2.6.1
10-Nov-2011
yamt
sync with head
1.5.34.2
21-Apr-2020
martin
Ooops, restore accidently removed files from merge mishap
1.5.34.1
21-Apr-2020
martin
Sync with HEAD
Indexes created Sat Sep 20 22:09:52 GMT 2025