This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran,patch] Support for IEEE underflow control on x86/x86_64
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 3 Jul 2014 12:35:58 +0200
- Subject: Re: [fortran,patch] Support for IEEE underflow control on x86/x86_64
- Authentication-results: sourceware.org; auth=none
- References: <184DE738-2E8A-4310-A1FB-8BF351C2F88A at gmail dot com> <CAFULd4apPf0hQSARz2QKNjTCU3m24YQi3mFU0mUWV5RbwdwOkg at mail dot gmail dot com> <CAFULd4Y-A-QKhO_etD5_Tkv9v2ajEzrx-Sbg2h8+e6+f1vJNWA at mail dot gmail dot com> <0AE78CB5-AFFC-4064-BD1D-585E64D55964 at gmail dot com>
On Thu, Jul 3, 2014 at 12:26 PM, FX <fxcoudert@gmail.com> wrote:
>> I'd suggest to name this fie ieee_underflow_1.f90 for consistency.
>
> In fact, since the directory is called ieee/, I think Iâll rename the others so they donât all start with ieee_
>
>
>> BTW: underflow control also works on alpha, using following code:
>
> Could you test the attached libgfortran/config/fpu-glibc.h file on alpha?
>
>
>> You can mark variables with âvolatileâ
>
> Indeed, I should have thought of that. Once you report the results of the alpha modification, Iâll propose an updated patch with all of those remarks.
(I'd also make the new code dependant on __alpha__.)
Otherwise, the new header works OK.
Thanks,
Uros.