From patchwork Fri Apr 29 06:01:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Gregory X-Patchwork-Id: 616618 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qx34V4vlfz9t3b for ; Fri, 29 Apr 2016 16:02:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=qtecYcb0; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=riJmKEnhkEgDqmVFmkygJ2nmc+1ukT6QjFGryZ+dVVuyNrzZ27Gly nnkuNYlb8WuNvar1sxYEf304hhlMbHmlfLtwL59Wbuo99ox0yFkAtR9yPAMYN5yY L9FQAr8vQvk6oZosrSegjUeZLqwYfM8KPngzTlKfGG8VjShPsZG9c8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=uQEJAQA3Lw0lB2jUze4Y2O8xpoc=; b=qtecYcb0TZGsTq6jx9DO G7u5FgvQBAgD4BO1UHzzyHhE+Mh4lxUWFLRSz85LeWlcy8LIWfltuGmQwSF6tOVB C4RbdfuLLYGb8Sn2AoN15rGGrmqYBn4sEN5CRa4aQFa7pC4aOK329Tm9DxymPgYg 6ydDiLz6rSHmgoHlSfrnOp0= Received: (qmail 114250 invoked by alias); 29 Apr 2016 06:01:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 114230 invoked by uid 89); 29 Apr 2016 06:01:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS, UPPERCASE_50_75 autolearn=ham version=3.3.2 spammy=sk:addr_sp, sk:ADDR_SP X-HELO: mail-pf0-f196.google.com Received: from mail-pf0-f196.google.com (HELO mail-pf0-f196.google.com) (209.85.192.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 29 Apr 2016 06:01:43 +0000 Received: by mail-pf0-f196.google.com with SMTP id e190so13160502pfe.0 for ; Thu, 28 Apr 2016 23:01:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=vSnGtIXi10USkNTP2oNp+9xBbIg5uxo6UaYK7dP4d5E=; b=iEIjBn1rcYbF/sOtkQwd9KkVIqOnDiyFAjTBxUbL3iORxS6Pw6B9m6erluISXuoKg8 lTQ941lAUecWCYJTeyzwpR6mNpHUuBNJN5OVR+NIAPNgEHmL8de/n40Sb73px/VJxwIc OfCbWo+h50zanL4qL1e0fSOXP+q2NTcOXax2fNiSaY/zcNP5ks1zfJeGFOoLI3etuDho 0Hdj+6M8vs8xX4LtpAvMOQTvHpj8NeNroR316aLIHRN4Pf5bfb44BAEssYKzpmtW6Qrj avIuV8drJu5hu5q+Wp0Nqk1e7gB2eckSNuzZpWgAQTQ2wo7TznkSLkjExb1U8AQlqNF5 jBNg== X-Gm-Message-State: AOPr4FU60pNrGbp3Xd6Dls88SuufxONLaGFqj09Olf7/6rvVqmmjRS9sgpM4JCmPQQ6Yug== X-Received: by 10.98.24.208 with SMTP id 199mr26095797pfy.160.1461909701045; Thu, 28 Apr 2016 23:01:41 -0700 (PDT) Received: from CzipperZeroArch ([2601:1c0:8101:b220:9444:7f:d93f:8904]) by smtp.gmail.com with ESMTPSA id a5sm20054706pat.19.2016.04.28.23.01.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Apr 2016 23:01:40 -0700 (PDT) From: Chris Gregory To: gcc-patches@gcc.gnu.org Subject: [patch] Refactor macros out of gcc/config/i386.c Date: Thu, 28 Apr 2016 23:01:33 -0700 Message-ID: <878tzx3qde.fsf@gmail.com> MIME-Version: 1.0 I refactored out all the macros at the end of ``gcc/config/i386.c'' into ``gcc/config/i386-target-macros.c''. Included are the diff on ``i386.c'' and the new file. Index: gcc/config/i386/i386.c =================================================================== --- gcc/config/i386/i386.c (revision 235619) +++ gcc/config/i386/i386.c (working copy) @@ -54595,479 +54595,9 @@ ix86_addr_space_zero_address_valid (addr_space_t a { return as != ADDR_SPACE_GENERIC; } -#undef TARGET_ADDR_SPACE_ZERO_ADDRESS_VALID -#define TARGET_ADDR_SPACE_ZERO_ADDRESS_VALID ix86_addr_space_zero_address_valid -/* Initialize the GCC target structure. */ -#undef TARGET_RETURN_IN_MEMORY -#define TARGET_RETURN_IN_MEMORY ix86_return_in_memory +#include "i386-target-macros.c" -#undef TARGET_LEGITIMIZE_ADDRESS -#define TARGET_LEGITIMIZE_ADDRESS ix86_legitimize_address - -#undef TARGET_ATTRIBUTE_TABLE -#define TARGET_ATTRIBUTE_TABLE ix86_attribute_table -#undef TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P -#define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_const_tree_true -#if TARGET_DLLIMPORT_DECL_ATTRIBUTES -# undef TARGET_MERGE_DECL_ATTRIBUTES -# define TARGET_MERGE_DECL_ATTRIBUTES merge_dllimport_decl_attributes -#endif - -#undef TARGET_COMP_TYPE_ATTRIBUTES -#define TARGET_COMP_TYPE_ATTRIBUTES ix86_comp_type_attributes - -#undef TARGET_INIT_BUILTINS -#define TARGET_INIT_BUILTINS ix86_init_builtins -#undef TARGET_BUILTIN_DECL -#define TARGET_BUILTIN_DECL ix86_builtin_decl -#undef TARGET_EXPAND_BUILTIN -#define TARGET_EXPAND_BUILTIN ix86_expand_builtin - -#undef TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION -#define TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION \ - ix86_builtin_vectorized_function - -#undef TARGET_VECTORIZE_BUILTIN_GATHER -#define TARGET_VECTORIZE_BUILTIN_GATHER ix86_vectorize_builtin_gather - -#undef TARGET_VECTORIZE_BUILTIN_SCATTER -#define TARGET_VECTORIZE_BUILTIN_SCATTER ix86_vectorize_builtin_scatter - -#undef TARGET_BUILTIN_RECIPROCAL -#define TARGET_BUILTIN_RECIPROCAL ix86_builtin_reciprocal - -#undef TARGET_ASM_FUNCTION_EPILOGUE -#define TARGET_ASM_FUNCTION_EPILOGUE ix86_output_function_epilogue - -#undef TARGET_ENCODE_SECTION_INFO -#ifndef SUBTARGET_ENCODE_SECTION_INFO -#define TARGET_ENCODE_SECTION_INFO ix86_encode_section_info -#else -#define TARGET_ENCODE_SECTION_INFO SUBTARGET_ENCODE_SECTION_INFO -#endif - -#undef TARGET_ASM_OPEN_PAREN -#define TARGET_ASM_OPEN_PAREN "" -#undef TARGET_ASM_CLOSE_PAREN -#define TARGET_ASM_CLOSE_PAREN "" - -#undef TARGET_ASM_BYTE_OP -#define TARGET_ASM_BYTE_OP ASM_BYTE - -#undef TARGET_ASM_ALIGNED_HI_OP -#define TARGET_ASM_ALIGNED_HI_OP ASM_SHORT -#undef TARGET_ASM_ALIGNED_SI_OP -#define TARGET_ASM_ALIGNED_SI_OP ASM_LONG -#ifdef ASM_QUAD -#undef TARGET_ASM_ALIGNED_DI_OP -#define TARGET_ASM_ALIGNED_DI_OP ASM_QUAD -#endif - -#undef TARGET_PROFILE_BEFORE_PROLOGUE -#define TARGET_PROFILE_BEFORE_PROLOGUE ix86_profile_before_prologue - -#undef TARGET_MANGLE_DECL_ASSEMBLER_NAME -#define TARGET_MANGLE_DECL_ASSEMBLER_NAME ix86_mangle_decl_assembler_name - -#undef TARGET_ASM_UNALIGNED_HI_OP -#define TARGET_ASM_UNALIGNED_HI_OP TARGET_ASM_ALIGNED_HI_OP -#undef TARGET_ASM_UNALIGNED_SI_OP -#define TARGET_ASM_UNALIGNED_SI_OP TARGET_ASM_ALIGNED_SI_OP -#undef TARGET_ASM_UNALIGNED_DI_OP -#define TARGET_ASM_UNALIGNED_DI_OP TARGET_ASM_ALIGNED_DI_OP - -#undef TARGET_PRINT_OPERAND -#define TARGET_PRINT_OPERAND ix86_print_operand -#undef TARGET_PRINT_OPERAND_ADDRESS -#define TARGET_PRINT_OPERAND_ADDRESS ix86_print_operand_address -#undef TARGET_PRINT_OPERAND_PUNCT_VALID_P -#define TARGET_PRINT_OPERAND_PUNCT_VALID_P ix86_print_operand_punct_valid_p -#undef TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA -#define TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA i386_asm_output_addr_const_extra - -#undef TARGET_SCHED_INIT_GLOBAL -#define TARGET_SCHED_INIT_GLOBAL ix86_sched_init_global -#undef TARGET_SCHED_ADJUST_COST -#define TARGET_SCHED_ADJUST_COST ix86_adjust_cost -#undef TARGET_SCHED_ISSUE_RATE -#define TARGET_SCHED_ISSUE_RATE ix86_issue_rate -#undef TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD -#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD \ - ia32_multipass_dfa_lookahead -#undef TARGET_SCHED_MACRO_FUSION_P -#define TARGET_SCHED_MACRO_FUSION_P ix86_macro_fusion_p -#undef TARGET_SCHED_MACRO_FUSION_PAIR_P -#define TARGET_SCHED_MACRO_FUSION_PAIR_P ix86_macro_fusion_pair_p - -#undef TARGET_FUNCTION_OK_FOR_SIBCALL -#define TARGET_FUNCTION_OK_FOR_SIBCALL ix86_function_ok_for_sibcall - -#undef TARGET_MEMMODEL_CHECK -#define TARGET_MEMMODEL_CHECK ix86_memmodel_check - -#undef TARGET_ATOMIC_ASSIGN_EXPAND_FENV -#define TARGET_ATOMIC_ASSIGN_EXPAND_FENV ix86_atomic_assign_expand_fenv - -#ifdef HAVE_AS_TLS -#undef TARGET_HAVE_TLS -#define TARGET_HAVE_TLS true -#endif -#undef TARGET_CANNOT_FORCE_CONST_MEM -#define TARGET_CANNOT_FORCE_CONST_MEM ix86_cannot_force_const_mem -#undef TARGET_USE_BLOCKS_FOR_CONSTANT_P -#define TARGET_USE_BLOCKS_FOR_CONSTANT_P hook_bool_mode_const_rtx_true - -#undef TARGET_DELEGITIMIZE_ADDRESS -#define TARGET_DELEGITIMIZE_ADDRESS ix86_delegitimize_address - -#undef TARGET_MS_BITFIELD_LAYOUT_P -#define TARGET_MS_BITFIELD_LAYOUT_P ix86_ms_bitfield_layout_p - -#if TARGET_MACHO -#undef TARGET_BINDS_LOCAL_P -#define TARGET_BINDS_LOCAL_P darwin_binds_local_p -#else -#undef TARGET_BINDS_LOCAL_P -#define TARGET_BINDS_LOCAL_P ix86_binds_local_p -#endif -#if TARGET_DLLIMPORT_DECL_ATTRIBUTES -#undef TARGET_BINDS_LOCAL_P -#define TARGET_BINDS_LOCAL_P i386_pe_binds_local_p -#endif - -#undef TARGET_ASM_OUTPUT_MI_THUNK -#define TARGET_ASM_OUTPUT_MI_THUNK x86_output_mi_thunk -#undef TARGET_ASM_CAN_OUTPUT_MI_THUNK -#define TARGET_ASM_CAN_OUTPUT_MI_THUNK x86_can_output_mi_thunk - -#undef TARGET_ASM_FILE_START -#define TARGET_ASM_FILE_START x86_file_start - -#undef TARGET_OPTION_OVERRIDE -#define TARGET_OPTION_OVERRIDE ix86_option_override - -#undef TARGET_REGISTER_MOVE_COST -#define TARGET_REGISTER_MOVE_COST ix86_register_move_cost -#undef TARGET_MEMORY_MOVE_COST -#define TARGET_MEMORY_MOVE_COST ix86_memory_move_cost -#undef TARGET_RTX_COSTS -#define TARGET_RTX_COSTS ix86_rtx_costs -#undef TARGET_ADDRESS_COST -#define TARGET_ADDRESS_COST ix86_address_cost - -#undef TARGET_FIXED_CONDITION_CODE_REGS -#define TARGET_FIXED_CONDITION_CODE_REGS ix86_fixed_condition_code_regs -#undef TARGET_CC_MODES_COMPATIBLE -#define TARGET_CC_MODES_COMPATIBLE ix86_cc_modes_compatible - -#undef TARGET_MACHINE_DEPENDENT_REORG -#define TARGET_MACHINE_DEPENDENT_REORG ix86_reorg - -#undef TARGET_BUILTIN_SETJMP_FRAME_VALUE -#define TARGET_BUILTIN_SETJMP_FRAME_VALUE ix86_builtin_setjmp_frame_value - -#undef TARGET_BUILD_BUILTIN_VA_LIST -#define TARGET_BUILD_BUILTIN_VA_LIST ix86_build_builtin_va_list - -#undef TARGET_FOLD_BUILTIN -#define TARGET_FOLD_BUILTIN ix86_fold_builtin - -#undef TARGET_COMPARE_VERSION_PRIORITY -#define TARGET_COMPARE_VERSION_PRIORITY ix86_compare_version_priority - -#undef TARGET_GENERATE_VERSION_DISPATCHER_BODY -#define TARGET_GENERATE_VERSION_DISPATCHER_BODY \ - ix86_generate_version_dispatcher_body - -#undef TARGET_GET_FUNCTION_VERSIONS_DISPATCHER -#define TARGET_GET_FUNCTION_VERSIONS_DISPATCHER \ - ix86_get_function_versions_dispatcher - -#undef TARGET_ENUM_VA_LIST_P -#define TARGET_ENUM_VA_LIST_P ix86_enum_va_list - -#undef TARGET_FN_ABI_VA_LIST -#define TARGET_FN_ABI_VA_LIST ix86_fn_abi_va_list - -#undef TARGET_CANONICAL_VA_LIST_TYPE -#define TARGET_CANONICAL_VA_LIST_TYPE ix86_canonical_va_list_type - -#undef TARGET_EXPAND_BUILTIN_VA_START -#define TARGET_EXPAND_BUILTIN_VA_START ix86_va_start - -#undef TARGET_MD_ASM_ADJUST -#define TARGET_MD_ASM_ADJUST ix86_md_asm_adjust - -#undef TARGET_PROMOTE_PROTOTYPES -#define TARGET_PROMOTE_PROTOTYPES hook_bool_const_tree_true -#undef TARGET_SETUP_INCOMING_VARARGS -#define TARGET_SETUP_INCOMING_VARARGS ix86_setup_incoming_varargs -#undef TARGET_MUST_PASS_IN_STACK -#define TARGET_MUST_PASS_IN_STACK ix86_must_pass_in_stack -#undef TARGET_FUNCTION_ARG_ADVANCE -#define TARGET_FUNCTION_ARG_ADVANCE ix86_function_arg_advance -#undef TARGET_FUNCTION_ARG -#define TARGET_FUNCTION_ARG ix86_function_arg -#undef TARGET_INIT_PIC_REG -#define TARGET_INIT_PIC_REG ix86_init_pic_reg -#undef TARGET_USE_PSEUDO_PIC_REG -#define TARGET_USE_PSEUDO_PIC_REG ix86_use_pseudo_pic_reg -#undef TARGET_FUNCTION_ARG_BOUNDARY -#define TARGET_FUNCTION_ARG_BOUNDARY ix86_function_arg_boundary -#undef TARGET_PASS_BY_REFERENCE -#define TARGET_PASS_BY_REFERENCE ix86_pass_by_reference -#undef TARGET_INTERNAL_ARG_POINTER -#define TARGET_INTERNAL_ARG_POINTER ix86_internal_arg_pointer -#undef TARGET_UPDATE_STACK_BOUNDARY -#define TARGET_UPDATE_STACK_BOUNDARY ix86_update_stack_boundary -#undef TARGET_GET_DRAP_RTX -#define TARGET_GET_DRAP_RTX ix86_get_drap_rtx -#undef TARGET_STRICT_ARGUMENT_NAMING -#define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_true -#undef TARGET_STATIC_CHAIN -#define TARGET_STATIC_CHAIN ix86_static_chain -#undef TARGET_TRAMPOLINE_INIT -#define TARGET_TRAMPOLINE_INIT ix86_trampoline_init -#undef TARGET_RETURN_POPS_ARGS -#define TARGET_RETURN_POPS_ARGS ix86_return_pops_args - -#undef TARGET_LEGITIMATE_COMBINED_INSN -#define TARGET_LEGITIMATE_COMBINED_INSN ix86_legitimate_combined_insn - -#undef TARGET_ASAN_SHADOW_OFFSET -#define TARGET_ASAN_SHADOW_OFFSET ix86_asan_shadow_offset - -#undef TARGET_GIMPLIFY_VA_ARG_EXPR -#define TARGET_GIMPLIFY_VA_ARG_EXPR ix86_gimplify_va_arg - -#undef TARGET_SCALAR_MODE_SUPPORTED_P -#define TARGET_SCALAR_MODE_SUPPORTED_P ix86_scalar_mode_supported_p - -#undef TARGET_VECTOR_MODE_SUPPORTED_P -#define TARGET_VECTOR_MODE_SUPPORTED_P ix86_vector_mode_supported_p - -#undef TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P -#define TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P \ - ix86_libgcc_floating_mode_supported_p - -#undef TARGET_C_MODE_FOR_SUFFIX -#define TARGET_C_MODE_FOR_SUFFIX ix86_c_mode_for_suffix - -#ifdef HAVE_AS_TLS -#undef TARGET_ASM_OUTPUT_DWARF_DTPREL -#define TARGET_ASM_OUTPUT_DWARF_DTPREL i386_output_dwarf_dtprel -#endif - -#ifdef SUBTARGET_INSERT_ATTRIBUTES -#undef TARGET_INSERT_ATTRIBUTES -#define TARGET_INSERT_ATTRIBUTES SUBTARGET_INSERT_ATTRIBUTES -#endif - -#undef TARGET_MANGLE_TYPE -#define TARGET_MANGLE_TYPE ix86_mangle_type - -#if !TARGET_MACHO -#undef TARGET_STACK_PROTECT_FAIL -#define TARGET_STACK_PROTECT_FAIL ix86_stack_protect_fail -#endif - -#undef TARGET_FUNCTION_VALUE -#define TARGET_FUNCTION_VALUE ix86_function_value - -#undef TARGET_FUNCTION_VALUE_REGNO_P -#define TARGET_FUNCTION_VALUE_REGNO_P ix86_function_value_regno_p - -#undef TARGET_PROMOTE_FUNCTION_MODE -#define TARGET_PROMOTE_FUNCTION_MODE ix86_promote_function_mode - -#undef TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE -#define TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE ix86_override_options_after_change - -#undef TARGET_MEMBER_TYPE_FORCES_BLK -#define TARGET_MEMBER_TYPE_FORCES_BLK ix86_member_type_forces_blk - -#undef TARGET_INSTANTIATE_DECLS -#define TARGET_INSTANTIATE_DECLS ix86_instantiate_decls - -#undef TARGET_SECONDARY_RELOAD -#define TARGET_SECONDARY_RELOAD ix86_secondary_reload - -#undef TARGET_CLASS_MAX_NREGS -#define TARGET_CLASS_MAX_NREGS ix86_class_max_nregs - -#undef TARGET_PREFERRED_RELOAD_CLASS -#define TARGET_PREFERRED_RELOAD_CLASS ix86_preferred_reload_class -#undef TARGET_PREFERRED_OUTPUT_RELOAD_CLASS -#define TARGET_PREFERRED_OUTPUT_RELOAD_CLASS ix86_preferred_output_reload_class -#undef TARGET_CLASS_LIKELY_SPILLED_P -#define TARGET_CLASS_LIKELY_SPILLED_P ix86_class_likely_spilled_p - -#undef TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST -#define TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST \ - ix86_builtin_vectorization_cost -#undef TARGET_VECTORIZE_VEC_PERM_CONST_OK -#define TARGET_VECTORIZE_VEC_PERM_CONST_OK \ - ix86_vectorize_vec_perm_const_ok -#undef TARGET_VECTORIZE_PREFERRED_SIMD_MODE -#define TARGET_VECTORIZE_PREFERRED_SIMD_MODE \ - ix86_preferred_simd_mode -#undef TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES -#define TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES \ - ix86_autovectorize_vector_sizes -#undef TARGET_VECTORIZE_GET_MASK_MODE -#define TARGET_VECTORIZE_GET_MASK_MODE ix86_get_mask_mode -#undef TARGET_VECTORIZE_INIT_COST -#define TARGET_VECTORIZE_INIT_COST ix86_init_cost -#undef TARGET_VECTORIZE_ADD_STMT_COST -#define TARGET_VECTORIZE_ADD_STMT_COST ix86_add_stmt_cost -#undef TARGET_VECTORIZE_FINISH_COST -#define TARGET_VECTORIZE_FINISH_COST ix86_finish_cost -#undef TARGET_VECTORIZE_DESTROY_COST_DATA -#define TARGET_VECTORIZE_DESTROY_COST_DATA ix86_destroy_cost_data - -#undef TARGET_SET_CURRENT_FUNCTION -#define TARGET_SET_CURRENT_FUNCTION ix86_set_current_function - -#undef TARGET_OPTION_VALID_ATTRIBUTE_P -#define TARGET_OPTION_VALID_ATTRIBUTE_P ix86_valid_target_attribute_p - -#undef TARGET_OPTION_SAVE -#define TARGET_OPTION_SAVE ix86_function_specific_save - -#undef TARGET_OPTION_RESTORE -#define TARGET_OPTION_RESTORE ix86_function_specific_restore - -#undef TARGET_OPTION_POST_STREAM_IN -#define TARGET_OPTION_POST_STREAM_IN ix86_function_specific_post_stream_in - -#undef TARGET_OPTION_PRINT -#define TARGET_OPTION_PRINT ix86_function_specific_print - -#undef TARGET_OPTION_FUNCTION_VERSIONS -#define TARGET_OPTION_FUNCTION_VERSIONS ix86_function_versions - -#undef TARGET_CAN_INLINE_P -#define TARGET_CAN_INLINE_P ix86_can_inline_p - -#undef TARGET_LEGITIMATE_ADDRESS_P -#define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p - -#undef TARGET_LRA_P -#define TARGET_LRA_P hook_bool_void_true - -#undef TARGET_REGISTER_PRIORITY -#define TARGET_REGISTER_PRIORITY ix86_register_priority - -#undef TARGET_REGISTER_USAGE_LEVELING_P -#define TARGET_REGISTER_USAGE_LEVELING_P hook_bool_void_true - -#undef TARGET_LEGITIMATE_CONSTANT_P -#define TARGET_LEGITIMATE_CONSTANT_P ix86_legitimate_constant_p - -#undef TARGET_FRAME_POINTER_REQUIRED -#define TARGET_FRAME_POINTER_REQUIRED ix86_frame_pointer_required - -#undef TARGET_CAN_ELIMINATE -#define TARGET_CAN_ELIMINATE ix86_can_eliminate - -#undef TARGET_EXTRA_LIVE_ON_ENTRY -#define TARGET_EXTRA_LIVE_ON_ENTRY ix86_live_on_entry - -#undef TARGET_ASM_CODE_END -#define TARGET_ASM_CODE_END ix86_code_end - -#undef TARGET_CONDITIONAL_REGISTER_USAGE -#define TARGET_CONDITIONAL_REGISTER_USAGE ix86_conditional_register_usage - -#if TARGET_MACHO -#undef TARGET_INIT_LIBFUNCS -#define TARGET_INIT_LIBFUNCS darwin_rename_builtins -#endif - -#undef TARGET_LOOP_UNROLL_ADJUST -#define TARGET_LOOP_UNROLL_ADJUST ix86_loop_unroll_adjust - -#undef TARGET_SPILL_CLASS -#define TARGET_SPILL_CLASS ix86_spill_class - -#undef TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN -#define TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN \ - ix86_simd_clone_compute_vecsize_and_simdlen - -#undef TARGET_SIMD_CLONE_ADJUST -#define TARGET_SIMD_CLONE_ADJUST \ - ix86_simd_clone_adjust - -#undef TARGET_SIMD_CLONE_USABLE -#define TARGET_SIMD_CLONE_USABLE \ - ix86_simd_clone_usable - -#undef TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P -#define TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P \ - ix86_float_exceptions_rounding_supported_p - -#undef TARGET_MODE_EMIT -#define TARGET_MODE_EMIT ix86_emit_mode_set - -#undef TARGET_MODE_NEEDED -#define TARGET_MODE_NEEDED ix86_mode_needed - -#undef TARGET_MODE_AFTER -#define TARGET_MODE_AFTER ix86_mode_after - -#undef TARGET_MODE_ENTRY -#define TARGET_MODE_ENTRY ix86_mode_entry - -#undef TARGET_MODE_EXIT -#define TARGET_MODE_EXIT ix86_mode_exit - -#undef TARGET_MODE_PRIORITY -#define TARGET_MODE_PRIORITY ix86_mode_priority - -#undef TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS -#define TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS true - -#undef TARGET_LOAD_BOUNDS_FOR_ARG -#define TARGET_LOAD_BOUNDS_FOR_ARG ix86_load_bounds - -#undef TARGET_STORE_BOUNDS_FOR_ARG -#define TARGET_STORE_BOUNDS_FOR_ARG ix86_store_bounds - -#undef TARGET_LOAD_RETURNED_BOUNDS -#define TARGET_LOAD_RETURNED_BOUNDS ix86_load_returned_bounds - -#undef TARGET_STORE_RETURNED_BOUNDS -#define TARGET_STORE_RETURNED_BOUNDS ix86_store_returned_bounds - -#undef TARGET_CHKP_BOUND_MODE -#define TARGET_CHKP_BOUND_MODE ix86_mpx_bound_mode - -#undef TARGET_BUILTIN_CHKP_FUNCTION -#define TARGET_BUILTIN_CHKP_FUNCTION ix86_builtin_mpx_function - -#undef TARGET_CHKP_FUNCTION_VALUE_BOUNDS -#define TARGET_CHKP_FUNCTION_VALUE_BOUNDS ix86_function_value_bounds - -#undef TARGET_CHKP_MAKE_BOUNDS_CONSTANT -#define TARGET_CHKP_MAKE_BOUNDS_CONSTANT ix86_make_bounds_constant - -#undef TARGET_CHKP_INITIALIZE_BOUNDS -#define TARGET_CHKP_INITIALIZE_BOUNDS ix86_initialize_bounds - -#undef TARGET_SETUP_INCOMING_VARARG_BOUNDS -#define TARGET_SETUP_INCOMING_VARARG_BOUNDS ix86_setup_incoming_vararg_bounds - -#undef TARGET_OFFLOAD_OPTIONS -#define TARGET_OFFLOAD_OPTIONS \ - ix86_offload_options - -#undef TARGET_ABSOLUTE_BIGGEST_ALIGNMENT -#define TARGET_ABSOLUTE_BIGGEST_ALIGNMENT 512 - -#undef TARGET_OPTAB_SUPPORTED_P -#define TARGET_OPTAB_SUPPORTED_P ix86_optab_supported_p - struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-i386.h"