1 /* Definitions of MIPS sub target machine for GNU compiler.
2 Toshiba r3900. You should include mips.h after this.
4 Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2004,
5 2007, 2010 Free Software Foundation, Inc.
6 Contributed by Gavin Koch (gavin@cygnus.com).
8 This file is part of GCC.
10 GCC is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3, or (at your option)
15 GCC is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with GCC; see the file COPYING3. If not see
22 <http://www.gnu.org/licenses/>. */
24 #undef MIPS_CPU_STRING_DEFAULT
25 #define MIPS_CPU_STRING_DEFAULT "r3900"
26 #define MIPS_ISA_DEFAULT 1
28 #undef MULTILIB_DEFAULTS
29 #define MULTILIB_DEFAULTS { MULTILIB_ENDIAN_DEFAULT, "msoft-float" }
31 /* We use the MIPS EABI by default. */
32 #undef MIPS_ABI_DEFAULT
33 #define MIPS_ABI_DEFAULT ABI_EABI
35 /* By default (if not mips-something-else) produce code for the r3900 */
36 #undef SUBTARGET_CC1_SPEC
37 #define SUBTARGET_CC1_SPEC "\
38 %{mhard-float:%e-mhard-float not supported} \
39 %{msingle-float:%{msoft-float: \
40 %e-msingle-float and -msoft-float cannot both be specified}}"