aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-spe
blob: bd0b795931867425546b126e1762c76402377b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Multilibs for e500

FPBIT = fp-bit.c
DPBIT = 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

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

# What we really want are these variants:
#	-mcpu=7400
#	-mcpu=7400 -maltivec -mabi=altivec
#	-mcpu=7400 -msoft-float
#	-msoft-float
#	-mspe=no -mabi=no-spe -misel=no
# so we'll need to create exceptions later below.

MULTILIB_OPTIONS	= mcpu=7400 \
			  maltivec \
			  mabi=altivec \
			  msoft-float \
			  mspe=no \
			  mabi=no-spe \
			  misel=no \
			  mlittle

MULTILIB_DIRNAMES	= mpc7400 altivec abi-altivec \
			  nof no-spe no-abi-spe no-isel le

MULTILIB_EXCEPTIONS	= maltivec mabi=altivec mspe=no mabi=no-spe misel=no \
			  maltivec/mabi=altivec \
			  mcpu=7400/maltivec \
			  mcpu=7400/mabi=altivec \
			  *mcpu=7400/*mspe=no* \
			  *mcpu=7400/*mabi=no-spe* \
			  *mcpu=7400/*misel=no* \
			  *maltivec/*msoft-float* \
			  *maltivec/*mspe=no* \
			  *maltivec/*mabi=no-spe* \
			  *maltivec/*misel=no* \
			  *mabi=altivec/*msoft-float* \
			  *mabi=altivec/*mspe=no* \
			  *mabi=altivec/*mabi=no-spe* \
			  *mabi=altivec/*misel=no* \
			  *msoft-float/*mspe=no* \
			  *msoft-float/*mabi=no-spe* \
			  *msoft-float/*misel=no* \
			  mspe=no/mabi=no-spe \
			  mspe=no/misel=no \
			  mabi=no-spe/misel=no \
			  misel=no/mlittle \
			  mabi=no-spe/misel=no/mlittle \
			  mspe=no/mlittle \
			  mabi=spe/mlittle \
			  mcpu=7400/mabi=altivec/mlittle \
			  mcpu=7400/maltivec/mlittle \
			  mabi=no-spe/mlittle \
			  mspe=no/misel=no/mlittle \
			  mspe=no/mabi=no-spe/mlittle \
			  mabi=altivec/mlittle \
			  maltivec/mlittle \
			  maltivec/mabi=altivec/mlittle