OSDN Git Service

feca6c5270c22ca3c47599227f1850cdeafa38c8
[pf3gnuchains/gcc-fork.git] / gcc / target-def.h
1 /* Default initializers for a generic GCC target.
2    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3    Free Software Foundation, Inc.
4
5    This program is free software; you can redistribute it and/or modify it
6    under the terms of the GNU General Public License as published by the
7    Free Software Foundation; either version 3, or (at your option) any
8    later version.
9
10    This program 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 this program; see the file COPYING3.  If not see
17    <http://www.gnu.org/licenses/>.
18
19    In other words, you are welcome to use, share and improve this program.
20    You are forbidden to forbid anyone else to use, share and improve
21    what you give them.   Help stamp out software-hoarding!  */
22
23 /* See target.h for a description of what this file contains and how to
24    use it.
25
26    We want to have non-NULL default definitions of all hook functions,
27    even if they do nothing.  */
28
29 /* Note that if one of these macros must be defined in an OS .h file
30    rather than the .c file, then we need to wrap the default
31    definition in a #ifndef, since files include tm.h before this one.  */
32
33 /* Assembler output.  */
34 #ifndef TARGET_ASM_OPEN_PAREN
35 #define TARGET_ASM_OPEN_PAREN "("
36 #endif
37 #ifndef TARGET_ASM_CLOSE_PAREN
38 #define TARGET_ASM_CLOSE_PAREN ")"
39 #endif
40
41 #define TARGET_ASM_BYTE_OP "\t.byte\t"
42
43 #define TARGET_ASM_ALIGNED_HI_OP "\t.short\t"
44 #define TARGET_ASM_ALIGNED_SI_OP "\t.long\t"
45 #define TARGET_ASM_ALIGNED_DI_OP NULL
46 #define TARGET_ASM_ALIGNED_TI_OP NULL
47
48 /* GAS and SYSV4 assemblers accept these.  */
49 #if defined (OBJECT_FORMAT_ELF)
50 #define TARGET_ASM_UNALIGNED_HI_OP "\t.2byte\t"
51 #define TARGET_ASM_UNALIGNED_SI_OP "\t.4byte\t"
52 #define TARGET_ASM_UNALIGNED_DI_OP "\t.8byte\t"
53 #define TARGET_ASM_UNALIGNED_TI_OP NULL
54 #else
55 #define TARGET_ASM_UNALIGNED_HI_OP NULL
56 #define TARGET_ASM_UNALIGNED_SI_OP NULL
57 #define TARGET_ASM_UNALIGNED_DI_OP NULL
58 #define TARGET_ASM_UNALIGNED_TI_OP NULL
59 #endif /* OBJECT_FORMAT_ELF */
60
61 #define TARGET_ASM_INTEGER default_assemble_integer
62
63 #ifndef TARGET_ASM_GLOBALIZE_LABEL
64 #define TARGET_ASM_GLOBALIZE_LABEL default_globalize_label
65 #endif
66
67 #ifndef TARGET_ASM_GLOBALIZE_DECL_NAME
68 #define TARGET_ASM_GLOBALIZE_DECL_NAME default_globalize_decl_name
69 #endif
70
71 #ifndef TARGET_ASM_EMIT_UNWIND_LABEL
72 #define TARGET_ASM_EMIT_UNWIND_LABEL default_emit_unwind_label
73 #endif
74
75 #ifndef TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL
76 #define TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL default_emit_except_table_label
77 #endif
78
79 #ifndef TARGET_UNWIND_EMIT
80 #define TARGET_UNWIND_EMIT default_unwind_emit
81 #endif
82
83 #ifndef TARGET_ASM_INTERNAL_LABEL
84 #define TARGET_ASM_INTERNAL_LABEL default_internal_label
85 #endif
86
87 #ifndef TARGET_ASM_TTYPE
88 #define TARGET_ASM_TTYPE hook_bool_rtx_false
89 #endif
90
91 #ifndef TARGET_ASM_ASSEMBLE_VISIBILITY
92 #define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility
93 #endif
94
95 #define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue
96 #define TARGET_ASM_FUNCTION_EPILOGUE default_function_pro_epilogue
97 #define TARGET_ASM_FUNCTION_END_PROLOGUE no_asm_to_stream
98 #define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE no_asm_to_stream
99
100 #ifndef TARGET_ASM_RELOC_RW_MASK
101 #define TARGET_ASM_RELOC_RW_MASK default_reloc_rw_mask
102 #endif
103
104 #ifndef TARGET_ASM_SELECT_SECTION
105 #define TARGET_ASM_SELECT_SECTION default_select_section
106 #endif
107
108 #ifndef TARGET_ASM_UNIQUE_SECTION
109 #define TARGET_ASM_UNIQUE_SECTION default_unique_section
110 #endif
111
112 #ifndef TARGET_ASM_FUNCTION_RODATA_SECTION
113 #define TARGET_ASM_FUNCTION_RODATA_SECTION default_function_rodata_section
114 #endif
115
116 #ifndef TARGET_ASM_SELECT_RTX_SECTION
117 #define TARGET_ASM_SELECT_RTX_SECTION default_select_rtx_section
118 #endif
119
120 #if !defined(TARGET_ASM_CONSTRUCTOR) && !defined(USE_COLLECT2)
121 # ifdef CTORS_SECTION_ASM_OP
122 #  define TARGET_ASM_CONSTRUCTOR default_ctor_section_asm_out_constructor
123 # else
124 #  ifdef TARGET_ASM_NAMED_SECTION
125 #   define TARGET_ASM_CONSTRUCTOR default_named_section_asm_out_constructor
126 #  else
127 #   define TARGET_ASM_CONSTRUCTOR default_stabs_asm_out_constructor
128 #  endif
129 # endif
130 #endif
131
132 #if !defined(TARGET_ASM_DESTRUCTOR) && !defined(USE_COLLECT2)
133 # ifdef DTORS_SECTION_ASM_OP
134 #  define TARGET_ASM_DESTRUCTOR default_dtor_section_asm_out_destructor
135 # else
136 #  ifdef TARGET_ASM_NAMED_SECTION
137 #   define TARGET_ASM_DESTRUCTOR default_named_section_asm_out_destructor
138 #  else
139 #   define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor
140 #  endif
141 # endif
142 #endif
143
144 #define TARGET_ASM_OUTPUT_MI_THUNK NULL
145 #define TARGET_ASM_CAN_OUTPUT_MI_THUNK hook_bool_const_tree_hwi_hwi_const_tree_false
146
147 #if !defined(TARGET_HAVE_CTORS_DTORS)
148 # if defined(TARGET_ASM_CONSTRUCTOR) && defined(TARGET_ASM_DESTRUCTOR)
149 # define TARGET_HAVE_CTORS_DTORS true
150 # else
151 # define TARGET_HAVE_CTORS_DTORS false
152 # define TARGET_ASM_CONSTRUCTOR NULL
153 # define TARGET_ASM_DESTRUCTOR NULL
154 # endif
155 #endif
156
157 #ifndef TARGET_HAVE_SWITCHABLE_BSS_SECTIONS
158 #define TARGET_HAVE_SWITCHABLE_BSS_SECTIONS false
159 #endif
160
161 #ifndef TARGET_ASM_INIT_SECTIONS
162 #define TARGET_ASM_INIT_SECTIONS hook_void_void
163 #endif
164
165 #ifdef TARGET_ASM_NAMED_SECTION
166 #define TARGET_HAVE_NAMED_SECTIONS true
167 #else
168 #define TARGET_ASM_NAMED_SECTION default_no_named_section
169 #define TARGET_HAVE_NAMED_SECTIONS false
170 #endif
171
172 #ifndef TARGET_INVALID_WITHIN_DOLOOP
173 #define TARGET_INVALID_WITHIN_DOLOOP default_invalid_within_doloop
174 #endif
175
176 #ifndef TARGET_VALID_DLLIMPORT_ATTRIBUTE_P
177 #define TARGET_VALID_DLLIMPORT_ATTRIBUTE_P hook_bool_const_tree_true
178 #endif
179
180 #ifndef TARGET_HAVE_TLS
181 #define TARGET_HAVE_TLS false
182 #endif
183
184 #ifndef TARGET_HAVE_SRODATA_SECTION
185 #define TARGET_HAVE_SRODATA_SECTION false
186 #endif
187
188 #ifndef TARGET_TERMINATE_DW2_EH_FRAME_INFO
189 #ifdef EH_FRAME_SECTION_NAME
190 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO false
191 #else
192 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO true
193 #endif
194 #endif
195
196 #define TARGET_DWARF_REGISTER_SPAN hook_rtx_rtx_null
197 #define TARGET_INIT_DWARF_REG_SIZES_EXTRA hook_void_tree
198
199 #ifndef TARGET_ASM_FILE_START
200 #define TARGET_ASM_FILE_START default_file_start
201 #endif
202
203 #ifndef TARGET_ASM_FILE_END
204 #define TARGET_ASM_FILE_END hook_void_void
205 #endif
206
207 #ifndef TARGET_ASM_CODE_END
208 #define TARGET_ASM_CODE_END hook_void_void
209 #endif
210
211 #ifndef TARGET_EXTRA_LIVE_ON_ENTRY
212 #define TARGET_EXTRA_LIVE_ON_ENTRY hook_void_bitmap
213 #endif
214
215 #ifndef TARGET_ASM_FILE_START_APP_OFF
216 #define TARGET_ASM_FILE_START_APP_OFF false
217 #endif
218
219 #ifndef TARGET_ASM_FILE_START_FILE_DIRECTIVE
220 #define TARGET_ASM_FILE_START_FILE_DIRECTIVE false
221 #endif
222
223 #ifndef TARGET_ASM_EXTERNAL_LIBCALL
224 #define TARGET_ASM_EXTERNAL_LIBCALL default_external_libcall
225 #endif
226
227 #ifndef TARGET_ASM_MARK_DECL_PRESERVED
228 #define TARGET_ASM_MARK_DECL_PRESERVED hook_void_constcharptr
229 #endif
230
231 #ifndef TARGET_ASM_OUTPUT_ANCHOR
232 #ifdef ASM_OUTPUT_DEF
233 #define TARGET_ASM_OUTPUT_ANCHOR default_asm_output_anchor
234 #else
235 #define TARGET_ASM_OUTPUT_ANCHOR NULL
236 #endif
237 #endif
238
239 #ifndef TARGET_ASM_OUTPUT_DWARF_DTPREL
240 #define TARGET_ASM_OUTPUT_DWARF_DTPREL NULL
241 #endif
242
243 #ifndef TARGET_ASM_FINAL_POSTSCAN_INSN
244 #define TARGET_ASM_FINAL_POSTSCAN_INSN NULL
245 #endif
246
247 #ifndef TARGET_ASM_RECORD_GCC_SWITCHES
248 #define TARGET_ASM_RECORD_GCC_SWITCHES NULL
249 #endif
250 #ifndef TARGET_ASM_RECORD_GCC_SWITCHES_SECTION
251 #define TARGET_ASM_RECORD_GCC_SWITCHES_SECTION ".GCC.command.line"
252 #endif
253
254 #define TARGET_ASM_TRAMPOLINE_TEMPLATE NULL
255
256 #define TARGET_ASM_ALIGNED_INT_OP                               \
257                        {TARGET_ASM_ALIGNED_HI_OP,               \
258                         TARGET_ASM_ALIGNED_SI_OP,               \
259                         TARGET_ASM_ALIGNED_DI_OP,               \
260                         TARGET_ASM_ALIGNED_TI_OP}
261
262 #define TARGET_ASM_UNALIGNED_INT_OP                             \
263                        {TARGET_ASM_UNALIGNED_HI_OP,             \
264                         TARGET_ASM_UNALIGNED_SI_OP,             \
265                         TARGET_ASM_UNALIGNED_DI_OP,             \
266                         TARGET_ASM_UNALIGNED_TI_OP}
267
268 #define TARGET_ASM_OUT {TARGET_ASM_OPEN_PAREN,                  \
269                         TARGET_ASM_CLOSE_PAREN,                 \
270                         TARGET_ASM_BYTE_OP,                     \
271                         TARGET_ASM_ALIGNED_INT_OP,              \
272                         TARGET_ASM_UNALIGNED_INT_OP,            \
273                         TARGET_ASM_INTEGER,                     \
274                         TARGET_ASM_GLOBALIZE_LABEL,             \
275                         TARGET_ASM_GLOBALIZE_DECL_NAME,         \
276                         TARGET_ASM_EMIT_UNWIND_LABEL,           \
277                         TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL,     \
278                         TARGET_UNWIND_EMIT,                     \
279                         TARGET_ASM_INTERNAL_LABEL,              \
280                         TARGET_ASM_TTYPE,                       \
281                         TARGET_ASM_ASSEMBLE_VISIBILITY,         \
282                         TARGET_ASM_FUNCTION_PROLOGUE,           \
283                         TARGET_ASM_FUNCTION_END_PROLOGUE,       \
284                         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE,     \
285                         TARGET_ASM_FUNCTION_EPILOGUE,           \
286                         TARGET_ASM_INIT_SECTIONS,               \
287                         TARGET_ASM_NAMED_SECTION,               \
288                         TARGET_ASM_RELOC_RW_MASK,               \
289                         TARGET_ASM_SELECT_SECTION,              \
290                         TARGET_ASM_SELECT_RTX_SECTION,          \
291                         TARGET_ASM_UNIQUE_SECTION,              \
292                         TARGET_ASM_FUNCTION_RODATA_SECTION,     \
293                         TARGET_ASM_CONSTRUCTOR,                 \
294                         TARGET_ASM_DESTRUCTOR,                  \
295                         TARGET_ASM_OUTPUT_MI_THUNK,             \
296                         TARGET_ASM_CAN_OUTPUT_MI_THUNK,         \
297                         TARGET_ASM_FILE_START,                  \
298                         TARGET_ASM_FILE_END,                    \
299                         TARGET_ASM_CODE_END,                    \
300                         TARGET_ASM_EXTERNAL_LIBCALL,            \
301                         TARGET_ASM_MARK_DECL_PRESERVED,         \
302                         TARGET_ASM_RECORD_GCC_SWITCHES,         \
303                         TARGET_ASM_RECORD_GCC_SWITCHES_SECTION, \
304                         TARGET_ASM_OUTPUT_ANCHOR,               \
305                         TARGET_ASM_OUTPUT_DWARF_DTPREL,         \
306                         TARGET_ASM_FINAL_POSTSCAN_INSN,         \
307                         TARGET_ASM_TRAMPOLINE_TEMPLATE }
308
309 /* Scheduler hooks.  All of these default to null pointers, which
310    haifa-sched.c looks for and handles.  */
311 #define TARGET_SCHED_ADJUST_COST 0
312 #define TARGET_SCHED_ADJUST_PRIORITY 0
313 #define TARGET_SCHED_ISSUE_RATE 0
314 #define TARGET_SCHED_VARIABLE_ISSUE 0
315 #define TARGET_SCHED_INIT 0
316 #define TARGET_SCHED_FINISH 0
317 #define TARGET_SCHED_INIT_GLOBAL 0
318 #define TARGET_SCHED_FINISH_GLOBAL 0
319 #define TARGET_SCHED_REORDER 0
320 #define TARGET_SCHED_REORDER2 0
321 #define TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK 0
322 #define TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN 0
323 #define TARGET_SCHED_DFA_PRE_CYCLE_INSN 0
324 #define TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN 0
325 #define TARGET_SCHED_DFA_POST_CYCLE_INSN 0
326 #define TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE 0
327 #define TARGET_SCHED_DFA_POST_ADVANCE_CYCLE 0
328 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD 0
329 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD 0
330 #define TARGET_SCHED_DFA_NEW_CYCLE 0
331 #define TARGET_SCHED_IS_COSTLY_DEPENDENCE 0
332 #define TARGET_SCHED_ADJUST_COST_2 0
333 #define TARGET_SCHED_H_I_D_EXTENDED 0
334 #define TARGET_SCHED_ALLOC_SCHED_CONTEXT 0
335 #define TARGET_SCHED_INIT_SCHED_CONTEXT 0
336 #define TARGET_SCHED_SET_SCHED_CONTEXT 0
337 #define TARGET_SCHED_CLEAR_SCHED_CONTEXT 0
338 #define TARGET_SCHED_FREE_SCHED_CONTEXT 0
339 #define TARGET_SCHED_SPECULATE_INSN 0
340 #define TARGET_SCHED_NEEDS_BLOCK_P 0
341 #define TARGET_SCHED_GEN_SPEC_CHECK 0
342 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC 0
343 #define TARGET_SCHED_SET_SCHED_FLAGS 0
344 #define TARGET_SCHED_GET_INSN_SPEC_DS 0
345 #define TARGET_SCHED_GET_INSN_CHECKED_DS 0
346 #define TARGET_SCHED_SKIP_RTX_P 0
347 #define TARGET_SCHED_SMS_RES_MII 0
348
349 #define TARGET_SCHED                                            \
350   {TARGET_SCHED_ADJUST_COST,                                    \
351    TARGET_SCHED_ADJUST_PRIORITY,                                \
352    TARGET_SCHED_ISSUE_RATE,                                     \
353    TARGET_SCHED_VARIABLE_ISSUE,                                 \
354    TARGET_SCHED_INIT,                                           \
355    TARGET_SCHED_FINISH,                                         \
356    TARGET_SCHED_INIT_GLOBAL,                                    \
357    TARGET_SCHED_FINISH_GLOBAL,                                  \
358    TARGET_SCHED_REORDER,                                        \
359    TARGET_SCHED_REORDER2,                                       \
360    TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK,                   \
361    TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,                        \
362    TARGET_SCHED_DFA_PRE_CYCLE_INSN,                             \
363    TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,                       \
364    TARGET_SCHED_DFA_POST_CYCLE_INSN,                            \
365    TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE,                          \
366    TARGET_SCHED_DFA_POST_ADVANCE_CYCLE,                         \
367    TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,            \
368    TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,      \
369    TARGET_SCHED_DFA_NEW_CYCLE,                                  \
370    TARGET_SCHED_IS_COSTLY_DEPENDENCE,                           \
371    TARGET_SCHED_ADJUST_COST_2,                                  \
372    TARGET_SCHED_H_I_D_EXTENDED,                                 \
373    TARGET_SCHED_ALLOC_SCHED_CONTEXT,                            \
374    TARGET_SCHED_INIT_SCHED_CONTEXT,                             \
375    TARGET_SCHED_SET_SCHED_CONTEXT,                              \
376    TARGET_SCHED_CLEAR_SCHED_CONTEXT,                            \
377    TARGET_SCHED_FREE_SCHED_CONTEXT,                             \
378    TARGET_SCHED_SPECULATE_INSN,                                 \
379    TARGET_SCHED_NEEDS_BLOCK_P,                                  \
380    TARGET_SCHED_GEN_SPEC_CHECK,                                 \
381    TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC, \
382    TARGET_SCHED_SET_SCHED_FLAGS,                                \
383    TARGET_SCHED_GET_INSN_SPEC_DS,                               \
384    TARGET_SCHED_GET_INSN_CHECKED_DS,                            \
385    TARGET_SCHED_SKIP_RTX_P,                                     \
386    TARGET_SCHED_SMS_RES_MII}
387
388 #define TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD 0
389 #define TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION \
390   default_builtin_vectorized_function
391 #define TARGET_VECTORIZE_BUILTIN_CONVERSION \
392   default_builtin_vectorized_conversion
393 #define TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN 0
394 #define TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD 0
395 #define TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST 0
396 #define TARGET_VECTOR_ALIGNMENT_REACHABLE \
397   default_builtin_vector_alignment_reachable
398 #define TARGET_VECTORIZE_BUILTIN_VEC_PERM 0
399 #define TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK \
400   hook_bool_tree_tree_true
401 #define TARGET_SUPPORT_VECTOR_MISALIGNMENT \
402   default_builtin_support_vector_misalignment
403
404
405 #define TARGET_VECTORIZE                                                \
406   {                                                                     \
407     TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD,                             \
408     TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION,                       \
409     TARGET_VECTORIZE_BUILTIN_CONVERSION,                                \
410     TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN,                            \
411     TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD,                             \
412     TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST,                        \
413     TARGET_VECTOR_ALIGNMENT_REACHABLE,                                  \
414     TARGET_VECTORIZE_BUILTIN_VEC_PERM,                                  \
415     TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK,                               \
416     TARGET_SUPPORT_VECTOR_MISALIGNMENT                                  \
417   }
418
419 #define TARGET_DEFAULT_TARGET_FLAGS 0
420
421 #define TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE hook_void_void
422
423 #define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true
424 #define TARGET_HELP NULL
425
426 /* In except.c */
427 #define TARGET_EH_RETURN_FILTER_MODE  default_eh_return_filter_mode
428
429 /* In libgcc2.c */
430 #define TARGET_LIBGCC_CMP_RETURN_MODE  default_libgcc_cmp_return_mode
431 #define TARGET_LIBGCC_SHIFT_COUNT_MODE default_libgcc_shift_count_mode
432
433 /* In unwind-generic.h.  */
434 #define TARGET_UNWIND_WORD_MODE default_unwind_word_mode
435
436 /* In tree.c.  */
437 #define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
438 #define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
439 #define TARGET_ATTRIBUTE_TABLE NULL
440
441 /* In cse.c.  */
442 #define TARGET_ADDRESS_COST default_address_cost
443 #define TARGET_CONST_ANCHOR 0
444
445 /* In builtins.c.  */
446 #define TARGET_INIT_BUILTINS hook_void_void
447 #define TARGET_EXPAND_BUILTIN default_expand_builtin
448 #define TARGET_RESOLVE_OVERLOADED_BUILTIN NULL
449 #define TARGET_FOLD_BUILTIN hook_tree_tree_tree_bool_null
450 #define TARGET_BUILTIN_DECL NULL
451
452 /* In tree-ssa-math-opts.c  */
453 #define TARGET_BUILTIN_RECIPROCAL default_builtin_reciprocal
454
455 /* In varasm.c.  */
456 #ifndef TARGET_SECTION_TYPE_FLAGS
457 #define TARGET_SECTION_TYPE_FLAGS default_section_type_flags
458 #endif
459
460 #ifndef TARGET_STRIP_NAME_ENCODING
461 #define TARGET_STRIP_NAME_ENCODING default_strip_name_encoding
462 #endif
463
464 #ifndef TARGET_BINDS_LOCAL_P
465 #define TARGET_BINDS_LOCAL_P default_binds_local_p
466 #endif
467
468 #ifndef TARGET_SHIFT_TRUNCATION_MASK
469 #define TARGET_SHIFT_TRUNCATION_MASK default_shift_truncation_mask
470 #endif
471
472 #ifndef TARGET_MIN_DIVISIONS_FOR_RECIP_MUL
473 #define TARGET_MIN_DIVISIONS_FOR_RECIP_MUL default_min_divisions_for_recip_mul
474 #endif
475
476 #ifndef TARGET_MODE_REP_EXTENDED
477 #define TARGET_MODE_REP_EXTENDED default_mode_rep_extended
478 #endif
479
480 #ifndef TARGET_VALID_POINTER_MODE
481 #define TARGET_VALID_POINTER_MODE default_valid_pointer_mode
482 #endif
483
484 #ifndef TARGET_ADDR_SPACE_POINTER_MODE
485 #define TARGET_ADDR_SPACE_POINTER_MODE default_addr_space_pointer_mode
486 #endif
487
488 #ifndef TARGET_ADDR_SPACE_ADDRESS_MODE
489 #define TARGET_ADDR_SPACE_ADDRESS_MODE default_addr_space_address_mode
490 #endif
491
492 #ifndef TARGET_ADDR_SPACE_VALID_POINTER_MODE
493 #define TARGET_ADDR_SPACE_VALID_POINTER_MODE \
494         default_addr_space_valid_pointer_mode
495 #endif
496
497 #ifndef TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P
498 #define TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P \
499   default_addr_space_legitimate_address_p
500 #endif
501
502 #ifndef TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS
503 #define TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS \
504   default_addr_space_legitimize_address
505 #endif
506
507 #ifndef TARGET_ADDR_SPACE_SUBSET_P
508 #define TARGET_ADDR_SPACE_SUBSET_P default_addr_space_subset_p
509 #endif
510
511 #ifndef TARGET_ADDR_SPACE_CONVERT
512 #define TARGET_ADDR_SPACE_CONVERT default_addr_space_convert
513 #endif
514
515 #define TARGET_ADDR_SPACE_HOOKS                 \
516   {                                             \
517     TARGET_ADDR_SPACE_POINTER_MODE,             \
518     TARGET_ADDR_SPACE_ADDRESS_MODE,             \
519     TARGET_ADDR_SPACE_VALID_POINTER_MODE,       \
520     TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P,     \
521     TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS,       \
522     TARGET_ADDR_SPACE_SUBSET_P,                 \
523     TARGET_ADDR_SPACE_CONVERT,                  \
524   }
525
526 #ifndef TARGET_SCALAR_MODE_SUPPORTED_P
527 #define TARGET_SCALAR_MODE_SUPPORTED_P default_scalar_mode_supported_p
528 #endif
529
530 #ifndef TARGET_DECIMAL_FLOAT_SUPPORTED_P
531 #define TARGET_DECIMAL_FLOAT_SUPPORTED_P default_decimal_float_supported_p
532 #endif
533
534 #ifndef TARGET_FIXED_POINT_SUPPORTED_P
535 #define TARGET_FIXED_POINT_SUPPORTED_P default_fixed_point_supported_p
536 #endif
537
538 #ifndef TARGET_VECTOR_MODE_SUPPORTED_P
539 #define TARGET_VECTOR_MODE_SUPPORTED_P hook_bool_mode_false
540 #endif
541
542 /* In hooks.c.  */
543 #define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false
544 #define TARGET_BRANCH_TARGET_REGISTER_CLASS \
545   default_branch_target_register_class
546 #define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false
547 #define TARGET_HAVE_CONDITIONAL_EXECUTION default_have_conditional_execution
548 #define TARGET_LOOP_UNROLL_ADJUST NULL
549 #define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false
550 #define TARGET_CANNOT_COPY_INSN_P NULL
551 #define TARGET_COMMUTATIVE_P hook_bool_const_rtx_commutative_p
552 #define TARGET_LEGITIMIZE_ADDRESS default_legitimize_address
553 #define TARGET_DELEGITIMIZE_ADDRESS delegitimize_mem_from_attrs
554 #define TARGET_LEGITIMATE_ADDRESS_P default_legitimate_address_p
555 #define TARGET_USE_BLOCKS_FOR_CONSTANT_P hook_bool_mode_const_rtx_false
556 #define TARGET_MIN_ANCHOR_OFFSET 0
557 #define TARGET_MAX_ANCHOR_OFFSET 0
558 #define TARGET_USE_ANCHORS_FOR_SYMBOL_P default_use_anchors_for_symbol_p
559 #define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false
560 #define TARGET_COMP_TYPE_ATTRIBUTES hook_int_const_tree_const_tree_1
561 #ifndef TARGET_SET_DEFAULT_TYPE_ATTRIBUTES
562 #define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES hook_void_tree
563 #endif
564 #define TARGET_INSERT_ATTRIBUTES hook_void_tree_treeptr
565 #define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_const_tree_false
566 #define TARGET_MS_BITFIELD_LAYOUT_P hook_bool_const_tree_false
567 #define TARGET_ALIGN_ANON_BITFIELD hook_bool_void_false
568 #define TARGET_NARROW_VOLATILE_BITFIELD hook_bool_void_false
569 #define TARGET_RTX_COSTS hook_bool_rtx_int_int_intp_bool_false
570 #define TARGET_MANGLE_TYPE hook_constcharptr_const_tree_null
571 #define TARGET_ALLOCATE_INITIAL_VALUE NULL
572
573 #define TARGET_UNSPEC_MAY_TRAP_P default_unspec_may_trap_p
574
575 #ifndef TARGET_SET_CURRENT_FUNCTION
576 #define TARGET_SET_CURRENT_FUNCTION hook_void_tree
577 #endif
578
579 #ifndef TARGET_INIT_LIBFUNCS
580 #define TARGET_INIT_LIBFUNCS hook_void_void
581 #endif
582
583 #ifndef TARGET_IN_SMALL_DATA_P
584 #define TARGET_IN_SMALL_DATA_P hook_bool_const_tree_false
585 #endif
586
587 #ifndef TARGET_MANGLE_DECL_ASSEMBLER_NAME
588 #define TARGET_MANGLE_DECL_ASSEMBLER_NAME default_mangle_decl_assembler_name
589 #endif
590
591 #ifndef TARGET_ENCODE_SECTION_INFO
592 #define TARGET_ENCODE_SECTION_INFO default_encode_section_info
593 #endif
594
595 #ifndef TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN
596 #define TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN hook_invalid_arg_for_unprototyped_fn
597 #endif
598
599 #define TARGET_INVALID_CONVERSION hook_constcharptr_const_tree_const_tree_null
600 #define TARGET_INVALID_UNARY_OP hook_constcharptr_int_const_tree_null
601 #define TARGET_INVALID_BINARY_OP hook_constcharptr_int_const_tree_const_tree_null
602 #define TARGET_INVALID_PARAMETER_TYPE hook_constcharptr_const_tree_null
603 #define TARGET_INVALID_RETURN_TYPE hook_constcharptr_const_tree_null
604 #define TARGET_PROMOTED_TYPE hook_tree_const_tree_null
605 #define TARGET_CONVERT_TO_TYPE hook_tree_tree_tree_null
606
607 #define TARGET_FIXED_CONDITION_CODE_REGS hook_bool_uintp_uintp_false
608
609 #define TARGET_CC_MODES_COMPATIBLE default_cc_modes_compatible
610
611 #define TARGET_MACHINE_DEPENDENT_REORG 0
612
613 #define TARGET_BUILD_BUILTIN_VA_LIST std_build_builtin_va_list
614 #define TARGET_FN_ABI_VA_LIST std_fn_abi_va_list
615 #define TARGET_CANONICAL_VA_LIST_TYPE std_canonical_va_list_type
616 #define TARGET_EXPAND_BUILTIN_VA_START 0
617
618 #define TARGET_GET_PCH_VALIDITY default_get_pch_validity
619 #define TARGET_PCH_VALID_P default_pch_valid_p
620 #define TARGET_CHECK_PCH_TARGET_FLAGS NULL
621
622 #define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false
623
624 #define TARGET_BUILTIN_SETJMP_FRAME_VALUE default_builtin_setjmp_frame_value
625
626 #define TARGET_MD_ASM_CLOBBERS hook_tree_tree_tree_tree_3rd_identity
627
628 #define TARGET_DWARF_CALLING_CONVENTION hook_int_const_tree_0
629
630 #define TARGET_DWARF_HANDLE_FRAME_UNSPEC 0
631
632 #define TARGET_STDARG_OPTIMIZE_HOOK 0
633
634 #define TARGET_STACK_PROTECT_GUARD  default_stack_protect_guard
635 #define TARGET_STACK_PROTECT_FAIL   default_external_stack_protect_fail
636
637 #define TARGET_ARM_EABI_UNWINDER false
638
639 #define TARGET_PROMOTE_FUNCTION_MODE default_promote_function_mode
640 #define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_false
641
642 #define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
643 #define TARGET_RETURN_IN_MEMORY default_return_in_memory
644 #define TARGET_RETURN_IN_MSB hook_bool_const_tree_false
645
646 #define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs
647 #define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs
648 #define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_false
649 #define TARGET_PRETEND_OUTGOING_VARARGS_NAMED \
650   default_pretend_outgoing_varargs_named
651 #define TARGET_SPLIT_COMPLEX_ARG NULL
652
653 #define TARGET_GIMPLIFY_VA_ARG_EXPR std_gimplify_va_arg_expr
654 #define TARGET_PASS_BY_REFERENCE hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
655
656 #define TARGET_RELAXED_ORDERING false
657
658 #define TARGET_MUST_PASS_IN_STACK must_pass_in_stack_var_size_or_pad
659 #define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
660 #define TARGET_ARG_PARTIAL_BYTES hook_int_CUMULATIVE_ARGS_mode_tree_bool_0
661
662 #define TARGET_FUNCTION_VALUE default_function_value
663 #define TARGET_LIBCALL_VALUE default_libcall_value
664 #define TARGET_FUNCTION_VALUE_REGNO_P default_function_value_regno_p
665 #define TARGET_INTERNAL_ARG_POINTER default_internal_arg_pointer
666 #define TARGET_UPDATE_STACK_BOUNDARY NULL
667 #define TARGET_GET_DRAP_RTX NULL
668 #define TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS hook_bool_void_true
669 #define TARGET_STATIC_CHAIN default_static_chain
670 #define TARGET_TRAMPOLINE_INIT default_trampoline_init
671 #define TARGET_TRAMPOLINE_ADJUST_ADDRESS NULL
672
673 #define TARGET_CALLS {                                          \
674    TARGET_PROMOTE_FUNCTION_MODE,                                \
675    TARGET_PROMOTE_PROTOTYPES,                                   \
676    TARGET_STRUCT_VALUE_RTX,                                     \
677    TARGET_RETURN_IN_MEMORY,                                     \
678    TARGET_RETURN_IN_MSB,                                        \
679    TARGET_PASS_BY_REFERENCE,                                    \
680    TARGET_EXPAND_BUILTIN_SAVEREGS,                              \
681    TARGET_SETUP_INCOMING_VARARGS,                               \
682    TARGET_STRICT_ARGUMENT_NAMING,                               \
683    TARGET_PRETEND_OUTGOING_VARARGS_NAMED,                       \
684    TARGET_SPLIT_COMPLEX_ARG,                                    \
685    TARGET_MUST_PASS_IN_STACK,                                   \
686    TARGET_CALLEE_COPIES,                                        \
687    TARGET_ARG_PARTIAL_BYTES,                                    \
688    TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN,                      \
689    TARGET_FUNCTION_VALUE,                                       \
690    TARGET_LIBCALL_VALUE,                                        \
691    TARGET_FUNCTION_VALUE_REGNO_P,                               \
692    TARGET_INTERNAL_ARG_POINTER,                                 \
693    TARGET_UPDATE_STACK_BOUNDARY,                                \
694    TARGET_GET_DRAP_RTX,                                         \
695    TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS,                        \
696    TARGET_STATIC_CHAIN,                                         \
697    TARGET_TRAMPOLINE_INIT,                                      \
698    TARGET_TRAMPOLINE_ADJUST_ADDRESS                             \
699    }
700
701 #ifndef TARGET_UNWIND_TABLES_DEFAULT
702 #define TARGET_UNWIND_TABLES_DEFAULT false
703 #endif
704
705 #ifndef TARGET_HANDLE_PRAGMA_EXTERN_PREFIX
706 #define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 0
707 #endif
708
709 #ifdef IRA_COVER_CLASSES
710 #define TARGET_IRA_COVER_CLASSES default_ira_cover_classes
711 #else
712 #define TARGET_IRA_COVER_CLASSES 0
713 #endif
714
715 #ifndef TARGET_SECONDARY_RELOAD
716 #define TARGET_SECONDARY_RELOAD default_secondary_reload
717 #endif
718
719 #ifndef TARGET_EXPAND_TO_RTL_HOOK
720 #define TARGET_EXPAND_TO_RTL_HOOK hook_void_void
721 #endif
722
723 #ifndef TARGET_INSTANTIATE_DECLS
724 #define TARGET_INSTANTIATE_DECLS hook_void_void
725 #endif
726
727 #ifndef TARGET_HARD_REGNO_SCRATCH_OK
728 #define TARGET_HARD_REGNO_SCRATCH_OK default_hard_regno_scratch_ok
729 #endif
730
731 #ifndef TARGET_CASE_VALUES_THRESHOLD
732 #define TARGET_CASE_VALUES_THRESHOLD default_case_values_threshold
733 #endif
734
735 #ifndef TARGET_FRAME_POINTER_REQUIRED
736 #define TARGET_FRAME_POINTER_REQUIRED hook_bool_void_false
737 #endif
738
739 #ifndef TARGET_CAN_ELIMINATE
740 #define TARGET_CAN_ELIMINATE hook_bool_const_int_const_int_true
741 #endif
742
743 /* C specific.  */
744 #ifndef TARGET_C_MODE_FOR_SUFFIX
745 #define TARGET_C_MODE_FOR_SUFFIX default_mode_for_suffix
746 #endif
747
748 #define TARGET_C                                \
749   {                                             \
750     TARGET_C_MODE_FOR_SUFFIX                    \
751   }
752
753 /* C++ specific.  */
754 #ifndef TARGET_CXX_GUARD_TYPE
755 #define TARGET_CXX_GUARD_TYPE default_cxx_guard_type
756 #endif
757
758 #ifndef TARGET_CXX_GUARD_MASK_BIT
759 #define TARGET_CXX_GUARD_MASK_BIT hook_bool_void_false
760 #endif
761
762 #ifndef TARGET_CXX_GET_COOKIE_SIZE
763 #define TARGET_CXX_GET_COOKIE_SIZE default_cxx_get_cookie_size
764 #endif
765
766 #ifndef TARGET_CXX_COOKIE_HAS_SIZE
767 #define TARGET_CXX_COOKIE_HAS_SIZE hook_bool_void_false
768 #endif
769
770 #ifndef TARGET_CXX_IMPORT_EXPORT_CLASS
771 #define TARGET_CXX_IMPORT_EXPORT_CLASS NULL
772 #endif
773
774 #ifndef TARGET_CXX_CDTOR_RETURNS_THIS
775 #define TARGET_CXX_CDTOR_RETURNS_THIS hook_bool_void_false
776 #endif
777
778 #ifndef TARGET_CXX_KEY_METHOD_MAY_BE_INLINE
779 #define TARGET_CXX_KEY_METHOD_MAY_BE_INLINE hook_bool_void_true
780 #endif
781
782 #ifndef TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY
783 #define TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY hook_void_tree
784 #endif
785
786 #ifndef TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT
787 #define TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT hook_bool_void_true
788 #endif
789
790 #ifndef TARGET_CXX_LIBRARY_RTTI_COMDAT
791 #define TARGET_CXX_LIBRARY_RTTI_COMDAT hook_bool_void_true
792 #endif
793
794 #ifndef TARGET_CXX_USE_AEABI_ATEXIT
795 #define TARGET_CXX_USE_AEABI_ATEXIT hook_bool_void_false
796 #endif
797
798 #ifndef TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT
799 #define TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT hook_bool_void_false
800 #endif
801
802 #ifndef TARGET_CXX_ADJUST_CLASS_AT_DEFINITION
803 #define TARGET_CXX_ADJUST_CLASS_AT_DEFINITION hook_void_tree
804 #endif
805
806 #define TARGET_CXX                              \
807   {                                             \
808     TARGET_CXX_GUARD_TYPE,                      \
809     TARGET_CXX_GUARD_MASK_BIT,                  \
810     TARGET_CXX_GET_COOKIE_SIZE,                 \
811     TARGET_CXX_COOKIE_HAS_SIZE,                 \
812     TARGET_CXX_IMPORT_EXPORT_CLASS,             \
813     TARGET_CXX_CDTOR_RETURNS_THIS,              \
814     TARGET_CXX_KEY_METHOD_MAY_BE_INLINE,        \
815     TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY, \
816     TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT,        \
817     TARGET_CXX_LIBRARY_RTTI_COMDAT,             \
818     TARGET_CXX_USE_AEABI_ATEXIT,                \
819     TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT,       \
820     TARGET_CXX_ADJUST_CLASS_AT_DEFINITION       \
821   }
822
823 /* EMUTLS specific */
824 #ifndef TARGET_EMUTLS_GET_ADDRESS
825 #define TARGET_EMUTLS_GET_ADDRESS "__builtin___emutls_get_address"
826 #endif
827
828 #ifndef TARGET_EMUTLS_REGISTER_COMMON
829 #define TARGET_EMUTLS_REGISTER_COMMON "__builtin___emutls_register_common"
830 #endif
831
832 #ifndef TARGET_EMUTLS_VAR_SECTION
833 #define TARGET_EMUTLS_VAR_SECTION NULL
834 #endif
835
836 #ifndef TARGET_EMUTLS_TMPL_SECTION
837 #define TARGET_EMUTLS_TMPL_SECTION NULL
838 #endif
839
840 #ifndef TARGET_EMUTLS_VAR_PREFIX
841 #define TARGET_EMUTLS_VAR_PREFIX NULL
842 #endif
843
844 #ifndef TARGET_EMUTLS_TMPL_PREFIX
845 #define TARGET_EMUTLS_TMPL_PREFIX NULL
846 #endif
847
848 #ifndef TARGET_EMUTLS_VAR_FIELDS
849 #define TARGET_EMUTLS_VAR_FIELDS default_emutls_var_fields
850 #endif
851
852 #ifndef TARGET_EMUTLS_VAR_INIT
853 #define TARGET_EMUTLS_VAR_INIT default_emutls_var_init
854 #endif
855
856 #ifndef TARGET_EMUTLS_VAR_ALIGN_FIXED
857 #define TARGET_EMUTLS_VAR_ALIGN_FIXED false
858 #endif
859
860 #ifndef TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS
861 #define TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS false
862 #endif
863
864 #define TARGET_EMUTLS                           \
865   {                                             \
866     TARGET_EMUTLS_GET_ADDRESS,                  \
867     TARGET_EMUTLS_REGISTER_COMMON,              \
868     TARGET_EMUTLS_VAR_SECTION,                  \
869     TARGET_EMUTLS_TMPL_SECTION,                 \
870     TARGET_EMUTLS_VAR_PREFIX,                   \
871     TARGET_EMUTLS_TMPL_PREFIX,                  \
872     TARGET_EMUTLS_VAR_FIELDS,                   \
873     TARGET_EMUTLS_VAR_INIT,                     \
874     TARGET_EMUTLS_VAR_ALIGN_FIXED,              \
875     TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS        \
876   }
877
878 /* Function specific option attribute support.  */
879 #ifndef TARGET_OPTION_VALID_ATTRIBUTE_P
880 #define TARGET_OPTION_VALID_ATTRIBUTE_P \
881   default_target_option_valid_attribute_p
882 #endif
883
884 #ifndef TARGET_OPTION_SAVE
885 #define TARGET_OPTION_SAVE NULL
886 #endif
887
888 #ifndef TARGET_OPTION_RESTORE
889 #define TARGET_OPTION_RESTORE NULL
890 #endif
891
892 #ifndef TARGET_OPTION_PRINT
893 #define TARGET_OPTION_PRINT NULL
894 #endif
895
896 #ifndef TARGET_OPTION_PRAGMA_PARSE
897 #define TARGET_OPTION_PRAGMA_PARSE default_target_option_pragma_parse
898 #endif
899
900 #ifndef TARGET_CAN_INLINE_P
901 #define TARGET_CAN_INLINE_P default_target_can_inline_p
902 #endif
903
904 #define TARGET_OPTION_HOOKS                     \
905   {                                             \
906     TARGET_OPTION_VALID_ATTRIBUTE_P,            \
907     TARGET_OPTION_SAVE,                         \
908     TARGET_OPTION_RESTORE,                      \
909     TARGET_OPTION_PRINT,                        \
910     TARGET_OPTION_PRAGMA_PARSE,                 \
911     TARGET_CAN_INLINE_P,                        \
912   }
913
914 /* The whole shebang.  */
915 #define TARGET_INITIALIZER                      \
916 {                                               \
917   TARGET_ASM_OUT,                               \
918   TARGET_SCHED,                                 \
919   TARGET_VECTORIZE,                             \
920   TARGET_DEFAULT_TARGET_FLAGS,                  \
921   TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE,         \
922   TARGET_HANDLE_OPTION,                         \
923   TARGET_HELP,                                  \
924   TARGET_EH_RETURN_FILTER_MODE,                 \
925   TARGET_LIBGCC_CMP_RETURN_MODE,                \
926   TARGET_LIBGCC_SHIFT_COUNT_MODE,               \
927   TARGET_UNWIND_WORD_MODE,                      \
928   TARGET_MERGE_DECL_ATTRIBUTES,                 \
929   TARGET_MERGE_TYPE_ATTRIBUTES,                 \
930   TARGET_ATTRIBUTE_TABLE,                       \
931   TARGET_COMP_TYPE_ATTRIBUTES,                  \
932   TARGET_SET_DEFAULT_TYPE_ATTRIBUTES,           \
933   TARGET_INSERT_ATTRIBUTES,                     \
934   TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P,        \
935   TARGET_MS_BITFIELD_LAYOUT_P,                  \
936   TARGET_DECIMAL_FLOAT_SUPPORTED_P,             \
937   TARGET_FIXED_POINT_SUPPORTED_P,               \
938   TARGET_ALIGN_ANON_BITFIELD,                   \
939   TARGET_NARROW_VOLATILE_BITFIELD,              \
940   TARGET_INIT_BUILTINS,                         \
941   TARGET_BUILTIN_DECL,                          \
942   TARGET_EXPAND_BUILTIN,                        \
943   TARGET_RESOLVE_OVERLOADED_BUILTIN,            \
944   TARGET_FOLD_BUILTIN,                          \
945   TARGET_BUILTIN_RECIPROCAL,                    \
946   TARGET_MANGLE_TYPE,                           \
947   TARGET_INIT_LIBFUNCS,                         \
948   TARGET_SECTION_TYPE_FLAGS,                    \
949   TARGET_CANNOT_MODIFY_JUMPS_P,                 \
950   TARGET_BRANCH_TARGET_REGISTER_CLASS,          \
951   TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED,   \
952   TARGET_HAVE_CONDITIONAL_EXECUTION,            \
953   TARGET_LOOP_UNROLL_ADJUST,                    \
954   TARGET_CANNOT_FORCE_CONST_MEM,                \
955   TARGET_CANNOT_COPY_INSN_P,                    \
956   TARGET_COMMUTATIVE_P,                         \
957   TARGET_LEGITIMIZE_ADDRESS,                    \
958   TARGET_DELEGITIMIZE_ADDRESS,                  \
959   TARGET_LEGITIMATE_ADDRESS_P,                  \
960   TARGET_USE_BLOCKS_FOR_CONSTANT_P,             \
961   TARGET_MIN_ANCHOR_OFFSET,                     \
962   TARGET_MAX_ANCHOR_OFFSET,                     \
963   TARGET_USE_ANCHORS_FOR_SYMBOL_P,              \
964   TARGET_FUNCTION_OK_FOR_SIBCALL,               \
965   TARGET_SET_CURRENT_FUNCTION,                  \
966   TARGET_IN_SMALL_DATA_P,                       \
967   TARGET_BINDS_LOCAL_P,                         \
968   TARGET_MANGLE_DECL_ASSEMBLER_NAME,            \
969   TARGET_ENCODE_SECTION_INFO,                   \
970   TARGET_STRIP_NAME_ENCODING,                   \
971   TARGET_SHIFT_TRUNCATION_MASK,                 \
972   TARGET_MIN_DIVISIONS_FOR_RECIP_MUL,           \
973   TARGET_MODE_REP_EXTENDED,                     \
974   TARGET_VALID_POINTER_MODE,                    \
975   TARGET_ADDR_SPACE_HOOKS,                      \
976   TARGET_SCALAR_MODE_SUPPORTED_P,               \
977   TARGET_VECTOR_MODE_SUPPORTED_P,               \
978   TARGET_RTX_COSTS,                             \
979   TARGET_ADDRESS_COST,                          \
980   TARGET_ALLOCATE_INITIAL_VALUE,                \
981   TARGET_UNSPEC_MAY_TRAP_P,                     \
982   TARGET_DWARF_REGISTER_SPAN,                   \
983   TARGET_INIT_DWARF_REG_SIZES_EXTRA,            \
984   TARGET_FIXED_CONDITION_CODE_REGS,             \
985   TARGET_CC_MODES_COMPATIBLE,                   \
986   TARGET_MACHINE_DEPENDENT_REORG,               \
987   TARGET_BUILD_BUILTIN_VA_LIST,                 \
988   TARGET_FN_ABI_VA_LIST,                        \
989   TARGET_CANONICAL_VA_LIST_TYPE,                        \
990   TARGET_EXPAND_BUILTIN_VA_START,               \
991   TARGET_GIMPLIFY_VA_ARG_EXPR,                  \
992   TARGET_GET_PCH_VALIDITY,                      \
993   TARGET_PCH_VALID_P,                           \
994   TARGET_CHECK_PCH_TARGET_FLAGS,                \
995   TARGET_DEFAULT_SHORT_ENUMS,                   \
996   TARGET_BUILTIN_SETJMP_FRAME_VALUE,            \
997   TARGET_MD_ASM_CLOBBERS,                       \
998   TARGET_DWARF_CALLING_CONVENTION,              \
999   TARGET_DWARF_HANDLE_FRAME_UNSPEC,             \
1000   TARGET_STDARG_OPTIMIZE_HOOK,                  \
1001   TARGET_STACK_PROTECT_GUARD,                   \
1002   TARGET_STACK_PROTECT_FAIL,                    \
1003   TARGET_INVALID_WITHIN_DOLOOP,                 \
1004   TARGET_VALID_DLLIMPORT_ATTRIBUTE_P,           \
1005   TARGET_CONST_ANCHOR,                          \
1006   TARGET_CALLS,                                 \
1007   TARGET_INVALID_CONVERSION,                    \
1008   TARGET_INVALID_UNARY_OP,                      \
1009   TARGET_INVALID_BINARY_OP,                     \
1010   TARGET_INVALID_PARAMETER_TYPE,                \
1011   TARGET_INVALID_RETURN_TYPE,                   \
1012   TARGET_PROMOTED_TYPE,                         \
1013   TARGET_CONVERT_TO_TYPE,                       \
1014   TARGET_IRA_COVER_CLASSES,                     \
1015   TARGET_SECONDARY_RELOAD,                      \
1016   TARGET_EXPAND_TO_RTL_HOOK,                    \
1017   TARGET_INSTANTIATE_DECLS,                     \
1018   TARGET_HARD_REGNO_SCRATCH_OK,                 \
1019   TARGET_CASE_VALUES_THRESHOLD,                 \
1020   TARGET_FRAME_POINTER_REQUIRED,                \
1021   TARGET_CAN_ELIMINATE,                         \
1022   TARGET_C,                                     \
1023   TARGET_CXX,                                   \
1024   TARGET_EMUTLS,                                \
1025   TARGET_OPTION_HOOKS,                          \
1026   TARGET_EXTRA_LIVE_ON_ENTRY,                   \
1027   TARGET_UNWIND_TABLES_DEFAULT,                 \
1028   TARGET_HAVE_NAMED_SECTIONS,                   \
1029   TARGET_HAVE_SWITCHABLE_BSS_SECTIONS,          \
1030   TARGET_HAVE_CTORS_DTORS,                      \
1031   TARGET_HAVE_TLS,                              \
1032   TARGET_HAVE_SRODATA_SECTION,                  \
1033   TARGET_TERMINATE_DW2_EH_FRAME_INFO,           \
1034   TARGET_ASM_FILE_START_APP_OFF,                \
1035   TARGET_ASM_FILE_START_FILE_DIRECTIVE,         \
1036   TARGET_HANDLE_PRAGMA_EXTERN_PREFIX,           \
1037   TARGET_RELAXED_ORDERING,                      \
1038   TARGET_ARM_EABI_UNWINDER                      \
1039 }
1040
1041 #define TARGET_HANDLE_C_OPTION default_handle_c_option
1042 #define TARGETCM_INITIALIZER { TARGET_HANDLE_C_OPTION }
1043
1044 #include "hooks.h"
1045 #include "targhooks.h"