This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH PR50572] Tune loop alignment for Atom


On Wed, Oct 19, 2011 at 9:30 AM, Sergey Ostanevich <sergos.gnu@gmail.com> wrote:

> 2011-10-18 ?Sergey Ostanevich <sergos.gnu@gmail.com>
>
> ? ?* config/i386/i386.c (processor_target_table): Change Atom
> ? ?align_loops_max_skip to 15.

Please add PR # in ChangeLog.

>
> 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] =

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

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]