190075Sobrien/* Core target definitions for GNU compiler 290075Sobrien for PowerPC targeted systems with AltiVec support. 3132718Skan Copyright (C) 2001, 2003 Free Software Foundation, Inc. 490075Sobrien Contributed by Aldy Hernandez (aldyh@redhat.com). 590075Sobrien 6132718Skan This file is part of GCC. 790075Sobrien 8132718Skan GCC is free software; you can redistribute it and/or modify it 9132718Skan under the terms of the GNU General Public License as published 10132718Skan by the Free Software Foundation; either version 2, or (at your 11132718Skan option) any later version. 1290075Sobrien 13132718Skan GCC is distributed in the hope that it will be useful, but WITHOUT 14132718Skan ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15132718Skan or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 16132718Skan License for more details. 1790075Sobrien 18132718Skan You should have received a copy of the GNU General Public License 19132718Skan along with GCC; see the file COPYING. If not, write to the 20169689Skan Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, 21169689Skan MA 02110-1301, USA. */ 2290075Sobrien 2390075Sobrien/* Add -meabi and -maltivec to target flags. */ 24132718Skan#undef TARGET_DEFAULT 2590075Sobrien#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_EABI | MASK_ALTIVEC) 2690075Sobrien 27132718Skan#undef TARGET_VERSION 2890075Sobrien#define TARGET_VERSION fprintf (stderr, " (PowerPC Embedded with AltiVec)"); 2990075Sobrien 30132718Skan#undef SUBSUBTARGET_OVERRIDE_OPTIONS 3190075Sobrien#define SUBSUBTARGET_OVERRIDE_OPTIONS rs6000_altivec_abi = 1 32