From owner-freebsd-questions Wed Dec 20 10:14:58 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 10:14:50 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from relay3.inwind.it (relay3.inwind.it [212.141.53.74]) by hub.freebsd.org (Postfix) with ESMTP id 7469F37B400 for ; Wed, 20 Dec 2000 10:14:50 -0800 (PST) Received: from [62.98.48.241] (62.98.48.241) by relay3.inwind.it (5.1.056) id 3A40BF860000A829 for freebsd-questions@freebsd.org; Wed, 20 Dec 2000 19:14:42 +0100 Received: (qmail 639 invoked by uid 1000); 20 Dec 2000 18:10:14 -0000 Date: Wed, 20 Dec 2000 19:10:14 +0100 From: Francesco Casadei To: Francesco Pennelli Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.1 & 3DNOW! Message-ID: <20001220191014.A598@goku.kasby> Mail-Followup-To: Francesco Pennelli , freebsd-questions@freebsd.org References: <006a01c062db$d7a134c0$0100a8c0@mshome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006a01c062db$d7a134c0$0100a8c0@mshome.net>; from seroton@iol.it on Sun, Dec 10, 2000 at 08:03:10PM +0100 X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 10, 2000 at 08:03:10PM +0100, Francesco Pennelli wrote: > I'd like to have 3DNOW! optimization, is it possible to compile a kernel > with this feature? > > Thank you for your time > > Francesco Pennelli > seroton@iol.it > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > end of the original message Sorry for the late post, but I couldn't read the mailing list last week. I have an AMD K6-2 3D 300 MHz processor. I think we can't have 3DNOW! optimization enabled in the kernel (and it would be useless for the performance, I think) but you can enable the following options in the kernel config file: machine i386 cpu I586_CPU options CPU_FASTER_5X86_FPU #Enables a faster FPU exception handler options CPU_SUSP_HLT #Enables suspend on the HALT instruction options CPU_WT_ALLOC #Enables write allocation on AMD K6-2 options NO_F00F_HACK #Not a iPentium options NO_MEMORY_HOLE #15-16MB range not occupied by ISA memory hole These are all the K6-related options I could find. See LINT for more information and options. Also, modify CFLAGS and COPTFLAGS variables in /etc/make.conf: CFLAGS?= -O -pipe COPTFLAGS?= -O -pipe Don't use optimization setting above -O (-O2, ...) as they are not supported (reliability is much more important than performance!). Francesco Casadei P.S. Please, let me know if you find other optimization settings! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message