From owner-freebsd-multimedia Thu Jul 1 17:29:33 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 53C7214F5A; Thu, 1 Jul 1999 17:29:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id RAA02255; Thu, 1 Jul 1999 17:23:48 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907020023.RAA02255@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Randall Hopper Cc: Frode Vatvedt Fjeld , "Daniel J. O'Connor" , Geff Hanoian , freebsd-stable@freebsd.org, multimedia@freebsd.org Subject: Re: MMX In-reply-to: Your message of "Thu, 01 Jul 1999 20:12:36 EDT." <19990701201236.A5532@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 Jul 1999 17:23:48 -0700 From: Mike Smith Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Seems like this would be perfect for the sysctl MIB. We have a few > CPU-related ones already: > > > sysctl -a | grep -i cpu > kern.ccpu: 1948 > hw.ncpu: 1 > > What about: > > hw.cpu.has_mmx: 1 > hw.cpu.has_3dnow: 1 > hw.cpu.has_sse: 0 > > In leiu of that, I believe I recall reading that the SIGILL approach works > on FreeBSD. Seems like Roger Hardiman uses/used MMX on FreeBSD for some of > his signal processing work. You might chat with him. I would recommend hw.cpu.feature: MMX,CPUID,MTRR etc. This is probably more extensible. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message