OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [sh/] [superh64.h] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/*
/*
 Definitions of target machine for gcc for SuperH using target sh-superh-elf,
 Definitions of target machine for gcc for SuperH using target sh-superh-elf,
 
 
   Copyright 2000, 2007 Free Software Foundation, Inc.
   Copyright 2000, 2007 Free Software Foundation, Inc.
   Contributed by Alexandre Oliva <aoliva@redhat.com>
   Contributed by Alexandre Oliva <aoliva@redhat.com>
   Modified for SuperH by Richard Shann
   Modified for SuperH by Richard Shann
 
 
This file is part of GNU CC.
This file is part of GNU CC.
 
 
GNU CC is free software; you can redistribute it and/or modify
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
any later version.
 
 
GNU CC is distributed in the hope that it will be useful,
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
GNU General Public License for more details.
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */
<http://www.gnu.org/licenses/>.  */
 
 
/* This header file is used when the vendor name is set to 'superh'.
/* This header file is used when the vendor name is set to 'superh'.
   It configures the compiler for SH5 only and switches the default
   It configures the compiler for SH5 only and switches the default
   endianess to little.
   endianess to little.
   This file is intended to override sh.h, superh.h and sh64.h (which
   This file is intended to override sh.h, superh.h and sh64.h (which
   should have been included in that order) */
   should have been included in that order) */
 
 
 
 
#ifndef _SUPERH_H
#ifndef _SUPERH_H
 #error superh64.h should not be used without superh.h
 #error superh64.h should not be used without superh.h
#endif
#endif
 
 
/* We override TARGET_PROCESSOR_SWITCHES in order to remove all the unrequired cpu options */
/* We override TARGET_PROCESSOR_SWITCHES in order to remove all the unrequired cpu options */
#undef TARGET_PROCESSOR_SWITCHES
#undef TARGET_PROCESSOR_SWITCHES
#define TARGET_PROCESSOR_SWITCHES                       \
#define TARGET_PROCESSOR_SWITCHES                       \
  {"5-64media", TARGET_NONE, "" },              \
  {"5-64media", TARGET_NONE, "" },              \
  {"5-64media", SELECT_SH5_64, "SH5 64-bit SHmedia code" }, \
  {"5-64media", SELECT_SH5_64, "SH5 64-bit SHmedia code" }, \
  {"5-64media-nofpu", TARGET_NONE, "" },        \
  {"5-64media-nofpu", TARGET_NONE, "" },        \
  {"5-64media-nofpu", SELECT_SH5_64_NOFPU, "SH5 64-bit FPU-less SHmedia code" }, \
  {"5-64media-nofpu", SELECT_SH5_64_NOFPU, "SH5 64-bit FPU-less SHmedia code" }, \
  {"5-32media", TARGET_NONE, "" },              \
  {"5-32media", TARGET_NONE, "" },              \
  {"5-32media", SELECT_SH5_32, "SH5 32-bit SHmedia code" }, \
  {"5-32media", SELECT_SH5_32, "SH5 32-bit SHmedia code" }, \
  {"5-32media-nofpu", TARGET_NONE, "" },        \
  {"5-32media-nofpu", TARGET_NONE, "" },        \
  {"5-32media-nofpu", SELECT_SH5_32_NOFPU, "SH5 32-bit FPU-less SHmedia code" }, \
  {"5-32media-nofpu", SELECT_SH5_32_NOFPU, "SH5 32-bit FPU-less SHmedia code" }, \
  {"5-compact", TARGET_NONE, "" },              \
  {"5-compact", TARGET_NONE, "" },              \
  {"5-compact", SELECT_SH5_COMPACT, "SH5 SHcompact code" }, \
  {"5-compact", SELECT_SH5_COMPACT, "SH5 SHcompact code" }, \
  {"5-compact-nofpu", TARGET_NONE, "" },        \
  {"5-compact-nofpu", TARGET_NONE, "" },        \
  {"5-compact-nofpu", SELECT_SH5_COMPACT_NOFPU, "SH5 FPU-less SHcompact code" }
  {"5-compact-nofpu", SELECT_SH5_COMPACT_NOFPU, "SH5 FPU-less SHcompact code" }
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.