| 1 |
/* Definitions of target machine for GNU compiler, |
| 2 |
for 64 bit powerpc linux defaulting to -m64. |
| 3 |
Copyright (C) 2003-2025 Free Software Foundation, Inc. |
| 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 |
#define RS6000_CPU(NAME, CPU, FLAGS) |
| 22 |
#include "rs6000-cpus.def" |
| 23 |
#undef RS6000_CPU |
| 24 |
|
| 25 |
#if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN) |
| 26 |
#undef TARGET_DEFAULT |
| 27 |
#define TARGET_DEFAULT (ISA_2_7_MASKS_SERVER | MASK_POWERPC64 | MASK_64BIT \ |
| 28 |
| MASK_LITTLE_ENDIAN) |
| 29 |
#undef ASM_DEFAULT_SPEC |
| 30 |
#define ASM_DEFAULT_SPEC "-mpower8" |
| 31 |
#else |
| 32 |
#undef TARGET_DEFAULT |
| 33 |
#define TARGET_DEFAULT (OPTION_MASK_PPC_GFXOPT | OPTION_MASK_PPC_GPOPT \ |
| 34 |
| OPTION_MASK_MFCRF | MASK_POWERPC64 | MASK_64BIT) |
| 35 |
#undef ASM_DEFAULT_SPEC |
| 36 |
#define ASM_DEFAULT_SPEC "-mpower4" |
| 37 |
#endif |