[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-patches
Subject: Re: [PATCH, committed, wwwdocs] Function specific options update
From: Michael Meissner <gnu () the-meissners ! org>
Date: 2008-08-31 1:17:13
Message-ID: 20080831011713.GA20307 () tiktok ! the-meissners ! org
[Download RAW message or body]
I checked in this change to the html documents to mirror the changes to the
code changing option attribute to target.
2008-08-30 Michael Meissner <gnu@the-meissners.org>
* htdocs/gcc-4.4/changes.html: Change option attribute/pragma to
target, tracking the change on August 30th to the source.
Index: htdocs/gcc-4.4/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.4/changes.html,v
retrieving revision 1.22
diff -p -c -r1.22 changes.html
*** htdocs/gcc-4.4/changes.html 28 Aug 2008 19:42:27 -0000 1.22
--- htdocs/gcc-4.4/changes.html 31 Aug 2008 01:14:38 -0000
***************
*** 105,114 ****
<li>A new <code>optimize</code> attribute was added to allow programmers to
change the optimization level and particular optimization options for an
individual function. You can also change the optimization options via the
! <code>GCC optimize</code> pragma for functions defined after the pragma. The
! <code>cold</code> attribute now turns on the <code>-Os</code> optimization
! option and <code>hot</code> attribute turns on the <code>-O3</code>
! optimization option.</li>
</ul>
--- 105,116 ----
<li>A new <code>optimize</code> attribute was added to allow programmers to
change the optimization level and particular optimization options for an
individual function. You can also change the optimization options via the
! <code>GCC optimize</code> pragma for functions defined after the pragma.
! The <code>GCC push_options</code> pragma and the
! <code>GCC pop_options</code> pragma allow you temporarily save and restore
! the options used. The <code>GCC reset_options</code> pragma restores the
! options to what was specified on the command line.
! </li>
</ul>
***************
*** 166,172 ****
<li>GCC can now utilize the SVML library for vectorizing calls to
a set of C99 functions if <code>-mveclibabi=svml</code> is specified
and you link to an SVML ABI compatible library.</li>
! <li>A new <code>option</code> attribute was added to allow programmers to \
change the target options like <code>-msse2</code> or <code>-march=k8</code> for an \
individual function. You can also change the target options via the <code>GCC \
option</code> pragma for functions defined after the pragma.</li>
</ul>
--- 168,174 ----
<li>GCC can now utilize the SVML library for vectorizing calls to
a set of C99 functions if <code>-mveclibabi=svml</code> is specified
and you link to an SVML ABI compatible library.</li>
! <li>A new <code>target</code> attribute was added to allow programmers to \
change the target options like <code>-msse2</code> or <code>-march=k8</code> for an \
individual function. You can also change the target options via the <code>GCC \
target</code> pragma for functions defined after the pragma.</li>
</ul>
--
Michael Meissner
email: gnu@the-meissners.org
http://www.the-meissners.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic