From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22685 invoked by alias); 19 Nov 2012 17:51:23 -0000 Received: (qmail 22537 invoked by uid 22791); 19 Nov 2012 17:51:19 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,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; Mon, 19 Nov 2012 17:51:14 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Mon, 19 Nov 2012 17:51:12 +0000 Received: from e106372vm ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 19 Nov 2012 17:51:12 +0000 From: "Kyrylo Tkachov" To: Cc: "Richard Earnshaw" , "Ramana Radhakrishnan" Subject: [PATCH][ARM] Define predicable attribute for arm_abssi2 and arm_neg_abssi2 Date: Mon, 19 Nov 2012 17:51:00 -0000 Message-ID: <00ab01cdc67e$72294a60$567bdf20$@tkachov@arm.com> MIME-Version: 1.0 X-MC-Unique: 112111917511213801 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00AC_01CDC67E.72294A60" 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-11/txt/msg01578.txt.bz2 This is a multi-part message in MIME format. ------=_NextPart_000_00AC_01CDC67E.72294A60 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-length: 593 Hi all, This patch updates the arm_abssi2 and arm_neg_abssi2 patterns in the ARM machine description. We define the predicable attribute based on the alternative. When the patterns were introduced it was not possible to do that. Now the second alternative in each of the patterns that supports predication is defined as predicable. No regressions on arm-none-eabi with qemu. Ok for trunk? Thanks, Kyrill gcc/ChangeLog 2012-11-19 Kyrylo Tkachov * config/arm/arm.md (*arm_abssi2): Define predicable attribute. (*arm_neg_abssi2): Define predicable attribute.= ------=_NextPart_000_00AC_01CDC67E.72294A60 Content-Type: text/plain; name=abssi_predicable.txt Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="abssi_predicable.txt" Content-length: 682 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -4263,7 +4263,7 @@ (define_insn "*arm_abssi2" eor%?\\t%0, %1, %1, asr #31\;sub%?\\t%0, %0, %1, asr #31" [(set_attr "conds" "clob,*") (set_attr "shift" "1") - ;; predicable can't be set based on the variant, so left as no + (set_attr "predicable" "no, yes") (set_attr "length" "8")] ) =20 @@ -4291,7 +4291,7 @@ (define_insn "*arm_neg_abssi2" eor%?\\t%0, %1, %1, asr #31\;rsb%?\\t%0, %0, %1, asr #31" [(set_attr "conds" "clob,*") (set_attr "shift" "1") - ;; predicable can't be set based on the variant, so left as no + (set_attr "predicable" "no, yes") (set_attr "length" "8")] ) =20 ------=_NextPart_000_00AC_01CDC67E.72294A60--