[MPlayer-dev-eng] [PATCH] SSE detection fix for NetBSD/amd64
Aurelien Jacobs
aurel at gnuage.org
Fri Jan 7 18:42:46 CET 2005
On Fri, 7 Jan 2005 15:34:20 +0100
Guillaume Poirier <poirierg at gmail.com> wrote:
> Hi,
>
> On Thu, 06 Jan 2005 12:41:23 +0100, Matthias Drochner
> <M.Drochner at fz-juelich.de> wrote:
> >
> > Hi -
> > on NetBSD/amd64, SSE(2) support is always present, and the sysctl
> > nodes "CPU_SSE" and "CPU_SSE2" do not exist. cpudetect.c does
> > not compile.
> > The appended patch fixes this. (It might also help for OpenBSD;
> > ttbomk the amd64 support code is identical.
>
> Even though cpudetect.c does compile on Linux x86-64, SSE2 (and maybe
> SSE) isn't activated... is there a way your patch could address this?
> Is it enough to just add "|| (defined (__Linux__)" to the #if
> statement to get SSE and SSE2 activated ?
I didn't found any way to test OS SSE support on x86-64.
But AFAIK, there is no x86-64 OS which don't support SSE.
I guess it's safe to assume SEE support on x86-64, whatever the OS is.
So I propose the following patch, which should make everyone happy.
Anyone against it ?
Aurel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x86-64-sse.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050107/5d045a3d/attachment.txt>
More information about the MPlayer-dev-eng
mailing list