From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1801 invoked by alias); 21 Dec 2012 09:36:59 -0000 Received: (qmail 1735 invoked by uid 22791); 21 Dec 2012 09:36:58 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_05,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,TW_QE X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Dec 2012 09:36:52 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 21 Dec 2012 09:36:45 +0000 Received: from [10.1.69.67] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 Dec 2012 09:36:43 +0000 Message-ID: <50D42DAA.2040900@arm.com> Date: Fri, 21 Dec 2012 09:36:00 -0000 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Greta Yorsh CC: GCC Patches , Ramana Radhakrishnan , "paul@codesourcery.com" , "nickc@redhat.com" Subject: Re: [PATCH, ARM] Initial pipeline description for Cortex-A7 References: <000401cddedc$ccefa040$66cee0c0$@yorsh@arm.com> In-Reply-To: <000401cddedc$ccefa040$66cee0c0$@yorsh@arm.com> X-MC-Unique: 112122109364511201 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01291.txt.bz2 On 20/12/12 18:06, Greta Yorsh wrote: > Currently, GCC uses generic ARMv7-A tuning for Cortex-A7. > This patch adds an initial pipeline description for Cortex-A7. Details: > * integer/vfp is based on the pipeline description for Cortex-A5, > * models dual issue in limited circumstances using simple_alu_imm and > simple_alu_shift type attribute (introduced by a previous patch), > * basic neon timings. > > No regression on qemu for arm-none-eabi target with cpu cortex-a7. > > Bootstrap successful on Cortex-A15 (gcc configured with cpu cortex-a7). > > Performance evaluation on Cortex-A7 hardware: > > Coremark: > * No change compared to generic tuning even though the generated assembly= is > significantly different due to instruction scheduling. > * Improvement compared to tuning for Cortex-A5: 4% improvement in arm mode > and 9% improvement in thumb mode. > CINT2000: > * compared to generic tuning, overall improvement of 1.9%. > * compared to tuning for Cortex-A5, overall improvement of 1.5%. > * in both cases, all benchmarks improved except 254.gap. > CFP2000: > * compared to generic tuning (which doesn't do much for FP), overall > improvement of 5.5%, all benchmarks improved. > * compared to Cortex-A5 tuning (as pipeline descriptions are nearly > identical) overall no change, but individual benchmarks mixed results. > > Ok for trunk? > > Thanks, > Greta > > gcc/ChangeLog > > 2012-12-20 Greta Yorsh > > * config/arm/cortex-a7.md: New file. > * config/arm/arm.md: Include cortex-a7.md. > (generic_sched): Don't use generic scheduler for Cortex-A7. > (generic_vfp): Likewise. > * config/arm/t-arm (arm_cpu_table): Likewise. This entry is wrong. Please fix when you commit. > * config/arm/arm.c: (TARGET_SCHED_REORDER): Use arm_sched_reorde= r. > (arm_sched_reorder): New function. > (cortexa7_older_only,cortexa7_younger): Likewise. Ok once the above has been fixed. R.