From cb6103670619a01471b980320bd0fff6499cc314 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 25 Oct 2013 09:08:14 +0200 Subject: [PATCH] i386.h (TARGET_MPX): New define. * config/i386/i386.h (TARGET_MPX): New define. (TARGET_MPX_P): Ditto. From-SVN: r204048 --- gcc/ChangeLog | 33 ++++++++++++++++++--------------- gcc/config/i386/i386.h | 26 ++++++++++++++------------ 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6702604ef55..68ef8a742eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-10-25 Uros Bizjak + + * config/i386/i386.h (TARGET_MPX): New define. + (TARGET_MPX_P): Ditto. + 2013-10-24 Ilya Enkovich * config/i386/constraints.md (B): New. @@ -112,8 +117,8 @@ 2013-10-24 Igor Shevlyakov - * expr.c (expand_expr_real_1): Use mode of memory reference rather - than mode of address computation when calling memory_address_addr_space. + * expr.c (expand_expr_real_1): Use mode of memory reference rather than + mode of address computation when calling memory_address_addr_space. 2013-08-24 Richard Henderson @@ -149,10 +154,10 @@ * convert.c (convert_to_real): Guard those unsafe math function convertions with flag_unsafe_math_optimizations. Handle sqrt() - specially. + specially. 2013-10-24 Markus Trippelsdorf - + PR ipa/58712 * cgraph.c (cgraph_create_edge_1): Add indirect_unknown_callee as argument. @@ -188,8 +193,7 @@ 2013-10-24 Michael Matz - * gengtype.c (is_file_equal): Check that files will be same - length. + * gengtype.c (is_file_equal): Check that files will be same length. 2013-10-25 Christian Bruel @@ -197,7 +201,7 @@ * gcc/config/sh/t-sh (sh-mem.o): New rule. * gcc/config/sh/sh-mem.cc (expand_block_move): Moved here. (sh4_expand_cmpstr): New function. - * gcc/config/sh/sh.c (force_into, expand_block_move): Move to sh-mem.c + * gcc/config/sh/sh.c (force_into, expand_block_move): Move to sh-mem.c. * gcc/config/sh/sh-protos.h (sh4_expand_cmpstr): Declare. * gcc/config/sh/sh.md (cmpstrsi, cmpstr_t): New patterns. (rotlhi3_8): Rename. @@ -220,8 +224,7 @@ Write base class of type (if any). (read_state_struct_type): Read base class of type (if any). * gengtype.c (new_structure): Add a "base_class" parameter. - (create_optional_field_): Update for new parameter to - new_structure. + (create_optional_field_): Update for new parameter to new_structure. (adjust_field_rtx_def): Likewise. (adjust_field_tree_exp): Likewise. * gengtype.h (struct type): Add "base_class" field to the s @@ -290,13 +293,11 @@ insert it. (get_stmt_uid_with_default): Remove. (build_and_add_sum): Use insert_stmt_after and - reassoc_stmt_dominates_stmt_p. Fix up uid if bb contains only - labels. + reassoc_stmt_dominates_stmt_p. Fix up uid if bb contains only labels. (update_range_test): Set uid on stmts added by force_gimple_operand_gsi. Don't immediately modify statements in inter-bb optimization, just update oe->op values. - (optimize_range_tests): Return bool whether any changed have - been made. + (optimize_range_tests): Return bool whether any changed have been made. (update_ops): New function. (struct inter_bb_range_test_entry): New type. (maybe_optimize_range_tests): Perform statement changes here. @@ -515,10 +516,12 @@ 2013-10-22 Jan Hubicka - * i386.h (TARGET_MISALIGNED_MOVE_STRING_PROLOGUES_EPILOGUES): New tuning flag. + * i386.h (TARGET_MISALIGNED_MOVE_STRING_PROLOGUES_EPILOGUES): New + tuning flag. * x86-tune.def (TARGET_MISALIGNED_MOVE_STRING_PROLOGUES): Define it. * i386.c (expand_small_movmem_or_setmem): New function. - (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): New function + (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): New + function. (alg_usable_p): Add support for value ranges; cleanup. (ix86_expand_set_or_movmem): Add support for misaligned moves. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 92299a2f77f..c979ee534a8 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -63,14 +63,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define TARGET_AVX_P(x) TARGET_ISA_AVX_P(x) #define TARGET_AVX2 TARGET_ISA_AVX2 #define TARGET_AVX2_P(x) TARGET_ISA_AVX2_P(x) -#define TARGET_AVX512F TARGET_ISA_AVX512F -#define TARGET_AVX512F_P(x) TARGET_ISA_AVX512F_P(x) -#define TARGET_AVX512PF TARGET_ISA_AVX512PF -#define TARGET_AVX512PF_P(x) TARGET_ISA_AVX512PF_P(x) -#define TARGET_AVX512ER TARGET_ISA_AVX512ER -#define TARGET_AVX512ER_P(x) TARGET_ISA_AVX512ER_P(x) -#define TARGET_AVX512CD TARGET_ISA_AVX512CD -#define TARGET_AVX512CD_P(x) TARGET_ISA_AVX512CD_P(x) +#define TARGET_AVX512F TARGET_ISA_AVX512F +#define TARGET_AVX512F_P(x) TARGET_ISA_AVX512F_P(x) +#define TARGET_AVX512PF TARGET_ISA_AVX512PF +#define TARGET_AVX512PF_P(x) TARGET_ISA_AVX512PF_P(x) +#define TARGET_AVX512ER TARGET_ISA_AVX512ER +#define TARGET_AVX512ER_P(x) TARGET_ISA_AVX512ER_P(x) +#define TARGET_AVX512CD TARGET_ISA_AVX512CD +#define TARGET_AVX512CD_P(x) TARGET_ISA_AVX512CD_P(x) #define TARGET_FMA TARGET_ISA_FMA #define TARGET_FMA_P(x) TARGET_ISA_FMA_P(x) #define TARGET_SSE4A TARGET_ISA_SSE4A @@ -104,16 +104,16 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define TARGET_AES_P(x) TARGET_ISA_AES_P(x) #define TARGET_PCLMUL TARGET_ISA_PCLMUL #define TARGET_PCLMUL_P(x) TARGET_ISA_PCLMUL_P(x) -#define TARGET_CMPXCHG16B TARGET_ISA_CX16 -#define TARGET_CMPXCHG16B_P(x) TARGET_ISA_CX16_P(x) +#define TARGET_CMPXCHG16B TARGET_ISA_CX16 +#define TARGET_CMPXCHG16B_P(x) TARGET_ISA_CX16_P(x) #define TARGET_FSGSBASE TARGET_ISA_FSGSBASE #define TARGET_FSGSBASE_P(x) TARGET_ISA_FSGSBASE_P(x) #define TARGET_RDRND TARGET_ISA_RDRND #define TARGET_RDRND_P(x) TARGET_ISA_RDRND_P(x) #define TARGET_F16C TARGET_ISA_F16C #define TARGET_F16C_P(x) TARGET_ISA_F16C_P(x) -#define TARGET_RTM TARGET_ISA_RTM -#define TARGET_RTM_P(x) TARGET_ISA_RTM_P(x) +#define TARGET_RTM TARGET_ISA_RTM +#define TARGET_RTM_P(x) TARGET_ISA_RTM_P(x) #define TARGET_HLE TARGET_ISA_HLE #define TARGET_HLE_P(x) TARGET_ISA_HLE_P(x) #define TARGET_RDSEED TARGET_ISA_RDSEED @@ -128,6 +128,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define TARGET_XSAVE_P(x) TARGET_ISA_XSAVE_P(x) #define TARGET_XSAVEOPT TARGET_ISA_XSAVEOPT #define TARGET_XSAVEOPT_P(x) TARGET_ISA_XSAVEOPT_P(x) +#define TARGET_MPX TARGET_ISA_MPX +#define TARGET_MPX_P(x) TARGET_ISA_MPX_P(x) #define TARGET_LP64 TARGET_ABI_64 #define TARGET_LP64_P(x) TARGET_ABI_64_P(x)