Date: Tue, 11 Feb 2003 11:08:41 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Alfred Perlstein <bright@mu.org> Cc: "Thomas E. Zander" <riggs@rrr.de>, Alexandr Kovalenko <never@nevermind.kiev.ua>, Oliver Braun <obraun@freebsd.org>, ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: ports/multimedia/mplayer Makefile distinfo pkg-plist ports/multimedia/mplayer/files patch-ad Message-ID: <20030211100841.GC17571@pcwin002.win.tue.nl> In-Reply-To: <20030211100013.GO88781@elvis.mu.org> References: <200302101928.h1AJS6Gs088748@repoman.freebsd.org> <20030210200115.GA832@nevermind.kiev.ua> <20030211013436.GB576@trillian.mugiri.au> <20030211095745.GA17571@pcwin002.win.tue.nl> <20030211100013.GO88781@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Feb 11, 2003 at 02:00:13AM -0800, Alfred Perlstein wrote:
> I would seem trivial to add a sysctl under machdep to tell userland
> if sse is available and configured.
Oh, it seems there already is a sysctl:
int hw_instruction_sse = 0;
SYSCTL_INT(_hw, OID_AUTO, instruction_sse, CTLFLAG_RD,
&hw_instruction_sse, 0,
"SIMD/MMX2 instructions available in CPU");
from 4.x /usr/src/sys/i386/i386/initcpu.c:68.
--Stijn
--
The very powerful and the very stupid have one thing in common. Instead of
altering their views to fit the facts, they alter the facts to fit their views
... which can be very uncomfortable if you happen to be one of the facts that
needs altering.
-- Doctor Who, "Face of Evil"
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+SMupY3r/tLQmfWcRAo2sAJ4gDA2+OJ5HkFGJbp/2Yq1QP9RFCgCeObR3
HJj9EeBbD9MfI2YKyQMnusY=
=udas
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030211100841.GC17571>
