4 <title>KOL Help: unit Mmx.pas
</title>
7 <body bgcolor=
"#FFFFEF" text=
"#000000" link=
"#008080" vlink=
"#008000" alink=
"#808000">
10 <a href=
"err_pas.htm"><font face=
"Webdings" size=
7>7</font></a>
11 <font face=
"Arial" color=
"#FF8080">unit Mmx.pas
</font>
15 MMX support unit. By Vladimir Kladov,
2003.
17 <h2 align=
"center"><font face=
"Arial" color=
"#FF8080">Content
</font></h2>
20 <font face=
"Courier" color=
"#800080"><b>type
</b> <font color=
"#808000"><b>TCpuId
</b></font> =( cpuOld486, cpuNew486, cpuMMX, cpuSSE, cpuSSE2 );
</font>
22 Enumeration type to represent CPU type.
23 cpuOld486: Old
486 Processor and earlier
24 cpuNew486: New
486 Processor to Pentium1 without MMX
25 cpuMMX : MMX supported (but not SSE or SSE2)
26 cpuSSE : MMX and SSE supported (but not SSE2)
27 cpuSSE2 : MMX, SSE and SSE2 supported
29 <a name=
"getcputype"></a>
31 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>GetCPUType
</b></font>:
<a href=#tcpuid
>TCpuId
</a>;
</font>
33 Checks CPU (Intel PC x86 Architecture) for MMX support.
35 Use following constants in shuffle commands (like
"pshufw
") as third operand
36 to instruct to which locations (
0,
1,
2,
3) source parts should be placed:
39 <p align=
"center">[
<a href=index.htm
>Index
</a> ]
</p>
40 <p align=
"center"><font face=
"Comic Sans MS"><small>This help is generated
22-Sep-
2005 by KOL Help generator, (C)
2000-
2001 by Vladimir Kladov
<br>Modified (C)
2003 by Alexander Bartov
</small></font></p>