> Please provide a patch which can be applied.  Cut/paste doesn't create
> a working patch.  Please attach it.
>
> --
> H.J.
>

Will that works?
Sergos.

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c73404..e21cf86 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-20  Sergey Ostanevich  <sergos....@gmail.com>
+
+       * config/i386/i386.c (processor_target_table): Change Atom
+       align_loops_max_skip to 15.
+
 2011-10-17  Michael Spertus  <mike_sper...@symantec.com>

        * gcc/c-family/c-common.c (c_common_reswords): Add __bases,
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 2c53423..8c60086 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2596,7 +2596,7 @@ static const struct ptt
processor_target_table[PROCESSOR_max] =
   {&bdver1_cost, 32, 24, 32, 7, 32},
   {&bdver2_cost, 32, 24, 32, 7, 32},
   {&btver1_cost, 32, 24, 32, 7, 32},
-  {&atom_cost, 16, 7, 16, 7, 16}
+  {&atom_cost, 16, 15, 16, 7, 16}
 };

 static const char *const cpu_names[TARGET_CPU_DEFAULT_max] =

Reply via email to