core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas_x86/p_register_coloring.htm
author fturovic <frank.turovich@nokia.com>
Mon, 19 Jul 2010 16:13:24 -0500
changeset 1641 2b3996fc09a1
parent 0 fb279309251b
permissions -rw-r--r--
revised x86 compiler dates, graphics, CSS, and release notes

<!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>register_coloring</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>register_coloring</h3>
<p>  Controls the use of register coloring.</p>
<h5>Syntax</h5>
  <p class="code">#pragma register_coloring on | off | reset</p>
  <h5>Targets</h5>
  Intel x86<br />
  <h5>Remarks</h5>
  <p>If you enable this pragma, the compiler uses a single register to hold the values of multiple variables that are never used in the same statement. This improves program performance.</p>
  <p class="note"><strong>TIP</strong> Disable this setting when debugging a program.</p>
  <p>This pragma does not correspond to any panel setting. To check this setting, use <span class="code">__option (register_coloring)</span>. This settings is on at optimization level 2 and above<br />
</p>
  <div id="footer">Copyright &copy; 2010 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>