Go to file
jtc 530ba70aa3 New implementations of strcmp() and strncmp().
This code uses subb instead of cmpb to compare chars.  When they are
not equal, the function's return value is computed by sign extending
the difference.  The basic idea was contributed by Hiroshi Horitomo
<horimoto@cs-aoi.cs.sist.ac.jp> in PR #3223, but his implementation
used additional instructions to compute the return value.

Also, the series of insns used to compare one pair of characters has
been unrolled 4 times.  This helps the 680[23]0, where the cost of a
taken branch is significantly more than that of a not-taken branch.
1997-05-18 20:32:20 +00:00
bin Correct bogons and omissions in previous change. 1997-05-16 14:44:01 +00:00
distrib Stuff I needed to build the last NetBSD-12D/Amiga snapshot. 1997-05-14 22:19:45 +00:00
etc Change interface config test so that the loop is always continued 1997-05-17 14:12:24 +00:00
games NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:24:44 +00:00
gnu Make sure we get all the .h files we need so this compiles. 1997-05-18 11:27:06 +00:00
include Make macros evaluate to non-compound statements (Jarle Greipsland; PR#3614) 1997-05-14 15:49:55 +00:00
lib New implementations of strcmp() and strncmp(). 1997-05-18 20:32:20 +00:00
libexec * NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:35:14 +00:00
regress Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
sbin * NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:38:12 +00:00
share Add libposix. 1997-05-18 20:21:53 +00:00
sys Add posix_rename() syscall: regen. 1997-05-18 20:07:27 +00:00
usr.bin Macro expansion of shell metacharacters did not occur for me. I made 1997-05-17 21:15:35 +00:00
usr.sbin Resolve conflicts 1997-05-17 22:14:13 +00:00
Makefile Don't cleandir on make build when UPDATE is set. 1997-03-24 22:22:15 +00:00