GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

  • gcc-4.1.0/gcc/target-def.hにて定義
  • targetmの初期化に使われる
    • 各マクロのデフォルトがgcc-4.1.0/gcc/target-def.h上で定義してあり、アーキテクチャごとに上書きが必要な場合はgcc-4.1.0/gcc/config/アーキテクチャ/アーキテクチャ.h上で定義する

実装[]

 548 /* The whole shebang.  */
549 #define TARGET_INITIALIZER                      \
550 {                                               \
551   TARGET_ASM_OUT,                               \
552   TARGET_SCHED,                                 \
553   TARGET_VECTORIZE,                             \
554   TARGET_DEFAULT_TARGET_FLAGS,                  \
555   TARGET_HANDLE_OPTION,                         \
556   TARGET_EH_RETURN_FILTER_MODE,                 \
557   TARGET_MERGE_DECL_ATTRIBUTES,                 \
558   TARGET_MERGE_TYPE_ATTRIBUTES,                 \
559   TARGET_ATTRIBUTE_TABLE,                       \
560   TARGET_COMP_TYPE_ATTRIBUTES,                  \
561   TARGET_SET_DEFAULT_TYPE_ATTRIBUTES,           \
562   TARGET_INSERT_ATTRIBUTES,                     \
563   TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P,        \
564   TARGET_MS_BITFIELD_LAYOUT_P,                  \
565   TARGET_ALIGN_ANON_BITFIELD,                   \
566   TARGET_INIT_BUILTINS,                         \
567   TARGET_EXPAND_BUILTIN,                        \
568   TARGET_RESOLVE_OVERLOADED_BUILTIN,            \
569   TARGET_FOLD_BUILTIN,                          \
570   TARGET_MANGLE_FUNDAMENTAL_TYPE,               \
571   TARGET_INIT_LIBFUNCS,                         \
572   TARGET_SECTION_TYPE_FLAGS,                    \
573   TARGET_CANNOT_MODIFY_JUMPS_P,                 \
574   TARGET_BRANCH_TARGET_REGISTER_CLASS,          \
575   TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED,   \
576   TARGET_CANNOT_FORCE_CONST_MEM,                \
577   TARGET_CANNOT_COPY_INSN_P,                    \
578   TARGET_COMMUTATIVE_P,                         \
579   TARGET_DELEGITIMIZE_ADDRESS,                  \
580   TARGET_FUNCTION_OK_FOR_SIBCALL,               \
581   TARGET_IN_SMALL_DATA_P,                       \
582   TARGET_BINDS_LOCAL_P,                         \
583   TARGET_ENCODE_SECTION_INFO,                   \
584   TARGET_STRIP_NAME_ENCODING,                   \
585   TARGET_SHIFT_TRUNCATION_MASK,                 \
586   TARGET_MIN_DIVISIONS_FOR_RECIP_MUL,           \
587   TARGET_VALID_POINTER_MODE,                    \
588   TARGET_SCALAR_MODE_SUPPORTED_P,               \
589   TARGET_VECTOR_MODE_SUPPORTED_P,               \
590   TARGET_VECTOR_OPAQUE_P,                       \
591   TARGET_RTX_COSTS,                             \
592   TARGET_ADDRESS_COST,                          \
593   TARGET_ALLOCATE_INITIAL_VALUE,                \
594   TARGET_DWARF_REGISTER_SPAN,                   \
595   TARGET_FIXED_CONDITION_CODE_REGS,             \
596   TARGET_CC_MODES_COMPATIBLE,                   \
597   TARGET_MACHINE_DEPENDENT_REORG,               \
598   TARGET_BUILD_BUILTIN_VA_LIST,                 \
599   TARGET_GIMPLIFY_VA_ARG_EXPR,                  \
600   TARGET_GET_PCH_VALIDITY,                      \
601   TARGET_PCH_VALID_P,                           \
602   TARGET_CHECK_PCH_TARGET_FLAGS,                \
603   TARGET_DEFAULT_SHORT_ENUMS,                   \
604   TARGET_BUILTIN_SETJMP_FRAME_VALUE,            \
605   TARGET_MD_ASM_CLOBBERS,                       \
606   TARGET_DWARF_CALLING_CONVENTION,              \
607   TARGET_DWARF_HANDLE_FRAME_UNSPEC,             \
608   TARGET_STDARG_OPTIMIZE_HOOK,                  \
609   TARGET_STACK_PROTECT_GUARD,                   \
610   TARGET_STACK_PROTECT_FAIL,                    \
611   TARGET_INVALID_WITHIN_DOLOOP,                 \
612   TARGET_VALID_DLLIMPORT_ATTRIBUTE_P,           \
613   TARGET_CALLS,                                 \
614   TARGET_INVALID_CONVERSION,                    \
615   TARGET_INVALID_UNARY_OP,                      \
616   TARGET_INVALID_BINARY_OP,                     \
617   TARGET_CXX,                                   \
618   TARGET_UNWIND_TABLES_DEFAULT,                 \
619   TARGET_HAVE_NAMED_SECTIONS,                   \
620   TARGET_HAVE_CTORS_DTORS,                      \
621   TARGET_HAVE_TLS,                              \
622   TARGET_HAVE_SRODATA_SECTION,                  \
623   TARGET_TERMINATE_DW2_EH_FRAME_INFO,           \
624   TARGET_ASM_FILE_START_APP_OFF,                \
625   TARGET_ASM_FILE_START_FILE_DIRECTIVE,         \
626   TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME,        \
627   TARGET_HANDLE_PRAGMA_EXTERN_PREFIX,           \
628   TARGET_RELAXED_ORDERING,                      \
629   TARGET_ARM_EABI_UNWINDER                      \
630 }


リンク元

Advertisement