This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs] Updates for hot/cold attribute and -mcmodel=large


Hi,
this is for the new user visible features comitted today...

Honza

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.33
diff -c -p -r1.33 changes.html
*** changes.html	4 Mar 2007 15:47:38 -0000	1.33
--- changes.html	6 Mar 2007 19:06:01 -0000
***************
*** 142,147 ****
--- 142,156 ----
       the order in which the constructor and destructor functions are
       run. 
      </li>  
+     <li>New function attributes <code>hot</code> and <code>cold</code>
+     was introduced.  Functions marked by <code>hot</code> attribute
+     are placed into <code>text.hot</code> subsection and the
+     performance to code size tradeoffs are biassed towards the performance.
+     Functions marked by <code>cold</code> attribute are placed
+     into <code>text.unlikely</code> subsection and the performance
+     to code size tradeoffs are biassed towards the code size. Additionally
+     the calls to cold functions are predicted as unlikely.
+     </li>
    </ul>
  
  <h3>C++</h3>
***************
*** 259,264 ****
--- 268,275 ----
  	afterward.</li>
      <li>Support for SSSE3 built-in functions and code generation are
  	available via <code>-mssse3</code>.</li>
+     <li><code>-mcmodel=large</code> is now supported on x86-64
+         compilation.</li>
    </ul>
  
  <h3>ARM</h3>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]