[vlc-devel] commit: Win32: use IsProcessorFeaturePresent() to detect available instructions (Geoffroy Couprie )
fenrir at via.ecp.fr
Sat Jan 16 19:57:27 CET 2010
On Sat, Jan 16, 2010, Geoffroy Couprie wrote:
> SSE4.1 and SSE.42 are not recognized by IsProcessorFeaturePresent, but
> there's some code at
> 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).
More information about the vlc-devel