freebsd-nq/share/examples
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
..
atm $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bootforth Good thing about these examples is that no one uses them, so they can 2000-09-05 16:30:09 +00:00
BSD_daemon Add some FreeBSD logo material to the tree: 2001-02-17 19:14:42 +00:00
cvsup Add ports-french. 2000-09-22 06:30:38 +00:00
diskless Remove binary files from source tree 2000-01-09 12:57:41 +00:00
drivers o Add cardbus support (use pci attachment for now) 2000-12-18 21:08:53 +00:00
etc Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00
find_interface $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
FreeBSD_version $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ibcs2
IPv6 Add IPv6 related docs. 2000-02-26 19:44:12 +00:00
isdn Ooops, forgot to add the originator for the last FAQ entry 2000-11-01 14:08:58 +00:00
kld Unbreak by syncing with changes in <sys/sysctl.h> macros. 2001-02-10 22:36:05 +00:00
libvgl Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
mdoc mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
meteor
netgraph Script showing how to setup Ethernet bridging using ng_bridge(4). 2000-10-01 21:14:14 +00:00
nwclient Add examples for a mount_nwfs command. 1999-11-03 12:06:13 +00:00
perfmon $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
portal Add portal example 1998-12-15 19:05:35 +00:00
ppi make the example compile again. 2000-04-27 21:08:24 +00:00
ppp Add more comments, fix a typo, mention how to do PPPoUDP using encryption 2000-12-01 11:52:22 +00:00
pppd Add various system usernames (even though I try to avoid pppd!!!) 2000-07-06 19:05:43 +00:00
printing $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
scsi_target Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
ses Update SES userland examples to something out of the toy stage. 2000-02-29 05:44:19 +00:00
slattach
sliplogin syntax error in /usr/share/examples/sliplogin/slip.hosts 1998-03-02 02:52:38 +00:00
startslip
sunrpc Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
worm This is a very obsolete example file for wormcontrol, which is no 2000-09-22 15:05:04 +00:00
Makefile Revert previous commit. 1999-12-09 09:35:36 +00:00