xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/common/config/frv/frv-common.c (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1 /* Copyright (C) 1997-2020 Free Software Foundation, Inc.
2 
3 This file is part of GCC.
4 
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
8 any later version.
9 
10 GCC is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with GCC; see the file COPYING3.  If not see
17 <http://www.gnu.org/licenses/>.  */
18 
19 #include "config.h"
20 #include "system.h"
21 #include "coretypes.h"
22 #include "tm.h"
23 #include "common/common-target.h"
24 #include "common/common-target-def.h"
25 #include "opts.h"
26 #include "flags.h"
27 
28 /* Allow us to easily change the default for -malloc-cc.  */
29 #ifndef DEFAULT_NO_ALLOC_CC
30 #define MASK_DEFAULT_ALLOC_CC	MASK_ALLOC_CC
31 #else
32 #define MASK_DEFAULT_ALLOC_CC	0
33 #endif
34 
35 #undef TARGET_DEFAULT_TARGET_FLAGS
36 #define TARGET_DEFAULT_TARGET_FLAGS		\
37   (MASK_DEFAULT_ALLOC_CC			\
38    | MASK_COND_MOVE				\
39    | MASK_SCC					\
40    | MASK_COND_EXEC				\
41    | MASK_VLIW_BRANCH				\
42    | MASK_MULTI_CE				\
43    | MASK_NESTED_CE)
44 
45 struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
46