[wwwdocs] Mention POWER IEEE128 changes for gcc 12

Message ID 9c3e420f-afcf-f2ff-8ea7-35da6f7d7675@netcologne.de
State New
Headers
Series [wwwdocs] Mention POWER IEEE128 changes for gcc 12 |

Commit Message

Thomas Koenig April 28, 2022, 4:41 p.m. UTC
  Hi,

the attached patch documents the support for IEEE long double for
Fortran.  OK?  Suggestions for better wording?

Best regards

	Thomas


Mention support for IEEE 128-bit long double for Fortran.

         * htdocs/gcc-12/changes.html: Mention support for IEEE
	128-bit long double for Fortran.
  

Comments

Thomas Koenig April 29, 2022, 8:10 p.m. UTC | #1
> the attached patch documents the support for IEEE long double for
> Fortran.  OK?  Suggestions for better wording?

I'd like to get this in before the gcc12 release.  It would also
qualify as obviously correct, I think :-) so I'll commit this
on Sunday unless there are any objections.

Patch at

https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593780.html

Best regards

	Thomas
  
Mikael Morin April 30, 2022, 3:37 p.m. UTC | #2
Le 29/04/2022 à 22:10, Thomas Koenig via Fortran a écrit :
> 
>> the attached patch documents the support for IEEE long double for
>> Fortran.  OK?  Suggestions for better wording?
> 
> I'd like to get this in before the gcc12 release.  It would also
> qualify as obviously correct, I think :-) so I'll commit this
> on Sunday unless there are any objections.
> 
May I suggest to rewrite the first sentence as:
   On POWER systems which support it, the
   <code>-mabi=ieeelongdouble</code> option is now available to use the
   IEEE 128-bit floating point format for <code>REAL(KIND=16)</code>
   types.

OK in any case.  Anything is better than nothing.
  
Thomas Koenig April 30, 2022, 9:56 p.m. UTC | #3
Hi Mikael,

> OK in any case.  Anything is better than nothing.

Here is what I committed, with one final tweak.

Thanks!

Best regards

	Thomas

--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -501,6 +501,15 @@ function Multiply (S1, S2 : Sign) return Sign is
      conforming to the Fortran 2018 standard.  Previous versions
      used <code>OPERATOR</code> which conforms to TS 18508.
    </li>
+  <li>
+    On POWER systems which support it, the 
<code>-mabi=ieeelongdouble</code>
+    option now selects the IEEE 128-bit floating point format
+    for <code>REAL(KIND=16)</code>.
+    <code>R16_IBM</code> and <code>R16_IEEE</code> have been added to the
+    <code>-fconvert</code> option, the <code>CONVERT</code> specifyer of
+    the <code>OPEN</code> statement and the 
<code>GFORTRAN_CONVERT_UNIT</code>
+    environment variable.
+  </li>
  </ul>
  

Patch

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index e9f132c0..083d713e 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -497,6 +497,14 @@  function Multiply (S1, S2 : Sign) return Sign is
     conforming to the Fortran 2018 standard.  Previous versions
     used <code>OPERATOR</code> which conforms to TS 18508.
   </li>
+  <li>
+    On POWER systems which support it, <code>-mabi=ieeelongdouble</code>
+    now uses IEEE 128-bit for <code>REAL(KIND=16)</code>.
+    <code>R16_IBM</code> and <code>R16_IEEE</code> have been added to the
+    <code>-fconvert</code> option, the <code>CONVERT</code> specifyer of
+    the <code>OPEN</code> statement and the <code>GFORTRAN_CONVERT_UNIT</code>
+    environment variable.
+  </li>
 </ul>
 
 <!-- <h3 id="go">Go</h3> -->