From patchwork Fri Apr 26 11:13:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greta Yorsh X-Patchwork-Id: 239804 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 737602C010D for ; Fri, 26 Apr 2013 21:13:26 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:mime-version:content-type; q=dns; s=default; b=GxlI9B3LBNouCNr7h1aoMhgZTrHKq4K4ocxB+X8WZxuFrBDQ+m gYo57toNVA/SkZMroC9uu3zeABS7EVPHgzKzgRoXljd/PnQ8pCAW+4YhH+5iOBiD qciaZ8EST68oU1yhL+6OjRsQMfZ5bw3v8LIfcdUo3pNeXYnx2k45KPhaI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:mime-version:content-type; s= default; bh=qCCNLbTDS84gvdsVs42Qgx/KygA=; b=nfJ9rTJye+rYmXk8AvoZ eltik1qZ1CVXd0zDwYhUTjJlDybN1lALUlJd+MmHIVVY7lkyDICsswvM8Fm1bbSq fPa99gakfPHnJpDr6++xuwMmAerp+nKkYoc0Pi/7CAWDPZHOEvElsU6zAI0UTB/I mvh0hwTE0xmkrV+jS+UZw9Y= Received: (qmail 9445 invoked by alias); 26 Apr 2013 11:13:17 -0000 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 Received: (qmail 9436 invoked by uid 89); 26 Apr 2013 11:13:17 -0000 X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL, BAYES_00, MEDICAL_SUBJECT, MSGID_MULTIPLE_AT, RCVD_IN_DNSWL_LOW, SPF_PASS, TW_QE autolearn=no version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 26 Apr 2013 11:13:16 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 26 Apr 2013 12:13:12 +0100 Received: from e103227vm ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 26 Apr 2013 12:13:12 +0100 From: "Greta Yorsh" To: "GCC Patches" Cc: "Ramana Radhakrishnan" , "Richard Earnshaw" Subject: [PATCH, ARM] Remove incscc and decscc patterns from thumb2.md Date: Fri, 26 Apr 2013 12:13:02 +0100 Message-ID: <001001ce426f$051776f0$0f4664d0$@yorsh@arm.com> MIME-Version: 1.0 X-MC-Unique: 113042612131214501 X-Virus-Found: No This patch removes dead patterns for incscc and decscc from thumb2.md. It's a cleanup after this patch: http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00955.html which removed incscc and decscc expanders and the corresponding patterns from arm.md, but not from thumb2.md. No regression on qemu for arm-none-eabi cortex-a15 thumb. Ok for trunk? Thanks, Greta gcc/ 2013-04-05 Greta Yorsh * config/arm/thumb2.md (thumb2_incscc, thumb2_decscc): Delete. diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md index 6aa76f6..968cc0c 100644 --- a/gcc/config/arm/thumb2.md +++ b/gcc/config/arm/thumb2.md @@ -24,32 +24,6 @@ ;; changes made in armv5t as "thumb2". These are considered part ;; the 16-bit Thumb-1 instruction set. -(define_insn "*thumb2_incscc" - [(set (match_operand:SI 0 "s_register_operand" "=r,r") - (plus:SI (match_operator:SI 2 "arm_comparison_operator" - [(match_operand:CC 3 "cc_register" "") (const_int 0)]) - (match_operand:SI 1 "s_register_operand" "0,?r")))] - "TARGET_THUMB2" - "@ - it\\t%d2\;add%d2\\t%0, %1, #1 - ite\\t%D2\;mov%D2\\t%0, %1\;add%d2\\t%0, %1, #1" - [(set_attr "conds" "use") - (set_attr "length" "6,10")] -) - -(define_insn "*thumb2_decscc" - [(set (match_operand:SI 0 "s_register_operand" "=r,r") - (minus:SI (match_operand:SI 1 "s_register_operand" "0,?r") - (match_operator:SI 2 "arm_comparison_operator" - [(match_operand 3 "cc_register" "") (const_int 0)])))] - "TARGET_THUMB2" - "@ - it\\t%d2\;sub%d2\\t%0, %1, #1 - ite\\t%D2\;mov%D2\\t%0, %1\;sub%d2\\t%0, %1, #1" - [(set_attr "conds" "use") - (set_attr "length" "6,10")] -) - ;; Thumb-2 only allows shift by constant on data processing instructions (define_insn "*thumb_andsi_not_shiftsi_si" [(set (match_operand:SI 0 "s_register_operand" "=r")