1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00
cc65/libsrc/common
cuz cb9a4e91e1 Use .repeat to unroll the loop.
Squeeze out two bytes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 21:10:18 +00:00
..
_afailed.c This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
_cwd.s Fixes to the code just written 2003-08-12 13:58:17 +00:00
_fdesc.s Use structs 2003-12-03 10:15:33 +00:00
_file.h Rewrote _fopen in assembler 2002-11-23 17:52:38 +00:00
_file.s Use structs 2003-12-03 10:15:33 +00:00
_fopen.s Use structs 2003-12-03 10:15:33 +00:00
_heap.s Move _heap.h to the compiler include dir. 2003-02-01 12:22:09 +00:00
_heapadd.s Use structs 2003-12-03 10:15:33 +00:00
_heapmaxavail.s Use structs 2003-12-03 10:15:33 +00:00
_heapmemavail.s Use structs 2003-12-03 10:15:33 +00:00
_hextab.c Remove #pragmas to switch to the RODATA segment since the compiler will do 2000-08-03 10:45:31 +00:00
_oserror.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
_poserror.c Added _poserror, made perror __fastcall__ 2003-04-24 20:55:55 +00:00
_printf.h Fixed email address 2001-03-03 12:04:01 +00:00
_printf.s Fixed precision bug in printf family 2002-11-13 13:17:28 +00:00
_scanf.c Completed _scanf.c, added vsscanf.c, rewrote sscanf.c. 2002-03-24 13:26:18 +00:00
_scanf.h Working on the ..scanf functions 2001-04-19 06:46:30 +00:00
_swap.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
_sys.s Fixed a typo 2003-02-12 19:56:00 +00:00
.cvsignore Added sleep.c from Stefan Haubenthal 2003-06-12 08:28:54 +00:00
abort.c Raise SIGABRT 2003-03-14 00:02:31 +00:00
abs.s Squeeze two cycles out of the abs() function 2003-10-10 17:59:00 +00:00
asctime.c Call strftime instead of formatting the time manually 2002-11-13 13:28:45 +00:00
atexit.s Removed useless __errno imports 2003-11-13 00:12:56 +00:00
atoi.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
bsearch.c Make bsearch __fastcall__ 2003-10-29 21:51:59 +00:00
calloc.s Replaced calloc by an assembler version 2001-11-15 21:53:00 +00:00
chdir.s Added a getcwd function 2003-08-12 13:51:11 +00:00
copydata.s Fixed a bug 2000-06-15 18:06:18 +00:00
creat.s Added creat() 2003-06-12 09:10:50 +00:00
ctime.s Added lots of functions from time.h 2002-11-12 22:06:02 +00:00
divt.s Removed comment about a cast that is no longer necessary 2002-11-21 21:29:15 +00:00
errno.s Separated _maperrno and _errno 2000-06-24 09:10:16 +00:00
errormsg.c New error code ERANGE 2003-08-12 13:48:45 +00:00
fclose.s Use structs 2003-12-03 10:15:33 +00:00
fdopen.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fgetc.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fgetpos.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fgets.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fmisc.s Use structs 2003-12-03 10:15:33 +00:00
fopen.s Rewrote fopen in assembler 2002-11-23 18:46:40 +00:00
fprintf.s Use decsp instead of subysp 2001-03-24 15:59:54 +00:00
fputc.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fputs.c Restructured former fcntl.h, added new include files unistd.h and sys/types.h. 2003-06-12 18:08:23 +00:00
fread.s Use structs 2003-12-03 10:15:33 +00:00
free.s Use structs 2003-12-03 10:15:33 +00:00
freopen.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fseek.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fsetpos.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
ftell.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fwrite.s Use structs 2003-12-03 10:15:33 +00:00
getchar.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
getcpu.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
getcwd.s Fixes to the code just written 2003-08-12 13:58:17 +00:00
gets.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
gmtime.c Cosmetic changes 2002-11-13 08:56:45 +00:00
isalnum.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isalpha.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isblank.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
iscntrl.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isdigit.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isgraph.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
islower.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isprint.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
ispunct.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isspace.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isupper.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isxdigit.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
itoa.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
labs.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
locale.c Make setlocale __fastcall__ 2003-10-02 21:44:56 +00:00
localtime.c Cosmetic changes 2002-11-13 08:56:45 +00:00
longjmp.s Replace a return value of 0 by 1 as expected by the C standard. 2000-07-22 18:26:31 +00:00
ltoa.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
Makefile Split memcpy and memmove, since the former is used a lot more often than 2003-08-20 10:17:53 +00:00
malloc.s Use structs 2003-12-03 10:15:33 +00:00
maperrno.s Removed useless __errno imports 2003-11-13 00:12:56 +00:00
memchr.s Optimization 2003-05-05 17:19:48 +00:00
memcmp.s Rewrote memcmp. The old version was buggy, the new one is faster and 2000-09-15 17:23:19 +00:00
memcpy.s Fixed a bug in memcpy 2003-10-22 21:04:22 +00:00
memmove.s Split memcpy and memmove, since the former is used a lot more often than 2003-08-20 10:17:53 +00:00
memset.s Use .repeat to unroll the loop. 2003-12-16 21:10:18 +00:00
mktime.c Optimizations 2003-11-11 22:33:42 +00:00
modfree.s Changed function prototype 2002-06-21 16:26:15 +00:00
modload.s Use structs 2003-12-03 20:54:43 +00:00
oserrcheck.s Removed useless __errno imports 2003-11-13 00:12:56 +00:00
perror.c Added _poserror, made perror __fastcall__ 2003-04-24 20:55:55 +00:00
printf.s Rewrote vfprintf() in assembler 2000-12-01 15:05:46 +00:00
putchar.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
puts.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
qsort.c Make qsort __fastcall__ 2003-10-29 21:59:19 +00:00
raise.s Reset signal handler to SIG_DFL on a call to raise() 2003-03-14 00:08:35 +00:00
rand.s Change initial seed to 1 2002-11-05 13:19:43 +00:00
realloc.c Move _heap.h to the compiler include dir. 2003-02-01 12:22:09 +00:00
remove.s Moved reusable parts of remove into oserrcheck. 2003-08-12 13:06:43 +00:00
rename.s Moved reusable parts of remove into oserrcheck. 2003-08-12 13:06:43 +00:00
rewind.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
setjmp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
signal.s Add signal() and raise() 2003-03-14 00:02:58 +00:00
sigtable.s Add signal() and raise() 2003-03-14 00:02:58 +00:00
sleep.c sleep.c doesn't compile on platforms without a clock function 2003-06-12 18:17:46 +00:00
sprintf.s Fixed a typo 2003-06-03 12:15:57 +00:00
sscanf.c Completed _scanf.c, added vsscanf.c, rewrote sscanf.c. 2002-03-24 13:26:18 +00:00
strcat.s Small optimization 2003-05-05 17:05:22 +00:00
strchr.s Added the capability to search for the terminating zero of the given string. 2000-06-09 12:07:53 +00:00
strcmp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strcoll.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strcpy.s Another small optimization 2003-05-05 17:07:14 +00:00
strcspn.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strdup.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
strerror.s Minor optimization 2002-07-16 09:41:00 +00:00
strftime.c Fixed %W/%U 2002-11-13 18:08:36 +00:00
stricmp.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
strlen.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strlower.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
strncat.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strncmp.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strncpy.s Speed optimization 2003-08-18 11:25:31 +00:00
stroserr.s Added _stroserror 2002-07-18 13:29:04 +00:00
strpbrk.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strrchr.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strspn.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strstr.s This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strtok.c This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
strupper.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
strxfrm.c This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
system.c Cleanup use of predefined data types / defines 2003-08-16 08:23:01 +00:00
time.s Removed useless __errno imports 2003-11-13 00:12:56 +00:00
timezone.c Cosmetic changes 2002-11-13 08:56:45 +00:00
tolower.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
toupper.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
uname.s New uname function 2003-08-12 14:24:34 +00:00
unlink.s Added unlink() 2003-06-12 08:43:57 +00:00
utscopy.s Use structs 2003-12-03 20:23:09 +00:00
vfprintf.s Rewrote fwrite in assembler 2002-11-23 22:51:25 +00:00
vprintf.s Rewrote vprintf in assembler and made it __fastcall__ 2003-06-02 16:08:26 +00:00
vsprintf.s Fixed a typo 2003-06-03 12:15:57 +00:00
vsscanf.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
zerobss.s Sqeezed one byte out of the zerobss routine:-) 2000-11-23 22:15:57 +00:00