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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 708 jeremybenn
/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007,
2
   2008, 2009, 2010, 2011  Free Software Foundation, Inc.
3
 
4
This file is part of GCC.
5
 
6
GCC is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 3, or (at your option)
9
any later version.
10
 
11
GCC is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
GNU General Public License for more details.
15
 
16
You should have received a copy of the GNU General Public License
17
along with GCC; see the file COPYING3.  If not see
18
<http://www.gnu.org/licenses/>.  */
19
 
20
#include "config.h"
21
#include "system.h"
22
#include "coretypes.h"
23
#include "tm.h"
24
#include "common/common-target.h"
25
#include "common/common-target-def.h"
26
#include "opts.h"
27
#include "flags.h"
28
 
29
/* Allow us to easily change the default for -malloc-cc.  */
30
#ifndef DEFAULT_NO_ALLOC_CC
31
#define MASK_DEFAULT_ALLOC_CC   MASK_ALLOC_CC
32
#else
33
#define MASK_DEFAULT_ALLOC_CC   0
34
#endif
35
 
36
/* Implement TARGET_OPTION_OPTIMIZATION_TABLE.  */
37
static const struct default_options frv_option_optimization_table[] =
38
  {
39
    { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
40
    { OPT_LEVELS_NONE, 0, NULL, 0 }
41
  };
42
 
43
#undef TARGET_DEFAULT_TARGET_FLAGS
44
#define TARGET_DEFAULT_TARGET_FLAGS             \
45
  (MASK_DEFAULT_ALLOC_CC                        \
46
   | MASK_COND_MOVE                             \
47
   | MASK_SCC                                   \
48
   | MASK_COND_EXEC                             \
49
   | MASK_VLIW_BRANCH                           \
50
   | MASK_MULTI_CE                              \
51
   | MASK_NESTED_CE)
52
#undef TARGET_OPTION_OPTIMIZATION_TABLE
53
#define TARGET_OPTION_OPTIMIZATION_TABLE frv_option_optimization_table
54
 
55
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.