Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 19:10:14 +0100
From:      Francesco Casadei <fcasadei@inwind.it>
To:        Francesco Pennelli <seroton@iol.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 4.1 & 3DNOW!
Message-ID:  <20001220191014.A598@goku.kasby>
In-Reply-To: <006a01c062db$d7a134c0$0100a8c0@mshome.net>; from seroton@iol.it on Sun, Dec 10, 2000 at 08:03:10PM %2B0100
References:  <006a01c062db$d7a134c0$0100a8c0@mshome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001220191014.A598>