Commit Graph

38 Commits

Author SHA1 Message Date
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
pk
d9a465e8af PIC generation when -DPIC flag is on. 1993-09-28 21:04:38 +00:00
pk
308358ebde Macro's for generating PIC code in assembler stubs. 1993-09-28 21:04:01 +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
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
965a95338b Clean up deleted files. 1993-07-09 09:40:01 +00:00
cgd
4cbf5e04e2 update for better FP routines, from AT&T & elsewhere 1993-07-09 09:39:13 +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
mycroft
6d772d56b3 Stupid cpp! 1993-06-17 13:04:04 +00:00
mycroft
dbf2e6e2b8 Remove some spaces so GAS 2 won't barf (but I think I will)... 1993-06-17 12:05:29 +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
ac1dfafeae Clean up this bullshit. 1993-06-16 21:31:12 +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
proven
1184357971 Applied John Kohl's patch to syscall.s Stack pointer was off by 4 bytes on
return.
1993-04-28 18:33:01 +00:00
mycroft
f3abdec36a Rewrite. Add support for GCC 2. 1993-04-18 08:47:09 +00:00
cgd
571aba5ed9 should be looking in /usr/include/sys/syscall.h 1993-04-13 16:33:31 +00:00
cgd
80179fde68 from patch 108, by jordan hubbard:
The value of endp returned by strtod() was off by one.  There was also a
const char * vs char * assignment that I took the opportunity to fix.
1993-04-09 12:27:23 +00:00
cgd
e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00