[fpc-devel] win32 debugging broken in fixes_2_2?
Florian Klaempfl
florian at freepascal.org
Tue Jul 10 22:06:51 CEST 2007
Vinzent Hoefler schrieb:
> On Tuesday 10 July 2007 09:58, Vinzent Hoefler wrote:
>> On Tuesday 10 July 2007 12:40, Yury Sidorov wrote:
>>> Maybe other way to detect SSE support exists...
>> CPUID?
>
> To be more precise, the way recommended by Intel:
>
> "To make this check, execute the CPUID instruction with an argument of 1
> in the EAX register, and check that bit 25 (SSE) and/or bit 26 (SSE2)
> are set to 1."
>
> -- IA32 Software Developer's Manual,
> Volume 3: System Programming Guide
This gives you only the information that the CPU supports it but not if
the OS supports it.
More information about the fpc-devel
mailing list