diff mbox

[wwwdocs] Document Runtime CPU detection builtins

Message ID alpine.LNX.2.00.1312022117120.2185@tuna.site
State New
Headers show

Commit Message

Gerald Pfeifer Dec. 2, 2013, 8:19 p.m. UTC
On Tue, 21 Aug 2012, Sriraman Tallam wrote:
> Committed after making the changes.
> 
> One small problem, I am not sure how to fix this:
> 
> The hyper link I referenced is :
> http://gcc.gnu.org/onlinedocs/gcc/X86-Built_002din-Functions.html#X86-Built_002din-Functions
> 
> whereas the committed changes.html is pointing to:
> http://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html#X86-Built-in-Functions
> 
> Please note that the "_002din" is missing. This makes the link broken,
> did I miss anything? I verified that I submitted the right link.

Based on changes I just committed and applied on gcc.gnu.org, finally
there won't be new files or anchors with "_002d" in their names, just
"-" instead.

The patch below, which I just committed, adjust the links.  All simpler
and nicer now. :-)

Gerald
diff mbox

Patch

Index: gcc-4.8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.124
diff -u -3 -p -r1.124 changes.html
--- gcc-4.8/changes.html	26 Nov 2013 03:21:07 -0000	1.124
+++ gcc-4.8/changes.html	2 Dec 2013 20:17:11 -0000
@@ -512,7 +512,7 @@  int i = A().f();  // error, f() requires
     added. For details, see the
     <a href="http://gcc.gnu.org/wiki/avr-gcc#Fixed-Point_Support">
       GCC wiki</a> and the
-    <a href="http://gcc.gnu.org/onlinedocs/gcc/Fixed_002dPoint.html">
+    <a href="http://gcc.gnu.org/onlinedocs/gcc/Fixed-Point.html">
       user manual</a>.  The support is not complete. 
   </li>
   <li>A new print modifier <code>%r</code> for register operands in inline
@@ -584,7 +584,7 @@  int i = A().f();  // error, f() requires
       <code>__builtin_cpu_is("westmere")</code> returns a positive integer if
       the run-time CPU is an Intel Core i7 Westmere processor.  Please refer
       to the <a
-      href="http://gcc.gnu.org/onlinedocs/gcc/X86-Built_002din-Functions.html#X86-Built_002din-Functions">
+      href="http://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html#X86-Built-in-Functions">
       user manual</a> for the list of valid CPU names recognized.</li>
       <li>A built-in function <code>__builtin_cpu_supports</code> has been
       added to detect if the run-time CPU supports a particular ISA feature.
@@ -592,7 +592,7 @@  int i = A().f();  // error, f() requires
       one string literal argument, the ISA feature.  For example,
       <code>__builtin_cpu_supports("ssse3")</code> returns a positive integer
       if the run-time CPU supports SSSE3 instructions.  Please refer to the <a
-      href="http://gcc.gnu.org/onlinedocs/gcc/X86-Built_002din-Functions.html#X86-Built_002din-Functions">
+      href="http://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html#X86-Built-in-Functions">
       user manual</a> for the list of valid ISA names recognized.</li>
     </ul>
     <p>Caveat: If these built-in functions are called before any static