3 # Copyright (C) 2003-2014 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 -mno-isel
27 # so we'll need to create exceptions later below.
29 MULTILIB_OPTIONS = mcpu=7400 \
38 MULTILIB_DIRNAMES = mpc7400 altivec abi-altivec \
39 nof no-spe no-abi-spe no-isel le
41 MULTILIB_EXCEPTIONS = maltivec mabi=altivec mno-spe mabi=no-spe mno-isel \
42 maltivec/mabi=altivec \
44 mcpu=7400/mabi=altivec \
45 *mcpu=7400/*mno-spe* \
46 *mcpu=7400/*mabi=no-spe* \
47 *mcpu=7400/*mno-isel* \
48 *maltivec/*msoft-float* \
50 *maltivec/*mabi=no-spe* \
51 *maltivec/*mno-isel* \
52 *mabi=altivec/*msoft-float* \
53 *mabi=altivec/*mno-spe* \
54 *mabi=altivec/*mabi=no-spe* \
55 *mabi=altivec/*mno-isel* \
56 *msoft-float/*mno-spe* \
57 *msoft-float/*mabi=no-spe* \
58 *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 mno-spe/mabi=no-spe/mlittle \
71 mabi=altivec/mlittle \
73 maltivec/mabi=altivec/mlittle