initial commit
[rofl0r-KOL.git] / mmx_pas.htm
blobe3a906e4d10986c244703573facc37e74cd1bed8
1 <html>
3 <head>
4 <title>KOL Help: unit Mmx.pas</title>
5 </head>
7 <body bgcolor="#FFFFEF" text="#000000" link="#008080" vlink="#008000" alink="#808000">
9 <h1 align="center">
10 &nbsp;&nbsp;<a href="err_pas.htm"><font face="Webdings" size=7>&#55;</font></a>&nbsp;&nbsp;
11 <font face="Arial" color="#FF8080">unit Mmx.pas</font>
12 </h1>
13 <hr>
14 <p>
15 MMX support unit. By Vladimir Kladov, 2003.
16 </p>
17 <h2 align="center"><font face="Arial" color="#FF8080">Content</font></h2>
18 <a name="tcpuid"></a>
19 <p>
20 <font face="Courier" color="#800080"><b>type</b> <font color="#808000"><b>TCpuId</b></font> =( cpuOld486, cpuNew486, cpuMMX, cpuSSE, cpuSSE2 );</font>
21 <br>
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
28 </p>
29 <a name="getcputype"></a>
30 <p>
31 <font face="Courier" color="#800080"><b>function</b> <font color="#808000"><b>GetCPUType</b></font>: <a href=#tcpuid>TCpuId</a>;</font>
32 <br>
33 Checks CPU (Intel PC x86 Architecture) for MMX support.
34 <p><p>
35 Use following constants in shuffle commands (like &quot;pshufw&quot;) as third operand
36 to instruct to which locations (0,1,2,3) source parts should be placed:
37 </p>
38 <hr>
39 <p align="center">[&nbsp;<a href=index.htm>Index</a>&nbsp;]</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>
41 </body>
42 </html>