Message ID | 9c3e420f-afcf-f2ff-8ea7-35da6f7d7675@netcologne.de |
---|---|
State | New |
Headers | show |
Series | [wwwdocs] Mention POWER IEEE128 changes for gcc 12 | expand |
> 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
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.
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>
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> -->