From patchwork Thu Oct 20 08:05:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sergey Ostanevich X-Patchwork-Id: 120754 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9977CB70D6 for ; Thu, 20 Oct 2011 19:05:29 +1100 (EST) Received: (qmail 16780 invoked by alias); 20 Oct 2011 08:05:25 -0000 Received: (qmail 16766 invoked by uid 22791); 20 Oct 2011 08:05:23 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Oct 2011 08:05:08 +0000 Received: by yxj20 with SMTP id 20so273314yxj.20 for ; Thu, 20 Oct 2011 01:05:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.15.10 with SMTP id i10mr16704311faa.17.1319097907113; Thu, 20 Oct 2011 01:05:07 -0700 (PDT) Received: by 10.223.89.75 with HTTP; Thu, 20 Oct 2011 01:05:06 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Oct 2011 12:05:06 +0400 Message-ID: Subject: Re: [PATCH PR50572] Tune loop alignment for Atom From: Sergey Ostanevich To: "H.J. Lu" Cc: Uros Bizjak , "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org > 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. static const char *const cpu_names[TARGET_CPU_DEFAULT_max] = 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 + + * config/i386/i386.c (processor_target_table): Change Atom + align_loops_max_skip to 15. + 2011-10-17 Michael Spertus * 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} };