[MPlayer-dev-eng] [PATCH] SSE support for cygwin/mingw
Arpi
arpi at thot.banki.hu
Sat Jul 5 15:27:28 CEST 2003
Hi,
> probably you should use GetSystemInfo() under windows, according to
> loader/win32.c it can return sse availability for win32 apps:
>
> if (gCpuCaps.hasMMX)
> PF[PF_MMX_INSTRUCTIONS_AVAILABLE] = TRUE;
> if (gCpuCaps.hasSSE)
> PF[PF_XMMI_INSTRUCTIONS_AVAILABLE] = TRUE;
> if (gCpuCaps.has3DNow)
> PF[PF_AMD3D_INSTRUCTIONS_AVAILABLE] = TRUE;
or maybe it's IsProcessorFeaturePresent(), after looking again at win32.c
A'rpi / Astral & ESP-team
--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list