From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7181 invoked by alias); 25 Jan 2013 18:26:10 -0000 Received: (qmail 7166 invoked by uid 22791); 25 Jan 2013 18:26:08 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_LOW 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, 25 Jan 2013 18:25:36 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 25 Jan 2013 18:25:34 +0000 Received: from e103227vm ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 25 Jan 2013 18:25:34 +0000 From: "Greta Yorsh" To: "GCC Patches" Cc: "Richard Earnshaw" , "Ramana Radhakrishnan" , , , "Greta Yorsh" References: <000401cdfb27$da2f1f30$8e8d5d90$@yorsh@arm.com> In-Reply-To: <000401cdfb27$da2f1f30$8e8d5d90$@yorsh@arm.com> Subject: [PATCH,ARM][5/5] Cleanup in cortex-a7 pipeline description Date: Fri, 25 Jan 2013 18:26:00 -0000 Message-ID: <001a01cdfb29$5b7f6940$127e3bc0$@yorsh@arm.com> MIME-Version: 1.0 X-MC-Unique: 113012518253403101 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001B_01CDFB29.5B7F6940" 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: 2013-01/txt/msg01254.txt.bz2 This is a multi-part message in MIME format. ------=_NextPart_000_001B_01CDFB29.5B7F6940 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-length: 452 In cortex_a7_idiv, the use of cortex_a7_all reservation can be replaced by cortex_a7_both, because all other reservations require at least one of cortex_a7_ex1 or cortex_a7_ex2. Then, remove unused reservation units cortex_a7_neon and cortex_a7_all. gcc/ 2013-01-03 Greta Yorsh * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.= ------=_NextPart_000_001B_01CDFB29.5B7F6940 Content-Type: text/plain; name=5-cleanup.patch.txt Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="5-cleanup.patch.txt" Content-length: 1068 diff --git a/gcc/config/arm/cortex-a7.md b/gcc/config/arm/cortex-a7.md index 8c45cb8..21f84b5 100644 --- a/gcc/config/arm/cortex-a7.md +++ b/gcc/config/arm/cortex-a7.md @@ -57,15 +57,6 @@ =20 (define_cpu_unit "cortex_a7_fp_div_sqrt" "cortex_a7") =20 -;; Neon pipeline -(define_cpu_unit "cortex_a7_neon" "cortex_a7") - -(define_reservation "cortex_a7_all" "cortex_a7_both+\ - cortex_a7_fpmul_pipe+\ - cortex_a7_fpadd_pipe+\ - cortex_a7_fp_div_sqrt+\ - cortex_a7_neon") - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Branches. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -151,7 +142,7 @@ (define_insn_reservation "cortex_a7_idiv" 5 (and (eq_attr "tune" "cortexa7") (eq_attr "insn" "udiv,sdiv")) - "cortex_a7_all*5") + "cortex_a7_both*5") =20 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Load/store instructions. ------=_NextPart_000_001B_01CDFB29.5B7F6940--