diff options
author | kan <kan@FreeBSD.org> | 2004-07-28 03:11:36 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-28 03:11:36 +0000 |
commit | 5e00ec74d8ce58f99801200d4d3d0412c7cc1b28 (patch) | |
tree | 052f4bb635f2bea2c5e350bd60c902be100a0d1e /contrib/gcc/target-def.h | |
parent | 87b8398a7d9f9bf0e28bbcd54a4fc27db2125f38 (diff) | |
download | FreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.zip FreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.tar.gz |
Gcc 3.4.2 20040728.
Diffstat (limited to 'contrib/gcc/target-def.h')
-rw-r--r-- | contrib/gcc/target-def.h | 137 |
1 files changed, 128 insertions, 9 deletions
diff --git a/contrib/gcc/target-def.h b/contrib/gcc/target-def.h index 154d58d..f21025a 100644 --- a/contrib/gcc/target-def.h +++ b/contrib/gcc/target-def.h @@ -1,5 +1,5 @@ /* Default initializers for a generic GCC target. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -40,7 +40,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_ASM_ALIGNED_TI_OP NULL /* GAS and SYSV4 assemblers accept these. */ -#if defined (OBJECT_FORMAT_ELF) || defined (OBJECT_FORMAT_ROSE) +#if defined (OBJECT_FORMAT_ELF) #define TARGET_ASM_UNALIGNED_HI_OP "\t.2byte\t" #define TARGET_ASM_UNALIGNED_SI_OP "\t.4byte\t" #define TARGET_ASM_UNALIGNED_DI_OP "\t.8byte\t" @@ -50,13 +50,16 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_ASM_UNALIGNED_SI_OP NULL #define TARGET_ASM_UNALIGNED_DI_OP NULL #define TARGET_ASM_UNALIGNED_TI_OP NULL -#endif /* OBJECT_FORMAT_ELF || OBJECT_FORMAT_ROSE */ +#endif /* OBJECT_FORMAT_ELF */ #define TARGET_ASM_INTEGER default_assemble_integer #ifndef TARGET_ASM_GLOBALIZE_LABEL #define TARGET_ASM_GLOBALIZE_LABEL default_globalize_label #endif +#ifndef TARGET_ASM_INTERNAL_LABEL +#define TARGET_ASM_INTERNAL_LABEL default_internal_label +#endif #ifndef TARGET_ASM_ASSEMBLE_VISIBILITY #define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility @@ -137,6 +140,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #endif #endif +#define TARGET_DWARF_REGISTER_SPAN hook_rtx_rtx_null + #ifndef TARGET_ASM_EXCEPTION_SECTION #define TARGET_ASM_EXCEPTION_SECTION default_exception_section #endif @@ -145,6 +150,26 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_ASM_EH_FRAME_SECTION default_eh_frame_section #endif +#ifndef TARGET_ASM_FILE_START +#define TARGET_ASM_FILE_START default_file_start +#endif + +#ifndef TARGET_ASM_FILE_END +#define TARGET_ASM_FILE_END hook_void_void +#endif + +#ifndef TARGET_ASM_FILE_START_APP_OFF +#define TARGET_ASM_FILE_START_APP_OFF false +#endif + +#ifndef TARGET_ASM_FILE_START_FILE_DIRECTIVE +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE false +#endif + +#ifndef TARGET_ASM_EXTERNAL_LIBCALL +#define TARGET_ASM_EXTERNAL_LIBCALL default_external_libcall +#endif + #define TARGET_ASM_ALIGNED_INT_OP \ {TARGET_ASM_ALIGNED_HI_OP, \ TARGET_ASM_ALIGNED_SI_OP, \ @@ -164,6 +189,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_ASM_UNALIGNED_INT_OP, \ TARGET_ASM_INTEGER, \ TARGET_ASM_GLOBALIZE_LABEL, \ + TARGET_ASM_INTERNAL_LABEL, \ TARGET_ASM_ASSEMBLE_VISIBILITY, \ TARGET_ASM_FUNCTION_PROLOGUE, \ TARGET_ASM_FUNCTION_END_PROLOGUE, \ @@ -178,7 +204,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_ASM_CONSTRUCTOR, \ TARGET_ASM_DESTRUCTOR, \ TARGET_ASM_OUTPUT_MI_THUNK, \ - TARGET_ASM_CAN_OUTPUT_MI_THUNK } + TARGET_ASM_CAN_OUTPUT_MI_THUNK, \ + TARGET_ASM_FILE_START, \ + TARGET_ASM_FILE_END, \ + TARGET_ASM_EXTERNAL_LIBCALL} /* Scheduler hooks. All of these default to null pointers, which haifa-sched.c looks for and handles. */ @@ -190,14 +219,18 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_SCHED_FINISH 0 #define TARGET_SCHED_REORDER 0 #define TARGET_SCHED_REORDER2 0 +#define TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK 0 #define TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE 0 #define TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN 0 #define TARGET_SCHED_DFA_PRE_CYCLE_INSN 0 #define TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN 0 #define TARGET_SCHED_DFA_POST_CYCLE_INSN 0 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD 0 +#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD 0 +#define TARGET_SCHED_DFA_NEW_CYCLE 0 #define TARGET_SCHED_INIT_DFA_BUBBLES 0 #define TARGET_SCHED_DFA_BUBBLE 0 +#define TARGET_SCHED_IS_COSTLY_DEPENDENCE 0 #define TARGET_SCHED \ {TARGET_SCHED_ADJUST_COST, \ @@ -208,22 +241,29 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_SCHED_FINISH, \ TARGET_SCHED_REORDER, \ TARGET_SCHED_REORDER2, \ + TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK, \ TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, \ TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, \ TARGET_SCHED_DFA_PRE_CYCLE_INSN, \ TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, \ TARGET_SCHED_DFA_POST_CYCLE_INSN, \ TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, \ + TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, \ + TARGET_SCHED_DFA_NEW_CYCLE, \ TARGET_SCHED_INIT_DFA_BUBBLES, \ - TARGET_SCHED_DFA_BUBBLE} + TARGET_SCHED_DFA_BUBBLE, \ + TARGET_SCHED_IS_COSTLY_DEPENDENCE} -/* All in tree.c. */ +/* In tree.c. */ #define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes #define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes #define TARGET_ATTRIBUTE_TABLE NULL +/* In cse.c. */ +#define TARGET_ADDRESS_COST default_address_cost + /* In builtins.c. */ -#define TARGET_INIT_BUILTINS default_init_builtins +#define TARGET_INIT_BUILTINS hook_void_void #define TARGET_EXPAND_BUILTIN default_expand_builtin /* In varasm.c. */ @@ -239,23 +279,81 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_BINDS_LOCAL_P default_binds_local_p #endif +#ifndef TARGET_VALID_POINTER_MODE +#define TARGET_VALID_POINTER_MODE default_valid_pointer_mode +#endif + +#ifndef TARGET_VECTOR_OPAQUE_P +#define TARGET_VECTOR_OPAQUE_P hook_bool_tree_false +#endif + /* In hook.c. */ #define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false +#define TARGET_BRANCH_TARGET_REGISTER_CLASS hook_int_void_no_regs +#define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false #define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false +#define TARGET_CANNOT_COPY_INSN_P NULL +#define TARGET_DELEGITIMIZE_ADDRESS hook_rtx_rtx_identity +#define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false #define TARGET_COMP_TYPE_ATTRIBUTES hook_int_tree_tree_1 #define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES hook_void_tree #define TARGET_INSERT_ATTRIBUTES hook_void_tree_treeptr #define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_tree_false #define TARGET_MS_BITFIELD_LAYOUT_P hook_bool_tree_false +#define TARGET_RTX_COSTS hook_bool_rtx_int_int_intp_false + +#ifndef TARGET_INIT_LIBFUNCS +#define TARGET_INIT_LIBFUNCS hook_void_void +#endif #ifndef TARGET_IN_SMALL_DATA_P #define TARGET_IN_SMALL_DATA_P hook_bool_tree_false #endif #ifndef TARGET_ENCODE_SECTION_INFO -#define TARGET_ENCODE_SECTION_INFO hook_void_tree_int +#define TARGET_ENCODE_SECTION_INFO default_encode_section_info #endif +#define TARGET_FIXED_CONDITION_CODE_REGS hook_bool_uintp_uintp_false + +#define TARGET_CC_MODES_COMPATIBLE default_cc_modes_compatible + +#define TARGET_MACHINE_DEPENDENT_REORG 0 + +#define TARGET_BUILD_BUILTIN_VA_LIST std_build_builtin_va_list + +#define TARGET_GET_PCH_VALIDITY default_get_pch_validity +#define TARGET_PCH_VALID_P default_pch_valid_p + +#define TARGET_PROMOTE_FUNCTION_ARGS default_promote_function_args +#define TARGET_PROMOTE_FUNCTION_RETURN default_promote_function_return +#define TARGET_PROMOTE_PROTOTYPES default_promote_prototypes + +#define TARGET_STRUCT_VALUE_RTX default_struct_value_rtx +#define TARGET_RETURN_IN_MEMORY default_return_in_memory +#define TARGET_RETURN_IN_MSB hook_bool_tree_false + +#define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs +#define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs +#define TARGET_STRICT_ARGUMENT_NAMING default_strict_argument_naming +#define TARGET_PRETEND_OUTGOING_VARARGS_NAMED \ + default_pretend_outgoing_varargs_named +#define TARGET_SPLIT_COMPLEX_ARG NULL + +#define TARGET_CALLS { \ + TARGET_PROMOTE_FUNCTION_ARGS, \ + TARGET_PROMOTE_FUNCTION_RETURN, \ + TARGET_PROMOTE_PROTOTYPES, \ + TARGET_STRUCT_VALUE_RTX, \ + TARGET_RETURN_IN_MEMORY, \ + TARGET_RETURN_IN_MSB, \ + TARGET_EXPAND_BUILTIN_SAVEREGS, \ + TARGET_SETUP_INCOMING_VARARGS, \ + TARGET_STRICT_ARGUMENT_NAMING, \ + TARGET_PRETEND_OUTGOING_VARARGS_NAMED, \ + TARGET_SPLIT_COMPLEX_ARG, \ + } + /* The whole shebang. */ #define TARGET_INITIALIZER \ { \ @@ -271,18 +369,39 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_MS_BITFIELD_LAYOUT_P, \ TARGET_INIT_BUILTINS, \ TARGET_EXPAND_BUILTIN, \ + TARGET_INIT_LIBFUNCS, \ TARGET_SECTION_TYPE_FLAGS, \ TARGET_CANNOT_MODIFY_JUMPS_P, \ + TARGET_BRANCH_TARGET_REGISTER_CLASS, \ + TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED, \ TARGET_CANNOT_FORCE_CONST_MEM, \ + TARGET_CANNOT_COPY_INSN_P, \ + TARGET_DELEGITIMIZE_ADDRESS, \ + TARGET_FUNCTION_OK_FOR_SIBCALL, \ TARGET_IN_SMALL_DATA_P, \ TARGET_BINDS_LOCAL_P, \ TARGET_ENCODE_SECTION_INFO, \ TARGET_STRIP_NAME_ENCODING, \ + TARGET_VALID_POINTER_MODE, \ + TARGET_VECTOR_OPAQUE_P, \ + TARGET_RTX_COSTS, \ + TARGET_ADDRESS_COST, \ + TARGET_DWARF_REGISTER_SPAN, \ + TARGET_FIXED_CONDITION_CODE_REGS, \ + TARGET_CC_MODES_COMPATIBLE, \ + TARGET_MACHINE_DEPENDENT_REORG, \ + TARGET_BUILD_BUILTIN_VA_LIST, \ + TARGET_GET_PCH_VALIDITY, \ + TARGET_PCH_VALID_P, \ + TARGET_CALLS, \ TARGET_HAVE_NAMED_SECTIONS, \ TARGET_HAVE_CTORS_DTORS, \ TARGET_HAVE_TLS, \ TARGET_HAVE_SRODATA_SECTION, \ - TARGET_TERMINATE_DW2_EH_FRAME_INFO \ + TARGET_TERMINATE_DW2_EH_FRAME_INFO, \ + TARGET_ASM_FILE_START_APP_OFF, \ + TARGET_ASM_FILE_START_FILE_DIRECTIVE, \ } #include "hooks.h" +#include "targhooks.h" |