Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jul 1999 17:23:48 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Randall Hopper <aa8vb@ipass.net>
Cc:        Frode Vatvedt Fjeld <frodef@acm.org>, "Daniel J. O'Connor" <darius@dons.net.au>, Geff Hanoian <boing@kusanagi.boing.com>, freebsd-stable@freebsd.org, multimedia@freebsd.org
Subject:   Re: MMX 
Message-ID:  <199907020023.RAA02255@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 01 Jul 1999 20:12:36 EDT." <19990701201236.A5532@ipass.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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