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]

[PATCH]: Update news and gcc-4.3 changes for new MPFR stuff


This patch updates the web pages for news and gcc-4.3 changes to mention
the new MPFR/GMP requirements and the new optimizations they enable.

I'm not a web expert, so a little extra careful review would be much
appreciated.

Okay to install?

		Thanks,
		--Kaveh

Index: index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.585
diff -u -p -r1.585 index.html
--- index.html	19 Nov 2006 15:57:55 -0000	1.585
+++ index.html	30 Dec 2006 15:32:31 -0000
@@ -45,6 +45,18 @@ mission statement</a>.</p>

 <dl class="news">

+<dt>December 30, 2006</dt>
+
+<dd>Kaveh Ghazi has integrated the GCC middle-end with the <a
+    href="http://www.mpfr.org/";>MPFR</a> library.  This allows GCC to
+    evaluate and replace at compile-time calls to built-in math
+    functions having constant arguments with their mathematically
+    equivalent results.  As a result, to build any GCC front-end
+    language you need to have this library and the <a
+    href="http://www.swox.com/gmp/";>GMP</a> library available.  See
+    the <a href="gcc-4.3/changes.html">GCC changes page</a> for more
+    details.</dd>
+
 <dt>September 5, 2006</dt>
 <dd>A forward propagation pass on RTL was contributed by
   Paolo Bonzini of University of Lugano, and Steven Bosscher
Index: gcc-4.3/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.13
diff -u -p -r1.13 changes.html
--- gcc-4.3/changes.html	28 Dec 2006 00:14:21 -0000	1.13
+++ gcc-4.3/changes.html	30 Dec 2006 15:32:35 -0000
@@ -13,10 +13,38 @@

 <h2>Caveats</h2>

+  <ul>
+    <li>GCC requires the <a href="http://www.swox.com/gmp/";>GMP</a>
+    and <a href="http://www.mpfr.org/";>MPFR</a> libraries for all the
+    various front-end languages it supports.  See the <a
+    href="../install/prerequisites.html">prerequisites page</a> for
+    version requirements.</li>
+
+  </ul>

 <h2>General Optimizer Improvements</h2>

   <ul>
+    <li>The GCC middle-end has been integrated with the <a
+    href="http://www.mpfr.org/";>MPFR</a> library.  This allows GCC to
+    evaluate and replace at compile-time calls to built-in math
+    functions having constant arguments with their mathematically
+    equivalent results.  In making use of <a
+    href="http://www.mpfr.org/";>MPFR</a>, GCC can generate correct
+    results regardless of the library implementation or floating point
+    precision of the host platform.  This also allows GCC to generate
+    identical results regardless of whether one compiles in native or
+    cross-compile configurations to a particular target.  The
+    following built-in functions take advantage of this new
+    capability: <code>acos, acosh, asin, asinh, atan, atan2, atanh,
+    cbrt, cos, cosh, erf, erfc, exp, exp10, exp2, expm1, fma, fmax,
+    fmin, hypot, log, log10, log1p, log2, pow, pow10, sin, sincos,
+    sinh, tan, tanh</code> and <code>tgamma</code>.  The
+    <code>float</code> and <code>long double</code> variants of these
+    functions (e.g. <code>sinf</code> and <code>sinl</code>) are also
+    handled.  (The <code>sqrt</code> and related functions were
+    already optimized in prior GCC releases.)  </li>
+
     <li>A new <em>forward propagation</em> pass on RTL was added.  The new pass
       replaces several slower transformations, resulting in compile-time
       improvements as well as better code generation in some cases.</li>
@@ -70,6 +98,13 @@

 <h3>Fortran</h3>
   <ul>
+
+    <li>Due to the fact that the <a
+    href="http://www.swox.com/gmp/";>GMP</a> and <a
+    href="http://www.mpfr.org/";>MPFR</a> libraries are required for
+    all languages, Fortran is no longer special in this regard and is
+    available by default.</li>
+
     <li>The <code>
     <a href="http://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#Code-Gen-Options";
     >-fexternal-blas</a></code> option has been added, which


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