From patchwork Fri Feb 21 08:06:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Clifton X-Patchwork-Id: 322459 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id AE6952C034D for ; Fri, 21 Feb 2014 19:11:04 +1100 (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:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=hNnGH25CCwvgNAkRSrYgjd4agaC+M97ZYxN/JHTrXbKdcekOKNXPs Lm31vtcPau3rEIMjOJrUXQ1RRk8CrMOflSGRVda/TMKDDNmEz39S5KTpP+GdKTAP H/w0t5ig1vKlFmFRvFq2cdeKEUPBgnFT33mjDUR94P+c2SEve/+keg= 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:subject:date:message-id:mime-version:content-type; s= default; bh=oMuq6NNUaV8qevNI0DOqbwwkCSw=; b=RjpObUEMmVQogZs7Zpc0 ymZjnYMVIvhYCtbQOvK8Ec3JjLwvGTix+F/Y+InUVJo7slOP0oOKKjVKZx2I4PAT nSTQcKrC1ukJaDoXTJTcfTSsYwaBt9g9ZWr2leVzk14fKuBIBOIO5FztruxPmUgx SgCL/4y7e8N9F2LJocjqFak= Received: (qmail 18190 invoked by alias); 21 Feb 2014 08:10:57 -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 18174 invoked by uid 89); 21 Feb 2014 08:10:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Feb 2014 08:10:55 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1L8AsSb006112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Feb 2014 03:10:54 -0500 Received: from Cadeux.redhat.com (vpn1-6-61.ams2.redhat.com [10.36.6.61]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s1L8ApDY032136 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 21 Feb 2014 03:10:53 -0500 From: Nick Clifton To: gcc-patches@gcc.gnu.org Subject: Commit: Xstormy16: Add modes to post_inc and pre_dec patterns Date: Fri, 21 Feb 2014 08:06:56 +0000 Message-ID: <8761o8dh3z.fsf@redhat.com> MIME-Version: 1.0 X-IsSubscribed: yes Hi Guys, I am applying the patch below to add modes to the POST_INC and PRE_DEC patterns in the XStormy16 backend. The lack of the modes was leading to some build problems. Cheers Nick gcc/ChangeLog 2014-02-21 Nick Clifton * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc. (pushhi1): Likewise. (popqi1): Add mode to pre_dec. (pophi1): Likewise. Index: gcc/config/stormy16/stormy16.md =================================================================== --- gcc/config/stormy16/stormy16.md (revision 207983) +++ gcc/config/stormy16/stormy16.md (working copy) @@ -114,7 +114,7 @@ ;; insns like this one are never generated. (define_insn "pushqi1" - [(set (mem:QI (post_inc (reg:HI 15))) + [(set (mem:QI (post_inc:HI (reg:HI 15))) (match_operand:QI 0 "register_operand" "r"))] "" "push %0" @@ -123,7 +123,7 @@ (define_insn "popqi1" [(set (match_operand:QI 0 "register_operand" "=r") - (mem:QI (pre_dec (reg:HI 15))))] + (mem:QI (pre_dec:HI (reg:HI 15))))] "" "pop %0" [(set_attr "psw_operand" "nop") @@ -168,7 +168,7 @@ (set_attr "psw_operand" "0,0,0,0,nop,0,nop,0,0")]) (define_insn "pushhi1" - [(set (mem:HI (post_inc (reg:HI 15))) + [(set (mem:HI (post_inc:HI (reg:HI 15))) (match_operand:HI 0 "register_operand" "r"))] "" "push %0" @@ -177,7 +177,7 @@ (define_insn "pophi1" [(set (match_operand:HI 0 "register_operand" "=r") - (mem:HI (pre_dec (reg:HI 15))))] + (mem:HI (pre_dec:HI (reg:HI 15))))] "" "pop %0" [(set_attr "psw_operand" "nop")