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]

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


On Tue, Mar 06, 2007 at 09:58:32PM +0100, Jan Hubicka wrote:
> 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

I think they should be .text.hot and .text.unlikely.


H.J.


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