[PATCH PR50572] Tune loop alignment for Atom
Sergey Ostanevich
sergos.gnu@gmail.com
Wed Oct 19 13:14:00 GMT 2011
On Wed, Oct 19, 2011 at 4:14 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
> You can just change the default in processor_target_table.
>
> Uros.
>
Will it be applicable during optimizations for size? It will hurt,
although not much (see PR).
New patch is below. Ok for trunk as obvious?
Sergos
2011-10-19 Sergey Ostanevich <sergos.gnu@gmail.com>
* gcc/config/i386/i386.c (ix86_option_override_internal): use loop
align by 16 bytes for Atom platform
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}
};
More information about the Gcc-patches
mailing list