Extra machine modes out of tm.h

Andreas Jaeger aj@suse.de
Wed Jun 12 04:57:00 GMT 2002


Zack Weinberg <zack@codesourcery.com> writes:

> On Tue, Jun 11, 2002 at 06:03:11PM +0200, Ulrich Weigand wrote:
> > 
> > Zack Weinberg wrote:
> > 
> > >As is done for $md_file, set $extra_modes_file in config.gcc and allow
> > >target stanzas to override it.  Would you like to write this patch, or
> > >shall I?
> > 
> > I'm not really familiar with the gcc configure mechanism, so I'd
> > appreciate it if you could provide such a patch.  I'll add the s390x
> > specific bits and test it, of course.
> 
> Here.  It already includes the s390x specific bit, but I have no way
> of testing it properly.

I guess x86-64 needs this also.  Honza, can you have a look, please?

Andreas

2002-06-12  Andreas Jaeger  <aj@suse.de>

	* config.gcc (x86_64-*-*): Set extra-modes.

============================================================
Index: gcc/config.gcc
--- gcc/config.gcc	12 Jun 2002 00:02:00 -0000	1.209
+++ gcc/config.gcc	12 Jun 2002 06:45:23 -0000
@@ -252,6 +252,7 @@ i[34567]86-*-*)
 x86_64-*-*)
 	cpu_type=i386
 	extra_headers="mmintrin.h xmmintrin.h"
+	extra_modes=i386/i386-modes.def
 	;;
 ia64-*-*)
 	extra_headers=ia64intrin.h

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list