From owner-cvs-all Fri Sep 6 19:25: 0 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 878BF37B400; Fri, 6 Sep 2002 19:24:54 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3F3A43E4A; Fri, 6 Sep 2002 19:24:53 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id DD7F82A7D6; Fri, 6 Sep 2002 19:24:53 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Kenneth Culver Cc: Kris Kennaway , Maxime Henrion , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: HEADS UP: SSE instructions (Re: cvs commit: src/share/mk bsd.cpu.mk) In-Reply-To: <20020906214850.J46717-100000@alpha.yumyumyum.org> Date: Fri, 06 Sep 2002 19:24:53 -0700 From: Peter Wemm Message-Id: <20020907022453.DD7F82A7D6@canning.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kenneth Culver wrote: > > I assume the compiler is not stupid enough to try and use both when that > > is impossible. Don't forget this is all just passing a CPU name to gcc > > which actually decides what instructions to use. > > That's not what I mean... What I mean is that if one application is using > SSE, and the other wants to use 3dnow, this will incur a performance > penalty (although I'm not sure how much or how noticable it is), so some > people may not want to have SSE enabled. If you set your CPUTYPE cause gcc to *generate* sse instructions, then it will crash the binary if the kernel doesn't support it. As far as I understood it, the 'dont mix 3dnow and SSE' thing was exactly that.. do not mix the instructions together in the same application stream.. Apparently the instruction decoder wasn't tuned for both in the same data stream. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message