Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 18:16:02 +0200
From:      Johan Pettersson <manlix@demonized.net>
To:        ilker.ozupak@emu.edu.tr
Cc:        freebsd-current@freebsd.org
Subject:   Re: CPUTYPE=p4 & kernel config
Message-ID:  <20040713181602.7c01a204.manlix@demonized.net>
In-Reply-To: <200407131510.48257.ilker.ozupak@emu.edu.tr>
References:  <200407121248.42792.ilker.ozupak@emu.edu.tr> <20040712214545.O2496@alpha.siliconlandmark.com> <20040713103802.654daae4.manlix@demonized.net> <200407131510.48257.ilker.ozupak@emu.edu.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
> so here are two different configs 
> <conf_1>
> machine i386
> cpu I486_CPU
> cpu I586_CPU
> cpu I686_CPU
> ....
> ....
> </conf_1>
> 
> <conf_2>
> machine i386
> cpu I686_CPU
> ....
> ....
> </conf_2>
> 
> for the first config i should enable it manually. (for a P4 machine)
> 
> and in second one it is enabled by default so i dont need to add
> enable to kern. conf
> 
> should i put options CPU_DISABLE_SSE for P2 and P3 machines?
> 
> would not using disable option on a p2 machine with kern. conf like 
> second couse any ill effects? like not being able to run the binaries
> compiled with -march=pentium4 ...
> 
> and is this enable disable automaticly has anything to do with CPUTYPE
> option on the /etc/make.conf
> 

'options CPU_ENABLE_SSE' is enabled with both conf_1 and conf_2. And you
don't need to use CPU_DISABLE_SSE. P3 supports SSE. And in the case with
P2, the support for SSE is in the kernel but the cpu doesnt use it.

I don't think you can run binaries compiled with -march=pentium4 och a
P2... or could you? Please correct me if im wrong. :)

No, make.conf don't have any impact on the CPU_ENABLE_SSE-option.
CPUTYPE in make.conf just sets -march for kernel/world/ports builds.



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