1. 28 May, 2014 13 commits
    • vxworks.h (VXCPU_FOR_8548): New. · 49664873
      2014-05-28  Olivier Hainque  <hainque@adacore.com>
      
              * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
              (CPP_SPEC): Add entry for -mcpu=8548.
              * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
              * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
      
      From-SVN: r211011
      Olivier Hainque committed
    • -fuse-caller-save - Support in lra · b8c6a45a
      2014-05-28  Tom de Vries  <tom@codesourcery.com>
      
      	* lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
      	* lra.c (initialize_lra_reg_info_element): Add init of
      	actual_call_used_reg_set field.
      	(lra): Call lra_create_live_ranges before lra_inheritance for
      	-fuse-caller-save.
      	* lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
      	-fuse-caller-save.
      	* lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
      	instead of call_used_reg_set for -fuse-caller-save.
      	* lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
      
      From-SVN: r211010
      Tom de Vries committed
    • -fuse-caller-save - Add documentation · dbe7d9e3
      2014-05-28  Radovan Obradovic  <robradovic@mips.com>
                  Tom de Vries  <tom@codesourcery.com>
      
      	* doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save to
      	gccoptlist.
      	(@item -fuse-caller-save): New item.
      
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r211009
      Radovan Obradovic committed
    • -fuse-caller-save - Enable by default at O2 and higher · 5c989bbf
      2014-05-28  Radovan Obradovic  <robradovic@mips.com>
                  Tom de Vries  <tom@codesourcery.com>
      
      	* opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
      	OPT_fuse_caller_save.
      
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r211008
      Radovan Obradovic committed
    • -fuse-caller-save - Use collected register usage information · c2ba7e7a
      2014-05-28  Radovan Obradovic  <robradovic@mips.com>
                  Tom de Vries  <tom@codesourcery.com>
      
      	* df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
      	* caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
      	get_call_reg_set_usage.
      	* resource.c (mark_set_resources, mark_target_live_regs): Use
      	get_call_reg_set_usage.
      	* ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
      	field.
      	(ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
      	* ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
      	Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
      	* ira-build.c (ira_create_allocno): Init
      	ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
      	(create_cap_allocno, propagate_allocno_info)
      	(propagate_some_info_from_allocno)
      	(copy_info_to_removed_store_destinations): Handle
      	ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
      	* ira-costs.c (ira_tune_allocno_costs): Use
      	ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
      
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r211007
      Radovan Obradovic committed
    • -fuse-caller-save - Collect register usage information · 27c07cc5
      2014-05-28  Radovan Obradovic  <robradovic@mips.com>
                  Tom de Vries  <tom@codesourcery.com>
      
      	* cgraph.h (struct cgraph_rtl_info): Add function_used_regs
      	and function_used_regs_valid fields.
      	* final.c: Move include of hard-reg-set.h to before rtl.h to declare
      	find_all_hard_reg_sets.
      	(collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
      	(get_call_reg_set_usage): New function.
      	(rest_of_handle_final): Use collect_fn_hard_reg_usage.
      	* regs.h (get_call_reg_set_usage): Declare.
      
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r211006
      Radovan Obradovic committed
    • re PR libgcc/61152 (Missing GCC Runtime Library Exception in some files that are… · ca48e5ef
      re PR libgcc/61152 (Missing GCC Runtime Library Exception in some files that are included in libgcc)
      
      gcc/
      	PR libgcc/61152
      	* config/dbx.h (License): Add Runtime Library Exception.
      	* config/newlib-stdint.h (License): Same.
      	* config/rtems.h (License): Same
      	* config/initfini-array.h (License): Same
      	* config/v850/v850.h (License): Same.
      	* config/v850/v850-opts.h (License): Same
      	* config/v850/rtems.h (License): Same.
      
      From-SVN: r211004
      Georg-Johann Lay committed
    • 2014-05-25 Paolo Carlini <paolo.carlini@oracle.com> · 171fa27e
      	* Fix typo in ChangeLog entry.
      
      From-SVN: r211003
      Paolo Carlini committed
    • re PR target/61044 (Computed goto on AVR fails to use word-addressing) · 92747f7d
      	PR target/61044
      	* doc/extend.texi (Local Labels): Note that label differences are
      	not supported for AVR.
      
      From-SVN: r210999
      Georg-Johann Lay committed
    • rtl.h (set_for_reg_notes): Declare. · c8912e53
      2014-05-26  Richard Sandiford  <rdsandiford@googlemail.com>
                  Olivier Hainque  <hainque@adacore.com>
      
              * rtl.h (set_for_reg_notes): Declare.
              * emit-rtl.c (set_for_reg_notes): New function.
              (set_unique_reg_note): Use it.
              * optabs.c (add_equal_note): Likewise
      
      
      Co-Authored-By: Olivier Hainque <hainque@adacore.com>
      
      From-SVN: r210998
      Richard Sandiford committed
    • aarch64.md (stack_protect_set_<mode>): Use <w> for the register in assembly template. · 9c6ab05f
      2014-05-27  Andrew Pinski  <apinski@cavium.com>
      
      	* config/aarch64/aarch64.md (stack_protect_set_<mode>):
      	Use <w> for the register in assembly template.
      	(stack_protect_test): Use the mode of operands[0] for the
      	result.
      	(stack_protect_test_<mode>): Use <w> for the register
      	in assembly template.
      
      From-SVN: r210996
      Andrew Pinski committed
    • rx.c (add_vector_labels): New. · 69c7a374
      * config/rx/rx.c (add_vector_labels): New.
      (rx_output_function_prologue): Call it.
      (rx_handle_func_attribute): Don't require empty arguments.
      (rx_handle_vector_attribute): New.
      (rx_attribute_table): Add "vector" attribute.
      * doc/extend.texi (interrupt, vector): Document new/changed
      RX-specific attributes.
      
      * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
      
      From-SVN: r210995
      DJ Delorie committed
    • Daily bump. · fa07538e
      From-SVN: r210994
      GCC Administrator committed
  2. 27 May, 2014 24 commits
  3. 26 May, 2014 3 commits