[vlc-devel] commit: Win32: use IsProcessorFeaturePresent() to detect available instructions (Geoffroy Couprie )

Rémi Denis-Courmont remi at remlab.net
Sun Jan 17 11:35:06 CET 2010

Le dimanche 17 janvier 2010 11:52:17 Jean-Baptiste Kempf, vous avez écrit :
> On Sun, Jan 17, 2010 at 11:39:19AM +0200, Rémi Denis-Courmont wrote :
> > But what's the risk that CPUID would be wrong? If I understand right, VLC
> > checked CPU features with SIGILL because some very very old operating
> > systems did not handle certain features of some very old processors. I
> > assume this only ever has been a problem with MMX and SSE if at all.
> On windows, cpuid being wrong is very not likely. And I would also say
> so for every OS that VLC runs on.

That's an argument for removing all check_OS_capability calls though, not just 
the Win32 specifics.

Rémi Denis-Courmont

More information about the vlc-devel mailing list