core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas_x86/p_x86_processor.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>x86_processor</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>x86_processor</h3>
<p> Specifies the scheduling model used for instruction scheduling optimization.</p>
<h5>Syntax</h5>
<p class="code">#pragma x86_processor generic | pentium | pentiumpro | pentiumII | pentiumIII | pentiumIV | k6 | k7 | athlon | athlonIV | AthlonXP</p>
<h5>Targets</h5>
Intel x86<br />
<h5>Remarks</h5>
<p>The processor options include:</p>
<table width="73%" border="0" cellpadding="2" cellspacing="0">
<tr>
<th width="27%" scope="col">This option…</th>
<th width="19%" scope="col">Value</th>
<th width="54%" scope="col">Does this…</th>
</tr>
<tr>
<td>generic</td>
<td><div align="center">500</div></td>
<td>Generic x86 instructions. This is the default.</td>
</tr>
<tr>
<td>pentium</td>
<td><div align="center">500</div></td>
<td>Use Pentium instruction set.</td>
</tr>
<tr>
<td>pentiumpro</td>
<td><div align="center">600</div></td>
<td>Use Pentium Pro instruction set.</td>
</tr>
<tr>
<td>pentiumII</td>
<td><div align="center">650</div></td>
<td>Use Pentium II instruction set.</td>
</tr>
<tr>
<td>pentiumIII</td>
<td><div align="center">655</div></td>
<td>Use Pentium III instruction set.</td>
</tr>
<tr>
<td>pentiumIV</td>
<td><div align="center">660</div></td>
<td>Use Pentium IV instruction set.</td>
</tr>
<tr>
<td>k6</td>
<td><div align="center">550</div></td>
<td>Use AMD K6 instruction set.</td>
</tr>
<tr>
<td>k7</td>
<td><div align="center">700</div></td>
<td>Use AMD K7 instruction set.</td>
</tr>
<tr>
<td>athlon</td>
<td><div align="center">700</div></td>
<td>Use Athlon instruction set.</td>
</tr>
<tr>
<td>athlonIV</td>
<td><div align="center">700</div></td>
<td> </td>
</tr>
<tr>
<td>athlonXP</td>
<td><div align="center">700</div></td>
<td>Use Athlon XP instruction set. </td>
</tr>
</table>
<p>You can test for a specific processor using the _M_IX86 macro using the values shown in Table 11.3.<br />
</p>
<div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>