Previous: 4.80.1.3. CPU_getProcessorType function To the Table of Contents Next: 4.80.1.5. CPU_have3DNow function
4.80.1.3. CPU_getProcessorType function Table of Contents 4.80.1.5. CPU_have3DNow function

- 4.80.1.4. -
Table of Contents
4. Standard Units
4.80. ZenTimer - Full-featured ZTimer Library
4.80.1. ZenTimer Unit Procedures and Functions
4.80.1.4. CPU_haveMMX function


4.80.1.4. CPU_haveMMX function

Targets: MS-DOS, OS/2, Win32


ZenTimer Unit

Returns True if the processor supports Intel MMX™ extensions.

Declaration:
function CPU_haveMMX: Boolean;
Remarks:
This function determines if the processor supports the Intel MMX™ extended instruction set. If the processor is not an Intel or Intel clone CPU, this function will always return False.

Example:
{$ifndef __CON__}
  This program must be compiled for MS-DOS, OS/2 or Win32 console mode
{ $endif}
uses ZenTimer;
begin
  if CPU_haveMMX then  
    Writeln('MMX technology supported')
  else
    Writeln('MMX technology not supported');
end.



Previous: 4.80.1.3. CPU_getProcessorType function To the Table of Contents Next: 4.80.1.5. CPU_have3DNow function
4.80.1.3. CPU_getProcessorType function Table of Contents 4.80.1.5. CPU_have3DNow function

- 4.80.1.4. -