Commit cb610367 by Uros Bizjak

i386.h (TARGET_MPX): New define.

	* config/i386/i386.h (TARGET_MPX): New define.
	(TARGET_MPX_P): Ditto.

From-SVN: r204048
parent 43ae206c
2013-10-25 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (TARGET_MPX): New define.
(TARGET_MPX_P): Ditto.
2013-10-24 Ilya Enkovich <ilya.enkovich@intel.com> 2013-10-24 Ilya Enkovich <ilya.enkovich@intel.com>
* config/i386/constraints.md (B): New. * config/i386/constraints.md (B): New.
...@@ -112,8 +117,8 @@ ...@@ -112,8 +117,8 @@
2013-10-24 Igor Shevlyakov <igor.shevlyakov@gmail.com> 2013-10-24 Igor Shevlyakov <igor.shevlyakov@gmail.com>
* expr.c (expand_expr_real_1): Use mode of memory reference rather * expr.c (expand_expr_real_1): Use mode of memory reference rather than
than mode of address computation when calling memory_address_addr_space. mode of address computation when calling memory_address_addr_space.
2013-08-24 Richard Henderson <rth@twiddle.net> 2013-08-24 Richard Henderson <rth@twiddle.net>
...@@ -149,10 +154,10 @@ ...@@ -149,10 +154,10 @@
* convert.c (convert_to_real): Guard those unsafe math function * convert.c (convert_to_real): Guard those unsafe math function
convertions with flag_unsafe_math_optimizations. Handle sqrt() convertions with flag_unsafe_math_optimizations. Handle sqrt()
specially. specially.
2013-10-24 Markus Trippelsdorf <markus@trippelsdorf.de> 2013-10-24 Markus Trippelsdorf <markus@trippelsdorf.de>
PR ipa/58712 PR ipa/58712
* cgraph.c (cgraph_create_edge_1): Add indirect_unknown_callee * cgraph.c (cgraph_create_edge_1): Add indirect_unknown_callee
as argument. as argument.
...@@ -188,8 +193,7 @@ ...@@ -188,8 +193,7 @@
2013-10-24 Michael Matz <matz@suse.de> 2013-10-24 Michael Matz <matz@suse.de>
* gengtype.c (is_file_equal): Check that files will be same * gengtype.c (is_file_equal): Check that files will be same length.
length.
2013-10-25 Christian Bruel <christian.bruel@st.com> 2013-10-25 Christian Bruel <christian.bruel@st.com>
...@@ -197,7 +201,7 @@ ...@@ -197,7 +201,7 @@
* gcc/config/sh/t-sh (sh-mem.o): New rule. * gcc/config/sh/t-sh (sh-mem.o): New rule.
* gcc/config/sh/sh-mem.cc (expand_block_move): Moved here. * gcc/config/sh/sh-mem.cc (expand_block_move): Moved here.
(sh4_expand_cmpstr): New function. (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-protos.h (sh4_expand_cmpstr): Declare.
* gcc/config/sh/sh.md (cmpstrsi, cmpstr_t): New patterns. * gcc/config/sh/sh.md (cmpstrsi, cmpstr_t): New patterns.
(rotlhi3_8): Rename. (rotlhi3_8): Rename.
...@@ -220,8 +224,7 @@ ...@@ -220,8 +224,7 @@
Write base class of type (if any). Write base class of type (if any).
(read_state_struct_type): Read 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. * gengtype.c (new_structure): Add a "base_class" parameter.
(create_optional_field_): Update for new parameter to (create_optional_field_): Update for new parameter to new_structure.
new_structure.
(adjust_field_rtx_def): Likewise. (adjust_field_rtx_def): Likewise.
(adjust_field_tree_exp): Likewise. (adjust_field_tree_exp): Likewise.
* gengtype.h (struct type): Add "base_class" field to the s * gengtype.h (struct type): Add "base_class" field to the s
...@@ -290,13 +293,11 @@ ...@@ -290,13 +293,11 @@
insert it. insert it.
(get_stmt_uid_with_default): Remove. (get_stmt_uid_with_default): Remove.
(build_and_add_sum): Use insert_stmt_after and (build_and_add_sum): Use insert_stmt_after and
reassoc_stmt_dominates_stmt_p. Fix up uid if bb contains only reassoc_stmt_dominates_stmt_p. Fix up uid if bb contains only labels.
labels.
(update_range_test): Set uid on stmts added by (update_range_test): Set uid on stmts added by
force_gimple_operand_gsi. Don't immediately modify statements force_gimple_operand_gsi. Don't immediately modify statements
in inter-bb optimization, just update oe->op values. in inter-bb optimization, just update oe->op values.
(optimize_range_tests): Return bool whether any changed have (optimize_range_tests): Return bool whether any changed have been made.
been made.
(update_ops): New function. (update_ops): New function.
(struct inter_bb_range_test_entry): New type. (struct inter_bb_range_test_entry): New type.
(maybe_optimize_range_tests): Perform statement changes here. (maybe_optimize_range_tests): Perform statement changes here.
...@@ -515,10 +516,12 @@ ...@@ -515,10 +516,12 @@
2013-10-22 Jan Hubicka <jh@suse.cz> 2013-10-22 Jan Hubicka <jh@suse.cz>
* 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. * x86-tune.def (TARGET_MISALIGNED_MOVE_STRING_PROLOGUES): Define it.
* i386.c (expand_small_movmem_or_setmem): New function. * 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. (alg_usable_p): Add support for value ranges; cleanup.
(ix86_expand_set_or_movmem): Add support for misaligned moves. (ix86_expand_set_or_movmem): Add support for misaligned moves.
...@@ -63,14 +63,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -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_AVX_P(x) TARGET_ISA_AVX_P(x)
#define TARGET_AVX2 TARGET_ISA_AVX2 #define TARGET_AVX2 TARGET_ISA_AVX2
#define TARGET_AVX2_P(x) TARGET_ISA_AVX2_P(x) #define TARGET_AVX2_P(x) TARGET_ISA_AVX2_P(x)
#define TARGET_AVX512F TARGET_ISA_AVX512F #define TARGET_AVX512F TARGET_ISA_AVX512F
#define TARGET_AVX512F_P(x) TARGET_ISA_AVX512F_P(x) #define TARGET_AVX512F_P(x) TARGET_ISA_AVX512F_P(x)
#define TARGET_AVX512PF TARGET_ISA_AVX512PF #define TARGET_AVX512PF TARGET_ISA_AVX512PF
#define TARGET_AVX512PF_P(x) TARGET_ISA_AVX512PF_P(x) #define TARGET_AVX512PF_P(x) TARGET_ISA_AVX512PF_P(x)
#define TARGET_AVX512ER TARGET_ISA_AVX512ER #define TARGET_AVX512ER TARGET_ISA_AVX512ER
#define TARGET_AVX512ER_P(x) TARGET_ISA_AVX512ER_P(x) #define TARGET_AVX512ER_P(x) TARGET_ISA_AVX512ER_P(x)
#define TARGET_AVX512CD TARGET_ISA_AVX512CD #define TARGET_AVX512CD TARGET_ISA_AVX512CD
#define TARGET_AVX512CD_P(x) TARGET_ISA_AVX512CD_P(x) #define TARGET_AVX512CD_P(x) TARGET_ISA_AVX512CD_P(x)
#define TARGET_FMA TARGET_ISA_FMA #define TARGET_FMA TARGET_ISA_FMA
#define TARGET_FMA_P(x) TARGET_ISA_FMA_P(x) #define TARGET_FMA_P(x) TARGET_ISA_FMA_P(x)
#define TARGET_SSE4A TARGET_ISA_SSE4A #define TARGET_SSE4A TARGET_ISA_SSE4A
...@@ -104,16 +104,16 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -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_AES_P(x) TARGET_ISA_AES_P(x)
#define TARGET_PCLMUL TARGET_ISA_PCLMUL #define TARGET_PCLMUL TARGET_ISA_PCLMUL
#define TARGET_PCLMUL_P(x) TARGET_ISA_PCLMUL_P(x) #define TARGET_PCLMUL_P(x) TARGET_ISA_PCLMUL_P(x)
#define TARGET_CMPXCHG16B TARGET_ISA_CX16 #define TARGET_CMPXCHG16B TARGET_ISA_CX16
#define TARGET_CMPXCHG16B_P(x) TARGET_ISA_CX16_P(x) #define TARGET_CMPXCHG16B_P(x) TARGET_ISA_CX16_P(x)
#define TARGET_FSGSBASE TARGET_ISA_FSGSBASE #define TARGET_FSGSBASE TARGET_ISA_FSGSBASE
#define TARGET_FSGSBASE_P(x) TARGET_ISA_FSGSBASE_P(x) #define TARGET_FSGSBASE_P(x) TARGET_ISA_FSGSBASE_P(x)
#define TARGET_RDRND TARGET_ISA_RDRND #define TARGET_RDRND TARGET_ISA_RDRND
#define TARGET_RDRND_P(x) TARGET_ISA_RDRND_P(x) #define TARGET_RDRND_P(x) TARGET_ISA_RDRND_P(x)
#define TARGET_F16C TARGET_ISA_F16C #define TARGET_F16C TARGET_ISA_F16C
#define TARGET_F16C_P(x) TARGET_ISA_F16C_P(x) #define TARGET_F16C_P(x) TARGET_ISA_F16C_P(x)
#define TARGET_RTM TARGET_ISA_RTM #define TARGET_RTM TARGET_ISA_RTM
#define TARGET_RTM_P(x) TARGET_ISA_RTM_P(x) #define TARGET_RTM_P(x) TARGET_ISA_RTM_P(x)
#define TARGET_HLE TARGET_ISA_HLE #define TARGET_HLE TARGET_ISA_HLE
#define TARGET_HLE_P(x) TARGET_ISA_HLE_P(x) #define TARGET_HLE_P(x) TARGET_ISA_HLE_P(x)
#define TARGET_RDSEED TARGET_ISA_RDSEED #define TARGET_RDSEED TARGET_ISA_RDSEED
...@@ -128,6 +128,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -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_XSAVE_P(x) TARGET_ISA_XSAVE_P(x)
#define TARGET_XSAVEOPT TARGET_ISA_XSAVEOPT #define TARGET_XSAVEOPT TARGET_ISA_XSAVEOPT
#define TARGET_XSAVEOPT_P(x) TARGET_ISA_XSAVEOPT_P(x) #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 TARGET_ABI_64
#define TARGET_LP64_P(x) TARGET_ABI_64_P(x) #define TARGET_LP64_P(x) TARGET_ABI_64_P(x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment