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

Jean-Paul Saman jpsaman at gmail.com
Tue Jan 19 15:48:56 CET 2010


2010/1/17 Rémi Denis-Courmont <remi at remlab.net>:
> 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.
>

Will we still be able to detect CPU without FPU support?



More information about the vlc-devel mailing list