1 /* Definitions of target machine for GNU compiler, 2 for 64 bit powerpc linux defaulting to -m64. 3 Copyright (C) 2003-2020 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 | MASK_LITTLE_ENDIAN) 28 #undef ASM_DEFAULT_SPEC 29 #define ASM_DEFAULT_SPEC "-mpower8" 30 #else 31 #undef TARGET_DEFAULT 32 #define TARGET_DEFAULT (MASK_PPC_GFXOPT | MASK_PPC_GPOPT | MASK_MFCRF | MASK_POWERPC64 | MASK_64BIT) 33 #undef ASM_DEFAULT_SPEC 34 #define ASM_DEFAULT_SPEC "-mpower4" 35 #endif 36