Skip to content
Snippets Groups Projects
  1. Jun 10, 2019
    • Martin Liska's avatar
      Update __gcov_* scanned function name in a test-case. · 07ca30a0
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* gcc.dg/no_profile_instrument_function-attr-1.c: Fix
      	function name.
      
      From-SVN: r272116
      07ca30a0
    • Martin Liska's avatar
      Reduce SCCs in IPA postorder. · 97e59627
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* ipa-cp.c (ignore_edge_p): New function.
      	(build_toporder_info): Use it.
      	* ipa-inline.c (ignore_edge_p): New function/
      	(inline_small_functions): Use it.
      	* ipa-pure-const.c (ignore_edge_for_nothrow):
      	Verify opt_for_fn for caller and callee.
      	(ignore_edge_for_pure_const): Likewise.
      	* ipa-reference.c (ignore_edge_p): Extend to check
      	for opt_for_fn.
      	* ipa-utils.c (searchc): Refactor.
      	* ipa-utils.h: Fix coding style.
      
      From-SVN: r272115
      97e59627
    • Claudiu Zissulescu's avatar
      [ARC] Update RTX costs. · d797b115
      Claudiu Zissulescu authored
      Update RTX costs to reflect better the ARC architecture.
      
      gcc/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc.c (arc_rtx_costs): Update costs.
      
      /gcc/testsuite
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* gcc.target/arc/jumptables.c: Update test.
      
      From-SVN: r272113
      d797b115
    • Claudiu Zissulescu's avatar
      [ARC] Improve code gen when compiling for size · 03301dcc
      Claudiu Zissulescu authored
      When optimizing for size, try to avoid using long immediate by
      employing alternative instructions.
      
      gcc/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
              * config/arc/arc-protos.h (arc_check_ior_const): Declare.
              (arc_split_ior): Likewise.
              (arc_check_mov_const): Likewise.
              (arc_split_mov_const): Likewise.
              * config/arc/arc.c (arc_print_operand): Fix 'z' letter.
              (arc_rtx_costs): Replace check Crr with Cax constraint.
              (prepare_move_operands): Cleanup, remove unused code.
              (arc_split_ior): New function.
              (arc_check_ior_const): Likewise.
              (arc_split_mov_const): Likewise.
              (arc_check_mov_const): Likewise.
              * config/arc/arc.md (movsi_insn): Restructure it, and convert it
              in define_insn_and_split pattern.
              (iorsi3): Likewise.
              (mulsi3_v2): Add new matching variant.
              (andsi3_i): Cleanup pattern.
              (rotrsi3_cnt1): Update pattern.
              (rotrsi3_cnt8): New pattern.
              (ashlsi2_cnt8): Likewise.
              (ashlsi2_cnt16): Likewise.
              * config/arc/constraints.md (C0p): Update constraint.
              (Crr): Remove it.
              (C0x): New pattern.
              (Cax): New pattern.
      
      testsuite/
      xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
      
              * gcc.target/arc/and-cnst-size.c: New test.
              * gcc.target/arc/mov-cnst-size.c: Likewise.
              * gcc.target/arc/or-cnst-size.c: Likewise.
              * gcc.target/arc/store-merge-1.c: Update test.
              * gcc.target/arc/arc700-stld-hazard.c: Likewise.
              * gcc.target/arc/cmem-1.c: Likewise.
              * gcc.target/arc/cmem-2.c: Likewise.
              * gcc.target/arc/cmem-3.c: Likewise.
              * gcc.target/arc/cmem-4.c: Likewise.
              * gcc.target/arc/cmem-5.c: Likewise.
              * gcc.target/arc/cmem-6.c: Likewise.
              * gcc.target/arc/loop-4.c: Likewise.
              * gcc.target/arc/movh_cl-1.c: Likewise.
              * gcc.target/arc/sdata-3.c: Likewise.
      
      From-SVN: r272112
      03301dcc
    • Martin Liska's avatar
      IPA ICF: enhance dump about items in a non-singular class. · 07b8d0af
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes):
      	Update coding style.
      	(sem_item_optimizer::dump_cong_classes):
      	Print how many items are in a non-singular class.  Improve
      	coding style.
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* gcc.dg/ipa/pr68035.c: Update scanned pattern.
      
      From-SVN: r272111
      07b8d0af
    • Martin Liska's avatar
      Update a bit dump format. · 74ac8f1f
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* value-prof.c (dump_histogram_value): Change dump format.
      	(gimple_mod_subtract_transform): Remove legacy comment.
      
      From-SVN: r272108
      74ac8f1f
    • Martin Liska's avatar
      Dump histograms only if present. · 6cea7e39
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* value-prof.c (dump_histogram_value): Print histogram values
      	only if present.
      
      From-SVN: r272107
      6cea7e39
    • Martin Liska's avatar
      Implement N disk counters for single value and indirect call counters. · 92d41717
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* gcov-io.h (GCOV_DISK_SINGLE_VALUES): New.
      	(GCOV_SINGLE_VALUE_COUNTERS): Likewise.
      	* ipa-profile.c (ipa_profile_generate_summary):
      	Use get_most_common_single_value.
      	* tree-profile.c (gimple_init_gcov_profiler):
      	Instrument with __gcov_one_value_profiler_v2
      	and __gcov_indirect_call_profiler_v4.
      	* value-prof.c (dump_histogram_value):
      	Print all values for HIST_TYPE_SINGLE_VALUE.
      	(stream_out_histogram_value): Update assert for
      	N values.
      	(stream_in_histogram_value): Set number of
      	counters for HIST_TYPE_SINGLE_VALUE.
      	(get_most_common_single_value): New.
      	(gimple_divmod_fixed_value_transform):
      	Use get_most_common_single_value.
      	(gimple_ic_transform): Likewise.
      	(gimple_stringops_transform): Likewise.
      	(gimple_find_values_to_profile): Set number
      	of counters for HIST_TYPE_SINGLE_VALUE.
      	* value-prof.h (get_most_common_single_value):
      	New.
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* Makefile.in: Add __gcov_one_value_profiler_v2,
      	__gcov_one_value_profiler_v2_atomic and
      	__gcov_indirect_call_profiler_v4.
      	* libgcov-merge.c (__gcov_merge_single): Change
      	function signature.
      	(merge_single_value_set): New.
      	* libgcov-profiler.c (__gcov_one_value_profiler_body):
      	Update functionality.
      	(__gcov_one_value_profiler): Remove.
      	(__gcov_one_value_profiler_v2): ... this.
      	(__gcov_one_value_profiler_atomic): Rename to ...
      	(__gcov_one_value_profiler_v2_atomic): this.
      	(__gcov_indirect_call_profiler_v3): Rename to ...
      	(__gcov_indirect_call_profiler_v4): ... this.
      	* libgcov.h (__gcov_one_value_profiler): Remove.
      	(__gcov_one_value_profiler_atomic): Remove.
      	(__gcov_one_value_profiler_v2_atomic): New.
      	(__gcov_indirect_call_profiler_v3): Remove.
      	(__gcov_one_value_profiler_v2): New.
      	(__gcov_indirect_call_profiler_v4): New.
      	(gcov_get_counter_ignore_scaling): New function.
      
      From-SVN: r272106
      92d41717
    • Iain Sandoe's avatar
      testsuite - Require alias support in a test using it. · b076a526
      Iain Sandoe authored
      2019-06-10  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* gcc.dg/attr-copy-6.c: Require alias support.
      
      From-SVN: r272105
      b076a526
    • Martin Liska's avatar
      Fix build with --enable-gather-detailed-mem-stats. · 48f8fefe
      Martin Liska authored
      2019-06-10  Martin Liska  <mliska@suse.cz>
      
      	* hash-map.h: Pass default value to hash_table ctor.
      	* hash-table.h: Add default value to call of a ctor.
      
      From-SVN: r272104
      48f8fefe
    • GCC Administrator's avatar
      Daily bump. · 027c94b8
      GCC Administrator authored
      From-SVN: r272102
      027c94b8
  2. Jun 09, 2019
  3. Jun 08, 2019
  4. Jun 07, 2019
Loading