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