111
|
1 # Multilibs for e500
|
|
2 #
|
131
|
3 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
|
111
|
4 #
|
|
5 # This file is part of GCC.
|
|
6 #
|
|
7 # GCC is free software; you can redistribute it and/or modify
|
|
8 # it under the terms of the GNU General Public License as published by
|
|
9 # the Free Software Foundation; either version 3, or (at your option)
|
|
10 # any later version.
|
|
11 #
|
|
12 # GCC is distributed in the hope that it will be useful,
|
|
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 # GNU General Public License for more details.
|
|
16 #
|
|
17 # You should have received a copy of the GNU General Public License
|
|
18 # along with GCC; see the file COPYING3. If not see
|
|
19 # <http://www.gnu.org/licenses/>.
|
|
20
|
|
21 # What we really want are these variants:
|
|
22 # -mcpu=7400
|
|
23 # -mcpu=7400 -maltivec -mabi=altivec
|
|
24 # -mcpu=7400 -msoft-float
|
|
25 # -msoft-float
|
|
26 # -mno-spe -mabi=no-spe
|
|
27 # -mno-spe -mabi=no-spe -mno-isel
|
|
28 # so we'll need to create exceptions later below.
|
|
29
|
|
30 MULTILIB_OPTIONS = mcpu=7400 \
|
|
31 maltivec \
|
|
32 mabi=altivec \
|
|
33 msoft-float \
|
|
34 mno-spe \
|
|
35 mabi=no-spe \
|
|
36 mno-isel \
|
|
37 mlittle
|
|
38
|
|
39 MULTILIB_DIRNAMES = mpc7400 altivec abi-altivec \
|
|
40 nof no-spe no-abi-spe no-isel le
|
|
41
|
|
42 MULTILIB_EXCEPTIONS = maltivec mabi=altivec mno-spe mabi=no-spe mno-isel \
|
|
43 maltivec/mabi=altivec \
|
|
44 mcpu=7400/maltivec \
|
|
45 mcpu=7400/mabi=altivec \
|
|
46 *mcpu=7400/*mno-spe* \
|
|
47 *mcpu=7400/*mabi=no-spe* \
|
|
48 *mcpu=7400/*mno-isel* \
|
|
49 *maltivec/*msoft-float* \
|
|
50 *maltivec/*mno-spe* \
|
|
51 *maltivec/*mabi=no-spe* \
|
|
52 *maltivec/*mno-isel* \
|
|
53 *mabi=altivec/*msoft-float* \
|
|
54 *mabi=altivec/*mno-spe* \
|
|
55 *mabi=altivec/*mabi=no-spe* \
|
|
56 *mabi=altivec/*mno-isel* \
|
|
57 *msoft-float/*mno-spe* \
|
|
58 *msoft-float/*mabi=no-spe* \
|
|
59 *msoft-float/*mno-isel* \
|
|
60 mno-spe/mno-isel \
|
|
61 mabi=no-spe/mno-isel \
|
|
62 mno-isel/mlittle \
|
|
63 mabi=no-spe/mno-isel/mlittle \
|
|
64 mno-spe/mlittle \
|
|
65 mabi=spe/mlittle \
|
|
66 mcpu=7400/mabi=altivec/mlittle \
|
|
67 mcpu=7400/maltivec/mlittle \
|
|
68 mabi=no-spe/mlittle \
|
|
69 mno-spe/mno-isel/mlittle \
|
|
70 mabi=altivec/mlittle \
|
|
71 maltivec/mlittle \
|
|
72 maltivec/mabi=altivec/mlittle
|