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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [common/] [config/] [epiphany/] [epiphany-common.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 708 jeremybenn
/* Common hooks for Adapteva Epiphany
2
   Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
3
   2004, 2005, 2006, 2007, 2009, 2011 Free Software Foundation, Inc.
4
   Contributed by Embecosm on behalf of Adapteva, Inc.
5
 
6
This file is part of GCC.
7
 
8
GCC is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 3, or (at your option)
11
any later version.
12
 
13
GCC is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
GNU General Public License for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
#include "config.h"
23
#include "system.h"
24
#include "coretypes.h"
25
#include "common/common-target.h"
26
#include "opts.h"
27
#include "flags.h"
28
 
29
#define TARGET_OPTION_OPTIMIZATION_TABLE epiphany_option_optimization_table
30
 
31
#define TARGET_DEFAULT_TARGET_FLAGS \
32
  (MASK_CMOVE | MASK_SOFT_CMPSF | MASK_SPLIT_LOHI | MASK_ROUND_NEAREST \
33
   | MASK_VECT_DOUBLE | MASK_POST_INC | MASK_POST_MODIFY)
34
 
35
#define TARGET_HAVE_NAMED_SECTIONS true
36
 
37
#include "common/common-target-def.h"
38
 
39
/* Implement TARGET_OPTION_OPTIMIZATION_TABLE.  */
40
static const struct default_options epiphany_option_optimization_table[] =
41
  {
42
    { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
43
    { OPT_LEVELS_NONE, 0, NULL, 0 }
44
  };
45
 
46
struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;

powered by: WebSVN 2.1.0

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