3 # Copyright (C) 2003-2015 Free Software Foundation, Inc.
5 # This file is part of GCC.
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)
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.
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/>.
21 # What we really want are these variants:
23 # -mcpu=7400 -maltivec -mabi=altivec
24 # -mcpu=7400 -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.
30 MULTILIB_OPTIONS = mcpu=7400 \
39 MULTILIB_DIRNAMES = mpc7400 altivec abi-altivec \
40 nof no-spe no-abi-spe no-isel le
42 MULTILIB_EXCEPTIONS = maltivec mabi=altivec mno-spe mabi=no-spe mno-isel \
43 maltivec/mabi=altivec \
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* \
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* \
61 mabi=no-spe/mno-isel \
63 mabi=no-spe/mno-isel/mlittle \
66 mcpu=7400/mabi=altivec/mlittle \
67 mcpu=7400/maltivec/mlittle \
69 mno-spe/mno-isel/mlittle \
70 mabi=altivec/mlittle \
72 maltivec/mabi=altivec/mlittle