[PATCH, libgfortran]: Add "=m" for stmxcsr

Uros Bizjak ubizjak@gmail.com
Fri Oct 14 06:55:00 GMT 2005


Oops....

One semicolon escaped me.

I'm looking into gcc/config/i386/crtfastmath.c, where this is implemented using

      unsigned int mxcsr = __builtin_ia32_stmxcsr ();

and

      __builtin_ia32_ldmxcsr (mxcsr);

Should the same approach be used in libgfortran?

Uros.

On 10/13/05, FX Coudert <fxcoudert@gmail.com> wrote:
> >>      * config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
> >
> > This is wrong.  Inputs should not have '='.
>
> `yes I will not approve assembler patches | head -n 150`
>
> Could you have a look at the original file (I guess you did when I
> proposed the patch, but I'm not sure) to see if other occurences are
> correct?
>
> FX
>



More information about the Fortran mailing list