Micha Nelissen schrieb:
> Yury Sidorov wrote:
>>> CPU supports it. But CPU support doesn't mean OS support. And to check
>>> if the OS supports SSE you've to execute an sse instruction and handle
>>> the exception.
>>
>> Florian, to prevent SIGILL on non SSE CPUs we can first check CPUID
>> and execute sse instruction only if CPUID reports SSE support.
> 
> What happens then if OS doesn't support it ?

SIGILL on the first sse instruction.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to