Commit 88b97037 by Uros Bizjak

alpha.c (TARGET_LRA_P): New define.

	* config/alpha/alpha.c (TARGET_LRA_P): New define.

From-SVN: r196756
parent b4904956
2013-03-17 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (TARGET_LRA_P): New define.
2013-03-17 Jakub Jelinek <jakub@redhat.com> 2013-03-17 Jakub Jelinek <jakub@redhat.com>
PR target/56640 PR target/56640
...@@ -34,30 +38,31 @@ ...@@ -34,30 +38,31 @@
* configure.ac: Add MicroBlaze TLS support detection. * configure.ac: Add MicroBlaze TLS support detection.
* configure: Regenerate. * configure: Regenerate.
* config/microblaze/microblaze-protos.h: (microblaze_cannot_force_const_mem, * config/microblaze/microblaze-protos.h
microblaze_tls_referenced_p, symbol_mentioned_p, label_mentioned_p): (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p,
Add prototypes. symbol_mentioned_p, label_mentioned_p): Add prototypes.
* config/microblaze/microblaze.c (microblaze_address_type): Add ADDRESS_TLS * config/microblaze/microblaze.c (microblaze_address_type): Add
and tls_reloc address types. ADDRESS_TLS and tls_reloc address types.
(microblaze_address_info): Add tls_reloc. (microblaze_address_info): Add tls_reloc.
(TARGET_HAVE_TLS): Define. (TARGET_HAVE_TLS): Define.
(get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1,
microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, microblaze_cannot_force_const_mem,
symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, load_tls_operand, symbol_mentioned_p, label_mentioned_p, tls_mentioned_p,
microblaze_call_tls_get_addr, microblaze_legitimize_tls_address): New functions. load_tls_operand, microblaze_call_tls_get_addr,
microblaze_legitimize_tls_address): New functions.
(microblaze_classify_unspec): Handle UNSPEC_TLS. (microblaze_classify_unspec): Handle UNSPEC_TLS.
(get_base_reg): Use microblaze_tls_symbol_p. (get_base_reg): Use microblaze_tls_symbol_p.
(microblaze_classify_address): Handle TLS. (microblaze_classify_address): Handle TLS.
(microblaze_legitimate_pic_operand): Use symbol_mentioned_p, label_mentioned_p (microblaze_legitimate_pic_operand): Use symbol_mentioned_p,
and microblaze_tls_referenced_p. label_mentioned_p and microblaze_tls_referenced_p.
(microblaze_legitimize_address): Handle TLS. (microblaze_legitimize_address): Handle TLS.
(microblaze_address_insns): Handle ADDRESS_TLS. (microblaze_address_insns): Handle ADDRESS_TLS.
(pic_address_needs_scratch): Handle TLS. (pic_address_needs_scratch): Handle TLS.
(print_operand_address): Handle TLS. (print_operand_address): Handle TLS.
(microblaze_expand_prologue): Check TLS_NEEDS_GOT. (microblaze_expand_prologue): Check TLS_NEEDS_GOT.
(microblaze_expand_move): Handle TLS. (microblaze_expand_move): Handle TLS.
(microblaze_legitimate_constant_p): Check microblaze_cannot_force_const_mem (microblaze_legitimate_constant_p): Check
and microblaze_tls_symbol_p. microblaze_cannot_force_const_mem and microblaze_tls_symbol_p.
(TARGET_CANNOT_FORCE_CONST_MEM): Define. (TARGET_CANNOT_FORCE_CONST_MEM): Define.
* config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define
(PIC_OFFSET_TABLE_REGNUM): Set. (PIC_OFFSET_TABLE_REGNUM): Set.
...@@ -65,7 +70,8 @@ ...@@ -65,7 +70,8 @@
* config/microblaze/microblaze.md (UNSPEC_TLS): Define. * config/microblaze/microblaze.md (UNSPEC_TLS): Define.
(addsi3, movsi_internal2, movdf_internal): Update constraints (addsi3, movsi_internal2, movdf_internal): Update constraints
* config/microblaze/predicates.md (arith_plus_operand): Define * config/microblaze/predicates.md (arith_plus_operand): Define
(move_operand): Redefine as move_src_operand, check microblaze_tls_referenced_p. (move_operand): Redefine as move_src_operand,
check microblaze_tls_referenced_p.
2013-03-14 Ian Bolton <ian.bolton@arm.com> 2013-03-14 Ian Bolton <ian.bolton@arm.com>
...@@ -733,8 +739,7 @@ ...@@ -733,8 +739,7 @@
pointer_set_destroy on not_executed_last_iteration. pointer_set_destroy on not_executed_last_iteration.
PR middle-end/56461 PR middle-end/56461
* tree-vect-loop.c (vectorizable_reduction): Release vect_defs * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector.
vector.
PR middle-end/56461 PR middle-end/56461
* ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of
...@@ -850,8 +855,7 @@ ...@@ -850,8 +855,7 @@
2013-02-26 Marek Polacek <polacek@redhat.com> 2013-02-26 Marek Polacek <polacek@redhat.com>
PR tree-optimization/56426 PR tree-optimization/56426
* tree-ssa-loop.c (tree_ssa_loop_init): Always call * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize.
scev_initialize.
2013-02-26 Richard Biener <rguenther@suse.de> 2013-02-26 Richard Biener <rguenther@suse.de>
...@@ -895,6 +899,7 @@ ...@@ -895,6 +899,7 @@
Iain Sandoe <iain@codesourcery.com> Iain Sandoe <iain@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com> Nathan Froyd <froydnj@codesourcery.com>
Chao-ying Fu <fu@mips.com> Chao-ying Fu <fu@mips.com>
* doc/extend.texi: (micromips, nomicromips, nocompression): * doc/extend.texi: (micromips, nomicromips, nocompression):
Document new function attributes. Document new function attributes.
* doc/invoke.texi (minterlink-compressed, mmicromips, * doc/invoke.texi (minterlink-compressed, mmicromips,
...@@ -1281,8 +1286,8 @@ ...@@ -1281,8 +1286,8 @@
2013-02-20 Jan Hubicka <jh@suse.cz> 2013-02-20 Jan Hubicka <jh@suse.cz>
PR tree-optimization/56265 PR tree-optimization/56265
* ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when target is * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph
referenced for firs ttime. when target is referenced for first time.
2013-02-20 Richard Biener <rguenther@suse.de> 2013-02-20 Richard Biener <rguenther@suse.de>
...@@ -1293,8 +1298,7 @@ ...@@ -1293,8 +1298,7 @@
not return anything. not return anything.
(rename_ssa_copies): Do not remove unused locals. (rename_ssa_copies): Do not remove unused locals.
* tree-ssa-ccp.c (do_ssa_ccp): Likewise. * tree-ssa-ccp.c (do_ssa_ccp): Likewise.
* tree-ssanames.c (pass_release_ssa_names): Remove unused * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first.
locals first.
* passes.c (execute_function_todo): Do not schedule unused locals * passes.c (execute_function_todo): Do not schedule unused locals
removal if cleanup_tree_cfg did something. removal if cleanup_tree_cfg did something.
* tree-ssa-live.c (remove_unused_locals): Dump statistics * tree-ssa-live.c (remove_unused_locals): Dump statistics
...@@ -1303,8 +1307,7 @@ ...@@ -1303,8 +1307,7 @@
2013-02-20 Richard Biener <rguenther@suse.de> 2013-02-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/56398 PR tree-optimization/56398
* tree-vect-loop-manip.c (adjust_debug_stmts): Skip * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs.
SSA default defs.
2013-02-20 Martin Jambor <mjambor@suse.cz> 2013-02-20 Martin Jambor <mjambor@suse.cz>
...@@ -1368,7 +1371,6 @@ ...@@ -1368,7 +1371,6 @@
2012-02-19 Andrey Belevantsev <abel@ispras.ru> 2012-02-19 Andrey Belevantsev <abel@ispras.ru>
PR middle-end/55889 PR middle-end/55889
* sel-sched.c: Include ira.h. * sel-sched.c: Include ira.h.
(implicit_clobber_conflict_p): New function. (implicit_clobber_conflict_p): New function.
(moveup_expr): Use it. (moveup_expr): Use it.
...@@ -1403,8 +1405,7 @@ ...@@ -1403,8 +1405,7 @@
* genopinit.c (raw_optab_handler): Use this_fn_optabs. * genopinit.c (raw_optab_handler): Use this_fn_optabs.
(swap_optab_enable): Same. (swap_optab_enable): Same.
(init_all_optabs): Use argument instead of global. (init_all_optabs): Use argument instead of global.
* tree.h (struct tree_optimization_option): New field * tree.h (struct tree_optimization_option): New field target_optabs.
target_optabs.
* expr.h (init_all_optabs): Add argument to prototype. * expr.h (init_all_optabs): Add argument to prototype.
(TREE_OPTIMIZATION_OPTABS): New. (TREE_OPTIMIZATION_OPTABS): New.
(save_optabs_if_changed): Protoize. (save_optabs_if_changed): Protoize.
...@@ -1428,8 +1429,8 @@ ...@@ -1428,8 +1429,8 @@
PR target/56214 PR target/56214
* config/pa/predicates.md (base14_operand): Except for BLKmode, QImode * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
and HImode, require all displacements to be an integer multiple of their and HImode, require all displacements to be an integer multiple of
mode size. their mode size.
* config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
only allow QImode and HImode when reload is in progress and strict is only allow QImode and HImode when reload is in progress and strict is
true. Likewise for symbolic addresses. Use base14_operand to check true. Likewise for symbolic addresses. Use base14_operand to check
...@@ -1480,8 +1481,7 @@ ...@@ -1480,8 +1481,7 @@
Dodji Seketeli <dodji@redhat.com> Dodji Seketeli <dodji@redhat.com>
PR asan/56330 PR asan/56330
* asan.c (get_mem_refs_of_builtin_call): White space and style * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup.
cleanup.
(instrument_mem_region_access): Do not forget to always put (instrument_mem_region_access): Do not forget to always put
instrumentation of the of 'base' and 'base + len' in a "if (len != instrumentation of the of 'base' and 'base + len' in a "if (len !=
0) statement, even for cases where either 'base' or 'base + len' 0) statement, even for cases where either 'base' or 'base + len'
...@@ -1571,13 +1571,12 @@ ...@@ -1571,13 +1571,12 @@
re-initializing preserved loops. re-initializing preserved loops.
* loop-unswitch.c (unswitch_single_loop): Return whether * loop-unswitch.c (unswitch_single_loop): Return whether
we unswitched the loop. Do not verify loop state here. we unswitched the loop. Do not verify loop state here.
(unswitch_loops): When we unswitched a loop discover new (unswitch_loops): When we unswitched a loop discover new loops.
loops.
2013-02-13 Kostya Serebryany <kcc@google.com> 2013-02-13 Kostya Serebryany <kcc@google.com>
* config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset on x86_64 * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset
linux. on x86_64 linux.
* sanitizer.def: Rename __asan_init to __asan_init_v1. * sanitizer.def: Rename __asan_init to __asan_init_v1.
2013-02-12 Dodji Seketeli <dodji@redhat.com> 2013-02-12 Dodji Seketeli <dodji@redhat.com>
......
...@@ -9872,6 +9872,9 @@ alpha_canonicalize_comparison (int *code, rtx *op0, rtx *op1, ...@@ -9872,6 +9872,9 @@ alpha_canonicalize_comparison (int *code, rtx *op0, rtx *op1,
#undef TARGET_LEGITIMATE_ADDRESS_P #undef TARGET_LEGITIMATE_ADDRESS_P
#define TARGET_LEGITIMATE_ADDRESS_P alpha_legitimate_address_p #define TARGET_LEGITIMATE_ADDRESS_P alpha_legitimate_address_p
#undef TARGET_LRA_P
#define TARGET_LRA_P hook_bool_void_true
#undef TARGET_CONDITIONAL_REGISTER_USAGE #undef TARGET_CONDITIONAL_REGISTER_USAGE
#define TARGET_CONDITIONAL_REGISTER_USAGE alpha_conditional_register_usage #define TARGET_CONDITIONAL_REGISTER_USAGE alpha_conditional_register_usage
......
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