https://gcc.gnu.org/g:60a7c817d2deb640e9649825a8e4e05293a7ba2d

commit r16-2162-g60a7c817d2deb640e9649825a8e4e05293a7ba2d
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu Jul 10 10:23:31 2025 +0200

    Comment spelling fix: tunning -> tuning
    
    Kyrylo noticed another spelling bug and like usually, the same mistake
    happens in multiple places.
    
    2025-07-10  Jakub Jelinek  <ja...@redhat.com>
    
            * config/i386/x86-tune.def: Change "Tunning the" to "tuning" in
            comment and use semicolon instead of dot in comment.
            * loop-unroll.cc (decide_unroll_stupid): Comment spelling fix,
            tunning -> tuning.

Diff:
---
 gcc/config/i386/x86-tune.def | 2 +-
 gcc/loop-unroll.cc           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index a039db3cfced..a86cbad281c1 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -31,7 +31,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If 
not, see
        - Updating ix86_issue_rate and ix86_adjust_cost in i386.md
        - possibly updating ia32_multipass_dfa_lookahead, ix86_sched_reorder
          and ix86_sched_init_global if those tricks are needed.
-    - Tunning the flags below. Those are split into sections and each
+    - tuning flags below; those are split into sections and each
       section is very roughly ordered by importance.  */
 
 /*****************************************************************************/
diff --git a/gcc/loop-unroll.cc b/gcc/loop-unroll.cc
index 6149cecb28de..c80a6cb6cd0c 100644
--- a/gcc/loop-unroll.cc
+++ b/gcc/loop-unroll.cc
@@ -1185,7 +1185,7 @@ decide_unroll_stupid (class loop *loop, int flags)
 
   /* Do not unroll loops with branches inside -- it increases number
      of mispredicts.
-     TODO: this heuristic needs tunning; call inside the loop body
+     TODO: this heuristic needs tuning; call inside the loop body
      is also relatively good reason to not unroll.  */
   if (num_loop_branches (loop) > 1)
     {

Reply via email to