From owner-freebsd-current@FreeBSD.ORG Tue Jul 13 16:07:56 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 B878116A4CE for ; Tue, 13 Jul 2004 16:07:56 +0000 (GMT) Received: from av6-2-sn3.vrr.skanova.net (av6-2-sn3.vrr.skanova.net [81.228.9.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1882643D1D for ; Tue, 13 Jul 2004 16:07:56 +0000 (GMT) (envelope-from manlix@demonized.net) Received: by av6-2-sn3.vrr.skanova.net (Postfix, from userid 502) id E69593812E; Tue, 13 Jul 2004 18:07:54 +0200 (CEST) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-2-sn3.vrr.skanova.net (Postfix) with ESMTP id D91153812B; Tue, 13 Jul 2004 18:07:54 +0200 (CEST) Received: from fisk.demonized.net (h144n2fls33o834.telia.com [213.66.186.144]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id EEFE137E42; Tue, 13 Jul 2004 18:07:53 +0200 (CEST) Received: from beard.demonized.net (beard.demonized.net [192.168.0.2]) by fisk.demonized.net (Postfix) with SMTP id A4C0560EB; Tue, 13 Jul 2004 18:07:56 +0200 (CEST) Date: Tue, 13 Jul 2004 18:07:51 +0200 From: Johan Pettersson To: Andre Guibert de Bruet Message-Id: <20040713180751.47cbed2b.manlix@demonized.net> In-Reply-To: <20040713104934.U24726@alpha.siliconlandmark.com> References: <200407121248.42792.ilker.ozupak@emu.edu.tr> <20040712214545.O2496@alpha.siliconlandmark.com> <20040713103802.654daae4.manlix@demonized.net> <20040713104934.U24726@alpha.siliconlandmark.com> 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: ilker.ozupak@emu.edu.tr 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:07:56 -0000 On Tue, 13 Jul 2004 10:59:00 -0400 (EDT) Andre Guibert de Bruet wrote: > > On Tue, 13 Jul 2004, Johan Pettersson wrote: > > > On Mon, 12 Jul 2004 22:17:56 -0400 (EDT) > > Andre Guibert de Bruet wrote: > > > >> On Mon, 12 Jul 2004, Ilker OZUPAK wrote: > >> > >>> is there any kernel options that is mandatory for the > >>> "CPUTYPE=p4" case. anything to be addded to GENERIC > >>> or to not to be removed. > >> > >> Your CPU qualifies for the I686_CPU cpu directive. You may consider > >> commenting out I{4,5}86_CPU if you are not concerned with having > >the> kernel boot on older machines. You may also want to add "options > >> CPU_ENABLE_SSE". > > > > 'CPU_ENABLE_SSE' is automatically enabled when the kernel is > > compiled with 'cpu I686_CPU'. > > Pentium Pros, IIs, Xeon IIs and early Celerons are 686s but they do > not support SSE (SIMD was introduced with the PIII, IIRC). Are you > positive that SSE floating-point calculations are enabled with > I686_CPU? > > Here's what the cpu features bitfield expands to on an older 686: > Features=0x183fbff GE,MCA,CMOV,PAT,PSE36,MMX,FXSR> > > Compare this to the following, which was taken from a newer 686: > Features=0x383fbff GE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> > > Regards, > > > Andre Guibert de Bruet | Enterprise Software Consultant > > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > >From src/sys/i386/NOTES: # CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default # on I686_CPU and above.