From owner-freebsd-stable@FreeBSD.ORG Fri Nov 10 22:17:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E4C716A412 for ; Fri, 10 Nov 2006 22:17:14 +0000 (UTC) (envelope-from lothrandil@n00b.apagnu.se) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4583643D55 for ; Fri, 10 Nov 2006 22:17:13 +0000 (GMT) (envelope-from lothrandil@n00b.apagnu.se) Received: from [90.224.57.146] (90.224.57.146) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 453F8F42003249DB; Fri, 10 Nov 2006 23:17:01 +0100 Message-ID: <4554FA6B.3050406@n00b.apagnu.se> Date: Fri, 10 Nov 2006 23:17:15 +0100 From: Niclas Zeising User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: "Jason C. Wells" References: <4554D43E.5010700@highperformance.net> In-Reply-To: <4554D43E.5010700@highperformance.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable Subject: Re: Compiler Options X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 22:17:14 -0000 Jason C. Wells wrote: > I have set CPUTYPE=p3 in make.conf. When I compile my kernel I see > -march=pentium3 as I expect. I also see -mno-mmx and -mno-sse are set > which I do not expect given that -march=pentium3 is used. I presume > that I want MMX and SSE since my processor supports it. What options do > I set and where do I set them to get a kernel properly tuned for pentium3? > > Thanks, > Jason C. Wells If i recall correctly, instructions taking advantage of sse, mmx etc. are purposefully disabled in the kernel via the mentioned options. I can not at the moment recall why though. Ordinary userland applications and ports are usually compiled to take advantage of those instructions if the CPU supports them. Regards! //Niclas --