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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [sh/] [superh64.h] - Blame information for rev 282

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
/*
2
 Definitions of target machine for gcc for SuperH using target sh-superh-elf,
3
 
4
   Copyright 2000, 2007 Free Software Foundation, Inc.
5
   Contributed by Alexandre Oliva <aoliva@redhat.com>
6
   Modified for SuperH by Richard Shann
7
 
8
This file is part of GNU CC.
9
 
10
GNU CC is free software; you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation; either version 3, or (at your option)
13
any later version.
14
 
15
GNU CC is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
GNU General Public License for more details.
19
 
20
You should have received a copy of the GNU General Public License
21
along with GCC; see the file COPYING3.  If not see
22
<http://www.gnu.org/licenses/>.  */
23
 
24
/* This header file is used when the vendor name is set to 'superh'.
25
   It configures the compiler for SH5 only and switches the default
26
   endianess to little.
27
   This file is intended to override sh.h, superh.h and sh64.h (which
28
   should have been included in that order) */
29
 
30
 
31
#ifndef _SUPERH_H
32
 #error superh64.h should not be used without superh.h
33
#endif
34
 
35
/* We override TARGET_PROCESSOR_SWITCHES in order to remove all the unrequired cpu options */
36
#undef TARGET_PROCESSOR_SWITCHES
37
#define TARGET_PROCESSOR_SWITCHES                       \
38
  {"5-64media", TARGET_NONE, "" },              \
39
  {"5-64media", SELECT_SH5_64, "SH5 64-bit SHmedia code" }, \
40
  {"5-64media-nofpu", TARGET_NONE, "" },        \
41
  {"5-64media-nofpu", SELECT_SH5_64_NOFPU, "SH5 64-bit FPU-less SHmedia code" }, \
42
  {"5-32media", TARGET_NONE, "" },              \
43
  {"5-32media", SELECT_SH5_32, "SH5 32-bit SHmedia code" }, \
44
  {"5-32media-nofpu", TARGET_NONE, "" },        \
45
  {"5-32media-nofpu", SELECT_SH5_32_NOFPU, "SH5 32-bit FPU-less SHmedia code" }, \
46
  {"5-compact", TARGET_NONE, "" },              \
47
  {"5-compact", SELECT_SH5_COMPACT, "SH5 SHcompact code" }, \
48
  {"5-compact-nofpu", TARGET_NONE, "" },        \
49
  {"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.