jtc
5f28317441
Use xorl/movb instead of movzbl when loading registers before computing
...
the return value.
1997-05-19 23:55:00 +00:00
jtc
f6f38dd61e
Changed the test that determines whether or not source and destination
...
memory regions are "potentially overlapping" to a test that determines
that the regions are actually overlapping. Because the code for the
overlapping case is seven instructions longer, this signifcantly
improves performance in the average case.
1996-11-12 00:50:06 +00:00
jtc
390695fb9c
$Id: $ -> $NetBSD: $
1995-04-28 22:57:54 +00:00
jtc
954b796156
Winning Strategies has placed this code into the Public Domain
1995-04-28 22:53:59 +00:00
mycroft
ce36f636ab
Separate machine dependencies.
1995-03-20 14:45:27 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
mycroft
d04155c293
Optimize better.
1995-02-05 14:58:44 +00:00
mycroft
fcc40a849d
If len == 0, then the result must be 0 regardless of the other arguments.
1994-11-24 16:36:35 +00:00
jtc
98cbb217ac
mem -> reg & reg->reg moves take the same time; so save a cycle by reading
...
the block length from the stack instead of caching it in a register.
1994-03-22 01:15:47 +00:00
jtc
c95cd47ba2
Use RCSID macro for RCS ID's.
1994-03-12 01:39:55 +00:00
mycroft
90ff28fef4
Style police. Use `je' and `jne' only on the result of an equality test;
...
use `jz' and `jnz' in all other cases.
1994-02-14 20:05:52 +00:00
jtc
7f582f99d4
Fix spelling mistake: cashe -> cache.
1994-02-14 17:45:16 +00:00
jtc
01284ad877
Performance improvement from Bruce Evans.
...
Removes one test instruction for each character.
1994-02-14 17:44:39 +00:00
jtc
f28455f783
Use "ror $8,%ax" instead of "xchg %al,%ah": equal on a i386, 1 cycle faster
...
on a i486, and 2 cycles faster on a iPentium.
1994-02-14 17:43:19 +00:00
jtc
5cffad2151
Use movzbl, not movsbl, to zero extend for unsigned comparison.
...
Fix from Bruce Evans.
1994-02-07 20:57:05 +00:00
jtc
e2c220f94b
Fix spelling error in Copyright notice
1994-01-28 20:34:33 +00:00
mycroft
cc81da7447
Shorten setup for longword operations a little.
1993-12-10 10:51:11 +00:00
mycroft
dca61f6f90
Share code.
1993-12-10 10:45:18 +00:00
jtc
a9e5cc4f83
No reason these can't share code...
1993-12-08 22:10:14 +00:00
mycroft
448e711c78
Clean up deleted files.
1993-12-04 01:28:42 +00:00
jtc
32d96ccd3c
Remove special case for len == 0 --- It wasn't needed. By dropping the
...
conditional, the general case (where we are actually swapping bytes) is
a tiny bit faster.
1993-11-25 01:18:24 +00:00
jtc
79591d04bc
So many files in arch/i386 have been changed I might as well run my
...
remove unecessary trailing whitespace script.
1993-10-21 01:48:14 +00:00
jtc
823c36577c
Change instances of LIBC_RCS back to LIBC_SCCS. If we are going to change
...
th LIBC_RCS, the entire source tree should be updated at once.
Remove && !defined(lint) from conditionals around rcs id's. No one is
ever going to pass a *.s file through lint.
1993-10-21 01:39:55 +00:00
jtc
e09d2f42db
Use "testb %cl,%cl" instead of "cmpb $0,%cl".
...
This saves three cycles per character, and reduces the size of the
function by eight bytes (the loop is unrolled eight times).
Thanks to davidg for pointing this out.
1993-10-08 01:25:51 +00:00
cgd
0b9f50897e
make an arch directory in libc, and move all machine dirs into it
1993-10-07 00:17:24 +00:00