1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +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
basename
biff
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
chat
checknr
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
col
colcrt
colldef mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
colrm
column
comm Rework diagnostics text 2001-02-06 20:01:40 +00:00
compile_et
compress
ctags
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
ee mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
enigma
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
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
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
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
getopt
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
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
jot Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
kdump
kenv
key Remove one more incorrect section name. Typos. 2000-12-10 20:52:43 +00:00
keyinfo
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
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
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
m4
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
nfsstat
nice
nm Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
nohup
objformat Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
opieinfo
opiekey
opiepasswd
pagesize
passwd
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
ranlib mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
renice
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
rs Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
rsh
rup Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
ruptime
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
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
size
sockstat Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
soelim
split
strings
strip
su
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
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
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
uname
unexpand
unifdef
uniq
units Correct spelling of millennium. 2001-01-16 10:07:04 +00:00
unvis
usbhidctl
users
uudecode
uuencode Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
vacation
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
wc
what
whereis Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
which
who
whois
window mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
write
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
yacc Have yacc use a prototype for yygrowstack(void) on ANSI compilers. 2001-02-19 01:10:01 +00:00
yes
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