mycroft
2f0fca8e20
Clean up deleted files.
1993-10-10 00:18:02 +00:00
jtc
c6edc05829
Assembly language version of the swab function.
...
This version is only slightly faster than the code generated by gcc on
my i486, but it is almost twice as small. My i386 timing chart indicates
that this should be significantly faster than the gcc code on a i386.
Surprisingly, none of the code in the source tree actually use this routine.
But I optimized this routine for some image processing programs I wrote, and
I see no reason why everyone else shouldn't share the (admittedly) modest
benifits.
1993-10-05 18:35:10 +00:00
brezak
1ee5779f11
Clear direction flag. Too many folks were losing...
1993-09-19 19:16:27 +00:00
jtc
4dde406083
Shave a cycle or two. Fix comment.
1993-09-07 16:50:29 +00:00
jtc
d5dd740e34
Added code to compare by words.
1993-09-07 16:49:57 +00:00
mycroft
ed55107bda
Add `.text' before the .asciz strings for RCS identifiers.
1993-08-26 02:11:52 +00:00
jtc
35aa0934e7
Note that code originated in locore.s.
...
Don't bother clearing %eax in bcopy(), it doesn't return anything so
why clear a return value that never gets used?
Don't bother clearing direction flag. Any code that doesn't set/clear
it explicitly before a string instruction deserves to loose.
1993-08-24 16:59:00 +00:00
jtc
200ad8d9bd
Don't include "DEFS.h" more than once.
...
Added .asciz rcsid's to all files.
1993-08-16 17:06:27 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
jtc
527e6a5736
Add i386 assembly versions of bcmp & memcmp
1993-06-17 23:00:41 +00:00
jtc
36b9af8bc1
bzero: make sure we are longword aligned before we "stosl"
...
memchr: new
memset: new
strcat: shave a cycle or two.
1993-06-17 16:12:49 +00:00
jtc
3743b2f50b
fix align directive, so we don't jmp to a bunch of nops before we get to the good stuyff
1993-06-17 01:50:12 +00:00
mycroft
409bc91101
Move asm.h from /usr/include/sys to /usr/include/machine.
1993-06-16 21:42:43 +00:00
mycroft
b2a958ff6d
Use TWOENTRY().
1993-06-16 21:04:44 +00:00
mycroft
cddba95abb
Use ENTRY() macro (for profiling).
1993-06-16 19:11:37 +00:00
mycroft
138b0ef3ae
#include <sys/asm.h>, and don't lose if we compile memcpy() with profiling.
1993-06-16 19:00:52 +00:00
mycroft
9490d905c4
Clean up deleted files.
1993-06-16 18:39:49 +00:00
mycroft
686b9e0da1
Actually, just make memcpy() an alias for memmove().
1993-06-16 18:38:38 +00:00
mycroft
42bfa88f6a
Add memcpy.s and memmove.s, based on bcopy.s.
1993-06-16 18:26:40 +00:00
mycroft
a7554b65a7
Use ENTRY macro.
1993-06-16 18:23:21 +00:00
jtc
caf6ead8ab
performance bugs discovered by mycroft
1993-06-16 16:31:00 +00:00
jtc
9bdb2fb9ea
Added i386 assembly language versions of ffs, strcat, strcpy, and strlen.
...
Updated comments of index, rindex, strchr, strcmp, strncmp, and strrchr.
1993-06-16 16:03:56 +00:00
jtc
2658bf6d50
Added fast strcmp() and strncmp() routines.
1993-06-15 23:25:12 +00:00
cgd
10e1e6a373
add assembly language version of index, rindex, strchr, and strrchr
...
supplied by J.T. Conklin <conklin@kaleida.com>
1993-05-07 03:01:27 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00