1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/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
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
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
dirname
dnskeygen
dnsquery
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
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
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
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
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
keylogin
keylogout
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
lessecho
lesskey
lex
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
look mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
lorder
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
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
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
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
opiekey
opiepasswd
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
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
split mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
strings
strip
su o Make comment match reality, synch code with comment. 2000-11-30 23:14:55 +00:00
symorder
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
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
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
unexpand
unifdef mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uniq
units Correct spelling of millennium. 2001-01-16 10:07:04 +00:00
unvis
usbhidctl Fix the build break. 2000-10-17 17:13:38 +00:00
users
uudecode
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
vis
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
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