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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 708 jeremybenn
/* Common hooks for MMIX.
2
   Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
3
   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
/* TARGET_OPTION_OPTIMIZATION_TABLE.  */
30
 
31
static const struct default_options mmix_option_optimization_table[] =
32
  {
33
    { OPT_LEVELS_1_PLUS, OPT_fregmove, NULL, 1 },
34
    { OPT_LEVELS_2_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
35
    { OPT_LEVELS_NONE, 0, NULL, 0 }
36
  };
37
 
38
#undef TARGET_DEFAULT_TARGET_FLAGS
39
#define TARGET_DEFAULT_TARGET_FLAGS TARGET_DEFAULT
40
 
41
#undef TARGET_OPTION_OPTIMIZATION_TABLE
42
#define TARGET_OPTION_OPTIMIZATION_TABLE mmix_option_optimization_table
43
 
44
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.