Subject: Re: [linux-audio-dev] MMX, SSE, SSE2, 3DNOW
From: Billy Biggs (vektor_AT_DIV8.NET)
Date: Mon Feb 18 2002 - 05:28:53 EET
On 18 Feb 2002, Bob Ham wrote:
> Not really. How are plugins different from programs in this respect? I
> don't think any OS says to programs "do you use SSE instructions? no?
> I'll not run you then." Instead, programs (or, more usually, build
> systems) say "does this machine support SSE instructions? no? I'll not
> execute/build them then."
It really should be the program that detects and not the build
system. :) It would be very bad if a package maintainer didn't also build
the SSE2 version of a function because their machine was a P3.
There's lots of code floating around to detect cpu type in the
code. See mm_accel() and friends, and ask omega_AT_gstreamer.net for his
work on speciallib.
Plugins shouldn't be any different than programs, they can just as
easily determine CPU type.
-- Billy Biggs vektor_AT_div8.net http://www.div8.net/billy wbiggs_AT_uwaterloo.ca
This archive was generated by hypermail 2b28 : Mon Feb 18 2002 - 05:21:03 EET