Date: Sun, 18 Feb 2001 19:59:06 -0800 (PST) From: Kris Kennaway <kris@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make main.c src/etc/defaults make.conf src/share/mk sys.mk src/secure/lib/libcrypto Makefile Makefile.inc Message-ID: <200102190359.f1J3x6o40866@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2001/02/18 19:59:05 PST Modified files: usr.bin/make main.c etc/defaults make.conf share/mk sys.mk secure/lib/libcrypto Makefile Makefile.inc Log: 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 Revision Changes Path 1.46 +16 -1 src/usr.bin/make/main.c 1.138 +15 -2 src/etc/defaults/make.conf 1.47 +4 -2 src/share/mk/sys.mk 1.29 +86 -8 src/secure/lib/libcrypto/Makefile 1.20 +7 -4 src/secure/lib/libcrypto/Makefile.inc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102190359.f1J3x6o40866>