Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2003 13:15:34 -0800
From:      Wesley Peters <wes@softweyr.com>
To:        Stijn Hoop <stijn@win.tue.nl>, 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:  <200302111315.34462.wes@softweyr.com>
In-Reply-To: <20030211100558.GB17571@pcwin002.win.tue.nl>
References:  <200302101928.h1AJS6Gs088748@repoman.freebsd.org> <20030211100013.GO88781@elvis.mu.org> <20030211100558.GB17571@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 11 February 2003 02:05, Stijn Hoop wrote:
> 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.
>
> OK, that would solve this problem, but what about my other question? Why
> not just detect if SSE is available, and use it, at runtime? Why do we
> need a kernel option for this?

Because, as you guessed, it affects per-process register storage and the 
size (and therefore speed) of context switch.  A kernel hint might be 
possible, but would ick up the code considerably.  It's worth considering.

-- 
         "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                   Softweyr LLC
wes@softweyr.com                                     http://softweyr.com/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302111315.34462.wes>