public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch]: Add for x86_64 mingw the crtfastmath
@ 2008-04-01 11:17 Kai Tietz
  2008-04-02  1:41 ` Christopher Faylor
  0 siblings, 1 reply; 4+ messages in thread
From: Kai Tietz @ 2008-04-01 11:17 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

Hi,

This patch enables for the target x86_64-pc-mingw32 the build of 
crtfastmath object. So -ffastmath is able to work.

ChangeLog

2008-04-01  Kai Tietz  <kai.tietz@onevision.com>

        * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.

Is this patch ok for apply?

  Kai



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

[-- Attachment #2: mingw64_fastmath.txt --]
[-- Type: text/plain, Size: 877 bytes --]

Index: gcc/gcc/config.gcc
===================================================================
--- gcc.orig/gcc/config.gcc
+++ gcc/gcc/config.gcc
@@ -1379,7 +1379,7 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*)
 		thread_file='posix'
 	fi
 	;;
-i[34567]86-*-mingw32* | x86_64-*-mingw32*)
+i[34567]86-*-mingw32* | x86_64-*-mingw*)
 	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"
@@ -1396,10 +1396,17 @@ i[34567]86-*-mingw32* | x86_64-*-mingw32
 	  ;;
 	esac
 	case ${target} in
+		x86_64-*-mingw*)
+			tmake_file="${tmake_file} i386/t-crtfm"
+			;;
+		*)
+			;;
+	esac
+	case ${target} in
 		*mingw32crt*)
 			tm_file="${tm_file} i386/crtdll.h"
 			;;
-		*mingw32msv* | *mingw32*)
+		*mingw32msv* | *mingw*)
 			;;
 	esac
 	;;
=

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch]: Add for x86_64 mingw the crtfastmath
  2008-04-01 11:17 [patch]: Add for x86_64 mingw the crtfastmath Kai Tietz
@ 2008-04-02  1:41 ` Christopher Faylor
  2008-04-02  7:50   ` Kai Tietz
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Faylor @ 2008-04-02  1:41 UTC (permalink / raw)
  To: gcc-patches, Kai Tietz

On Tue, Apr 01, 2008 at 01:12:21PM +0200, Kai Tietz wrote:
>Hi,
>
>This patch enables for the target x86_64-pc-mingw32 the build of 
>crtfastmath object. So -ffastmath is able to work.
>
>ChangeLog
>
>2008-04-01  Kai Tietz  <kai.tietz@onevision.com>
>
>        * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.
>
>Is this patch ok for apply?

Yes.

cgf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch]: Add for x86_64 mingw the crtfastmath
  2008-04-02  1:41 ` Christopher Faylor
@ 2008-04-02  7:50   ` Kai Tietz
  2008-04-02 15:59     ` NightStrike
  0 siblings, 1 reply; 4+ messages in thread
From: Kai Tietz @ 2008-04-02  7:50 UTC (permalink / raw)
  To: Christopher Faylor; +Cc: gcc-patches

Christopher Faylor <me@cgf.cx> wrote on 02.04.2008 03:41:14:

> On Tue, Apr 01, 2008 at 01:12:21PM +0200, Kai Tietz wrote:
> >Hi,
> >
> >This patch enables for the target x86_64-pc-mingw32 the build of 
> >crtfastmath object. So -ffastmath is able to work.
> >
> >ChangeLog
> >
> >2008-04-01  Kai Tietz  <kai.tietz@onevision.com>
> >
> >        * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.
> >
> >Is this patch ok for apply?
> 
> Yes.

I applied it.

Thanks
  Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch]: Add for x86_64 mingw the crtfastmath
  2008-04-02  7:50   ` Kai Tietz
@ 2008-04-02 15:59     ` NightStrike
  0 siblings, 0 replies; 4+ messages in thread
From: NightStrike @ 2008-04-02 15:59 UTC (permalink / raw)
  To: Kai Tietz; +Cc: Christopher Faylor, gcc-patches

On 4/2/08, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> Christopher Faylor <me@cgf.cx> wrote on 02.04.2008 03:41:14:
>
> > On Tue, Apr 01, 2008 at 01:12:21PM +0200, Kai Tietz wrote:
> > >Hi,
> > >
> > >This patch enables for the target x86_64-pc-mingw32 the build of
> > >crtfastmath object. So -ffastmath is able to work.
> > >
> > >ChangeLog
> > >
> > >2008-04-01  Kai Tietz  <kai.tietz@onevision.com>
> > >
> > >        * config.gcc: Add for x86_64-*-mingw* the t-crtfm to tbuild.
> > >
> > >Is this patch ok for apply?
> >
> > Yes.
>
> I applied it.

Can you apply to 4.3.1 also?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-02 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-01 11:17 [patch]: Add for x86_64 mingw the crtfastmath Kai Tietz
2008-04-02  1:41 ` Christopher Faylor
2008-04-02  7:50   ` Kai Tietz
2008-04-02 15:59     ` NightStrike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).