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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 708 jeremybenn
/* Common hooks for Renesas H8/300.
2
   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3
   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
4
   Free Software Foundation, 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 "tm.h"
26
#include "common/common-target.h"
27
#include "common/common-target-def.h"
28
 
29
/* Implement TARGET_OPTION_OPTIMIZATION_TABLE.  */
30
 
31
static const struct default_options h8300_option_optimization_table[] =
32
  {
33
    /* Basic block reordering is only beneficial on targets with cache
34
       and/or variable-cycle branches where (cycle count taken !=
35
       cycle count not taken).  */
36
    { OPT_LEVELS_ALL, OPT_freorder_blocks, NULL, 0 },
37
    { OPT_LEVELS_NONE, 0, NULL, 0 }
38
  };
39
 
40
#undef TARGET_DEFAULT_TARGET_FLAGS
41
#define TARGET_DEFAULT_TARGET_FLAGS TARGET_DEFAULT
42
 
43
#undef TARGET_OPTION_OPTIMIZATION_TABLE
44
#define TARGET_OPTION_OPTIMIZATION_TABLE h8300_option_optimization_table
45
 
46
#undef TARGET_EXCEPT_UNWIND_INFO
47
#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info
48
 
49
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.