Skip to content
Snippets Groups Projects
  1. Jan 02, 2025
  2. Jan 05, 2024
    • Jonathan Wakely's avatar
      contrib: Remove C-style comments from Python files · 29abd09a
      Jonathan Wakely authored
      These Python scripts have "*/" at the end of the license header comment
      blocks, presumably copy&pasted from C files.
      
      contrib/ChangeLog:
      
      	* analyze_brprob.py: Remove stray text at end of comment.
      	* analyze_brprob_spec.py: Likewise.
      	* check-params-in-docs.py: Likewise.
      	* check_GNU_style.py: Likewise.
      	* check_GNU_style_lib.py: Likewise.
      	* filter-clang-warnings.py: Likewise.
      	* gcc-changelog/git_check_commit.py: Likewise.
      	* gcc-changelog/git_commit.py: Likewise.
      	* gcc-changelog/git_email.py: Likewise.
      	* gcc-changelog/git_repository.py: Likewise.
      	* gcc-changelog/git_update_version.py: Likewise.
      	* gcc-changelog/test_email.py: Likewise.
      	* gen_autofdo_event.py: Likewise.
      	* mark_spam.py: Likewise.
      	* unicode/gen-box-drawing-chars.py: Likewise.
      	* unicode/gen-combining-chars.py: Likewise.
      	* unicode/gen-printable-chars.py: Likewise.
      	* unicode/gen_wcwidth.py: Likewise.
      29abd09a
  3. Jan 03, 2024
  4. Jan 16, 2023
  5. Dec 14, 2022
    • Martin Liska's avatar
      contrib: add copyright for my scripts · 81f86cb9
      Martin Liska authored
      contrib/ChangeLog:
      
      	* analyze_brprob.py: Add copyright header.
      	* analyze_brprob_spec.py: Likewise.
      	* check-params-in-docs.py: Likewise.
      	* check_GNU_style.py: Likewise.
      	* check_GNU_style_lib.py: Likewise.
      	* filter-clang-warnings.py: Likewise.
      	* gcc-changelog/git_check_commit.py: Likewise.
      	* gcc-changelog/git_commit.py: Likewise.
      	* gcc-changelog/git_email.py: Likewise.
      	* gcc-changelog/git_repository.py: Likewise.
      	* gcc-changelog/git_update_version.py: Likewise.
      	* gcc-changelog/test_email.py: Likewise.
      	* mark_spam.py: Likewise.
      81f86cb9
  6. Jan 31, 2022
  7. Jan 19, 2018
    • Martin Liska's avatar
      Fix usage of analyze_brprob.py script. · d1b9a572
      Martin Liska authored
      2018-01-19  Martin Liska  <mliska@suse.cz>
      
      	* analyze_brprob.py: Support new format that can be easily
      	parsed. Add new column to report.
      2018-01-19  Martin Liska  <mliska@suse.cz>
      
      	* predict.c (dump_prediction): Add new format for
      	analyze_brprob.py script which is enabled with -details
      	suboption.
      	* profile-count.h (precise_p): New function.
      
      From-SVN: r256886
      d1b9a572
  8. Nov 08, 2017
  9. May 30, 2017
  10. Dec 14, 2016
    • Martin Liska's avatar
      Enhance analyze_brprob script · ca3b6071
      Martin Liska authored
      	* analyze_brprob.py: Add new column to output and new sorting
      	option. Fix coding style to not exceed 80 characters.
      	* analyze_brprob_spec.py: Add new sorting
      	option. Fix coding style to not exceed 80 characters.
      
      From-SVN: r243640
      ca3b6071
  11. Jul 21, 2016
  12. Jun 24, 2016
    • Martin Liska's avatar
      Dump profile-based number of iterations · 199b1891
      Martin Liska authored
      	* analyze_brprob.py: Parse and display average number
      	of loop iterations.
      	* cfgloop.c (flow_loop_dump): Dump average number of loop iterations.
      	* cfgloop.h: Change 'struct loop' to 'const struct loop' for a
      	few functions.
      	* cfgloopanal.c (expected_loop_iterations_unbounded): Set a new
      	argument to true if the expected number of iterations is
      	loop-based.
      
      From-SVN: r237762
      199b1891
  13. Jun 17, 2016
    • Martin Liska's avatar
      Change PRED_LOOP_EXIT from 92 to 85. · 69071d86
      Martin Liska authored
      	* analyze_brprob.py: Fix columns of script output.
      	* predict.def: PRED_LOOP_EXIT from 92 to 85.
      	* gcc.dg/predict-9.c: Fix dump scanning.
      
      From-SVN: r237556
      69071d86
  14. Jun 09, 2016
    • Martin Liska's avatar
      Add sorting support to analyze_brprob script · 0d73e480
      Martin Liska authored
      	* analyze_brprob.py: Add new argument --sorting.
      
      From-SVN: r237256
      0d73e480
    • Martin Liska's avatar
      Add edge predictions pruning · e49efc14
      Martin Liska authored
      	* analyze_brprob.py: Cover new dump output format.
      	* predict.c (dump_prediction): Add new argument.
      	(enum predictor_reason): New enum.
      	(struct predictor_hash): New struct.
      	(predictor_hash::hash): New function.
      	(predictor_hash::equal): Likewise.
      	(not_removed_prediction_p): New function.
      	(prune_predictions_for_bb): Likewise.
      	(combine_predictions_for_bb): Prune predictions.
      	* g++.dg/predict-loop-exit-1.C: Scan for a new dump format.
      	* g++.dg/predict-loop-exit-2.C: Likewise.
      	* g++.dg/predict-loop-exit-3.C: Likewise.
      	* gcc.dg/predict-1.c: Likewise.
      	* gcc.dg/predict-2.c: Likewise.
      	* gcc.dg/predict-3.c: Likewise.
      	* gcc.dg/predict-4.c: Likewise.
      	* gcc.dg/predict-5.c: Likewise.
      	* gcc.dg/predict-6.c: Likewise.
      	* gcc.dg/predict-7.c: Likewise.
      
      From-SVN: r237255
      e49efc14
  15. May 31, 2016
  16. Apr 28, 2016
Loading