[vlc-devel] commit: Win32: use IsProcessorFeaturePresent() to detect available instructions (Geoffroy Couprie )
Laurent Aimar
fenrir at via.ecp.fr
Sat Jan 16 19:57:27 CET 2010
Hi,
On Sat, Jan 16, 2010, Geoffroy Couprie wrote:
> SSE4.1 and SSE.42 are not recognized by IsProcessorFeaturePresent, but
> there's some code at
> http://software.intel.com/en-us/articles/using-cpuid-to-detect-the-presence-of-sse-41-and-sse-42-instruction-sets/
> that we can use. I would rather add code using cpuid than forking and
> testing for a SIGILL on Windows.
We already use cpuid to detect the instructions. We then test if they are
really supported by forking and only if we are not under windows (I dunno if
it is really needed).
--
fenrir
More information about the vlc-devel
mailing list