From owner-freebsd-current@FreeBSD.ORG Tue Jul 13 16:16:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC22116A4CE for ; Tue, 13 Jul 2004 16:16:09 +0000 (GMT) Received: from av4-1-sn3.vrr.skanova.net (av4-1-sn3.vrr.skanova.net [81.228.9.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BB8143D2D for ; Tue, 13 Jul 2004 16:16:09 +0000 (GMT) (envelope-from manlix@demonized.net) Received: by av4-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 9F33E37F0A; Tue, 13 Jul 2004 18:16:08 +0200 (CEST) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av4-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 8E57737E42; Tue, 13 Jul 2004 18:16:08 +0200 (CEST) Received: from fisk.demonized.net (h144n2fls33o834.telia.com [213.66.186.144]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id E26FE37E44; Tue, 13 Jul 2004 18:16:07 +0200 (CEST) Received: from beard.demonized.net (beard.demonized.net [192.168.0.2]) by fisk.demonized.net (Postfix) with SMTP id 6370860EB; Tue, 13 Jul 2004 18:16:08 +0200 (CEST) Date: Tue, 13 Jul 2004 18:16:02 +0200 From: Johan Pettersson To: ilker.ozupak@emu.edu.tr 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> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: CPUTYPE=p4 & kernel config X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 16:16:09 -0000 > so here are two different configs > > machine i386 > cpu I486_CPU > cpu I586_CPU > cpu I686_CPU > .... > .... > > > > machine i386 > cpu I686_CPU > .... > .... > > > 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.