This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH, mingw32]: Port FTZ/DAZ for SSE to mingw32


> From: gcc-patches-owner@gcc.gnu.org 
> [mailto:gcc-patches-owner@gcc.gnu.org] On Behalf Of Uros Bizjak
> Sent: Monday, 21 May 2007 11:15 p.m.
> 
> 
> Hello!
> 
> > PR target/29498
> > * config.gcc: Add i386/t-crtfm to tm-file.
> > * i386/mingw32.h: (ENDFILE_SPEC): New.
> > * i386/t-crtfm: Force -minline-all-stringops to remove 
> external linkage of
> > memset
> 
> The change to t-crtfm is OK.
> 
> (Other changes should be reviewed by mingw maintaner.)

The mingw32 specific changes are OK for 4.2.1.
Uros, does your approval for  t-crtfm also apply to the the
libgcc/config/i386/t-crtfm, on trunk?
If so I will also apply the corresponding changes to trunk.  (Bootstap
and regtested there on i686-pc-mingw32)

Danny


> 
> Uros.
> 
> --- gcc/config.gcc.old  Wed May 10 04:02:29 2006
> +++ gcc/config.gcc      Tue Mar  6 17:22:20 2007
> @@ -1229,7 +1229,7 @@
>  i[34567]86-*-mingw32*)
>         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h
> dbxcoff.h i386/cygming.h i386/mingw32.h"
>         xm_file=i386/xm-mingw32.h
> -       tmake_file="i386/t-cygming i386/t-mingw32"
> +       tmake_file="i386/t-cygming i386/t-mingw32 i386/t-crtfm"
>         target_gtfiles="\$(srcdir)/config/i386/winnt.c"
>         extra_options="${extra_options} i386/cygming.opt"
>         extra_objs="winnt.o winnt-stubs.o"
> --- gcc/config/i386/mingw32.h.old       Sat Jun 25 09:22:41 2005
> +++ gcc/config/i386/mingw32.h   Sun Mar 11 22:16:32 2007
> @@ -77,6 +77,9 @@
>  #define STANDARD_STARTFILE_PREFIX_2 ""
>  #endif
> 
> +#undef ENDFILE_SPEC
> +#define ENDFILE_SPEC 
> "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
> +
>  /* Output STRING, a string representing a filename, to FILE.
>     We canonicalize it to be in Unix format (backslashes are replaced
>     forward slashes.  */
> --- gcc/config/i386/t-crtfm.old Thu Aug 11 01:53:01 2005
> +++ gcc/config/i386/t-crtfm     Sun Mar 11 22:17:21 2007
> @@ -1,6 +1,6 @@
>  EXTRA_PARTS += crtfastmath.o
> 
>  $(T)crtfastmath.o: $(srcdir)/config/i386/crtfastmath.c $(GCC_PASSES)
> -       $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -msse -c \
> +       $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) 
> -minline-all-stringops -msse -c \
>                 $(srcdir)/config/i386/crtfastmath.c \
>                 -o $(T)crtfastmath$(objext)
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]