[fortran,patch] Support for IEEE underflow control on x86/x86_64

Uros Bizjak ubizjak@gmail.com
Thu Jul 3 10:36:00 GMT 2014


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.



More information about the Fortran mailing list