freebsd-src/usr.bin
Kris Kennaway 0937df81ca Introduce support for using OpenSSL ASM optimizations. This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@silby.com>
Reviewed by:    current
2001-02-19 03:59:05 +00:00
..
apply Fix bogus checking of snprintf() by decreasing the remaining size of the 2001-01-25 03:40:17 +00:00
ar mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
at mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
banner mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
basename mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
biff mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
brandelf Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
c89 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
calendar Minor grammar nit. 2001-01-16 22:41:25 +00:00
cap_mkdb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chat Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
checknr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chflags Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
chkey mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
chpass Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
cksum mdoc(7) police: Change -filled displays (which just happen 2001-02-07 13:45:30 +00:00
cmp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
col mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
colcrt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
colldef mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
colrm mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
column mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
comm Rework diagnostics text 2001-02-06 20:01:40 +00:00
compile_et Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
compress mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ctags mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
cut Remove duplicate FreeBSD Id 2001-02-06 20:03:48 +00:00
dig Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
dirname Reintroduce functionality and error checks that were boneheadedly removed 2000-09-06 07:28:02 +00:00
dnskeygen New program in the bind suite. I'm not sure that it's worth much while 1999-11-30 06:26:14 +00:00
dnsquery Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
doscmd Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
du mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ee mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
enigma mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
env Add `-i'' option, which is the same as `-''. The -i option is the 1999-08-27 08:59:32 +00:00
expand mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
false Fix typo 2001-01-25 13:13:55 +00:00
fetch mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
file mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
file2c mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
find mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
finger Spelling 2001-02-06 20:13:48 +00:00
fmt Mark up the optional -c option with the Op macro. 2000-03-09 09:27:40 +00:00
fold mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
from Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
fstat Fix `fstat -m' (show memory-mapped files), which was broken by 2001-02-15 22:42:44 +00:00
fsync mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ftp Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
gcore Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
gencat Optimize gencat(1) sources in same manner as its libc part some time ago: 2001-02-08 16:38:16 +00:00
gensetdefs mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
getconf mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
getopt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
gprof Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
gprof4 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
head mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
hesinfo man(7) -> mdoc(7). 2001-01-16 17:04:17 +00:00
hexdump mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
host Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
id mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
indent Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
ipcrm mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ipcs mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
join mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
jot Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
kdump Fix ioctl.c creation to deal with the depend case more properly. 2000-09-14 18:52:48 +00:00
kenv kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0. 2000-11-23 11:21:35 +00:00
key Remove one more incorrect section name. Typos. 2000-12-10 20:52:43 +00:00
keyinfo Add LIBCRYPT to DPADD. 2000-11-28 07:24:15 +00:00
keyinit Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 12:20:22 +00:00
keylogin Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 12:20:22 +00:00
keylogout $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
killall Work around the p_comm[] size limit. If the user supplies more than 2001-02-14 21:56:03 +00:00
ktrace mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lam mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
last Used macro-API to <sys/queue.h>. 2000-12-29 09:27:57 +00:00
lastcomm Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ldd Fix lseek args order (PR 23549) 2000-12-15 13:20:43 +00:00
leave mdoc(7) police: simplify construct. 2001-02-06 16:20:31 +00:00
less ncurses -> termcap 2000-07-14 16:17:42 +00:00
lessecho Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lesskey Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lex Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
limits Fixed some style bugs (bogus cloned Id, null overrides of defaults, and 2001-02-17 06:20:14 +00:00
locate Off by one error in reading mmap data. 2001-01-06 18:17:06 +00:00
lock mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lockf Add history. 2000-12-10 01:10:54 +00:00
logger mdoc(7) police: document IPv6 options in the SYNOPSIS. 2000-12-18 08:37:53 +00:00
login Fix login so that it exports environmental variables that are set by PAM 2001-02-09 13:21:50 +00:00
logname Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
look mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
lorder Use different filenames. 2000-05-17 22:46:47 +00:00
lsvfs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
m4 Fix format string warnings. 2000-11-27 04:26:39 +00:00
mail mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
make Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00
makewhatis mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
mesg $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
minigzip mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mk_cmds Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
mkdep mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mkfifo Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
mklocale mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
mkstr mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mktemp mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
msgs mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
mt Print out resid portion of MTIOCGET returned data. 2001-01-21 01:33:31 +00:00
ncal mdoc(7) police: fixed broken references. 2001-01-16 11:52:00 +00:00
ncplist Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ncplogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
netstat Convert if_multiaddrs from LIST to TAILQ so that it can be traversed 2001-02-06 10:12:15 +00:00
newkey mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
nfsstat getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
nice Fix a typo and a punctuation mistake, the two of which conspired 2000-11-29 06:55:13 +00:00
nm Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
nohup mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
objformat Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
opieinfo $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
opiekey Fix minor style nits. 2000-05-14 21:13:57 +00:00
opiepasswd $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pagesize mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
passwd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
paste mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
pr mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
printenv Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
printf mdoc(7) police: mark LC_NUMERIC with .Dv. 2001-02-10 10:26:52 +00:00
quota mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ranlib mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
renice mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rev mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
rlogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
rpcgen Have rpcgen actually tell us what cpp it is looking for (as it would if we 2001-01-10 19:12:47 +00:00
rpcinfo mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rs Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
rsh [rsh.1] Document the -4' and -6' options. 2000-11-24 09:25:44 +00:00
rup Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
ruptime mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rusers Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
rwall Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
rwho Get rid of hard sentence break 2000-03-27 20:38:21 +00:00
sasc Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:44:00 +00:00
script mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sed mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
shar Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
showmount mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
size mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sockstat Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
soelim Don't call warn() with no format string. 2000-07-10 09:18:19 +00:00
split mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
strings getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
strip $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
su o Make comment match reality, synch code with comment. 2000-11-30 23:14:55 +00:00
symorder $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
systat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
tail Mention the -F in the usage(). 2001-01-24 08:27:59 +00:00
talk It may happen so that the local talk daemon is not running. 2000-10-05 17:39:01 +00:00
tconv mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
tcopy Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tee Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
telnet Do not compile INET6 support if RELEASE_CRUNCH is defined 2001-02-18 07:28:31 +00:00
tftp Fix tftpd and tftp to support file transfers of over 65535 blocks 2001-02-02 10:53:02 +00:00
time Localize it (LC_NUMERIC) 2001-02-10 22:46:47 +00:00
tip mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
top Adjust columns for wide nicenesses in 'top -S'. 2001-02-18 11:08:47 +00:00
touch mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tput Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tr mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
true Fix typo 2001-01-25 13:13:55 +00:00
truncate mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
truss Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tset Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tsort Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
tty $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uac Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ul mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uname $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unexpand $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unifdef mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uniq Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
units Correct spelling of millennium. 2001-01-16 10:07:04 +00:00
unvis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
usbhidctl Fix the build break. 2000-10-17 17:13:38 +00:00
users $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uudecode While I'm in here, remove an unused variable. 2000-03-30 09:23:28 +00:00
uuencode Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
vacation Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
vgrind Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
vi Install Ukrainian message catalog. 2000-08-22 22:00:57 +00:00
vis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vmstat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
w Catch up to proc flag changes. 2001-01-24 14:28:24 +00:00
wall Cleanup this code a bit by attempting to sync it up with NetBSD and 2000-11-26 22:36:35 +00:00
wc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
what Add usage(). 2000-03-26 15:04:35 +00:00
whereis Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
which mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
who mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
whois mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
window mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
write mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xargs Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
xinstall Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
xlint mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
xstr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
yacc Have yacc use a prototype for yygrowstack(void) on ANSI compilers. 2001-02-19 01:10:01 +00:00
yes mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ypcat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypmatch mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypwhich Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
Makefile Removed some garbage (genassym(8) and its infrastructure). 2001-02-17 06:06:14 +00:00
Makefile.inc