head	1.2;
access;
symbols
	gcc-2_8_1-990325:1.2
	gcc-2_8_1-990319:1.2
	gcc-2_8_1-990302:1.2
	gcc_2_8_1-990302:1.2
	gcc_2_8_1-990222:1.2
	gcc-2_8_1-990109:1.2
	gcc-2_8_1-981210:1.2
	gcc-2_8_1-981208:1.2
	gcc-2_8_1-980929:1.2
	gcc_2_8_1-980929:1.2
	gcc-2_8_1-980928:1.2
	gcc-2_8_1-980813:1.2
	gcc-2_8_1-980811:1.2
	gcc-2_8_1-980718:1.2
	gcc-2_8_1-980705:1.2
	gcc-2_8_1-980627:1.2
	gcc-2_8_1-980609:1.2
	gcc-2_8_1-980608:1.2
	gcc-2_8_1-980529:1.2
	gcc-2_8_1-980525:1.2
	gcc-2_8_1-980513:1.2
	gcc-2_8_1-980502:1.2
	gcc-2_8_1-980426:1.2
	gcc-2_8_1-980419:1.2
	gcc-2_8_1-980413:1.2
	gcc-2_8_1-980412:1.2
	gcc-2_8_1-980407:1.2
	gcc-2_8_1-980401:1.2
	gcc_2_8_1-980315:1.2
	gcc-2_8_1-RELEASE:1.2;
locks; strict;
comment	@# @;


1.2
date	95.12.27.17.35.39;	author meissner;	state Exp;
branches;
next	1.1;

1.1
date	95.12.20.17.05.26;	author meissner;	state Exp;
branches;
next	;


desc
@t-newas for cross compilers.
@


1.2
log
@Reorganize common mode; optimize SI*SI->DI on common/powerpc; Do not build power2/601 libraries
@
text
@# Same as t-newas, except don't build libgcc1-test.  This is because
# the compiler emits code to call external functions to save the
# arguments that are in libc, but since libgcc1-test is linked without
# libc, they will show up as errors.
LIBGCC1_TEST =

# Do not build libgcc1.
LIBGCC1 =
CROSS_LIBGCC1 =

# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c

dp-bit.c: $(srcdir)/config/fp-bit.c
	cat $(srcdir)/config/fp-bit.c > dp-bit.c

fp-bit.c: $(srcdir)/config/fp-bit.c
	echo '#define FLOAT' > fp-bit.c
	cat $(srcdir)/config/fp-bit.c >> fp-bit.c

# Build the libraries for both hard and soft floating point and all of the 
# different processor models

MULTILIB_OPTIONS	= msoft-float \
			  mcpu=common/mcpu=power/mcpu=powerpc

MULTILIB_DIRNAMES	= soft-float \
			  common power powerpc

MULTILIB_MATCHES	= msoft-float=mcpu?403 \
			  mcpu?power=mpower \
			  mcpu?power=mrios1 \
			  mcpu?power=mcpu?rios1 \
			  mcpu?power=mcpu?rsc \
			  mcpu?power=mcpu?rsc1 \
			  mcpu?power=mpower2 \
			  mcpu?power=mrios2 \
			  mcpu?power=mcpu=rios2 \
			  mcpu?powerpc=mcpu?601 \
			  mcpu?powerpc=mcpu?602 \
			  mcpu?powerpc=mcpu?603 \
			  mcpu?powerpc=mcpu?603e \
			  mcpu?powerpc=mcpu?604 \
			  mcpu?powerpc=mcpu?620 \
			  mcpu?powerpc=mcpu?403 \
			  mcpu?powerpc=mpowerpc \
			  mcpu?powerpc=mpowerpc-gpopt \
			  mcpu?powerpc=mpowerpc-gfxopt

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

# Aix 3.2.x needs milli.exp for -mcpu=common
EXTRA_PARTS = milli.exp
milli.exp: $(srcdir)/config/rs6000/milli.exp
	rm -f milli.exp
	cp $(srcdir)/config/rs6000/milli.exp ./milli.exp
@


1.1
log
@Make AIX4 use -mcpu=common by default; add -mtune=
@
text
@d26 1
a26 1
			  mcpu=common/mcpu=power/mcpu=powerpc/mcpu=601/mcpu=power2
d29 1
a29 1
			  common power powerpc 601 power2
d34 7
a40 4
			  mcpu?power=mcpu=rios1 \
			  mcpu?power2=mpower2 \
			  mcpu?power2=mrios2 \
			  mcpu?power2=mcpu=rios2 \
d49 1
a49 3
			  mcpu?powerpc=mpowerpc-gfxopt \
			  mcpu?601=mcpu?rsc \
			  mcpu?601=mcpu?rsc1
@
