From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94371 invoked by alias); 20 May 2017 07:21:08 -0000 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 Received: (qmail 94357 invoked by uid 89); 20 May 2017 07:21:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Envelope-From:sk:andrew. X-HELO: mail-wm0-f44.google.com Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 20 May 2017 07:21:05 +0000 Received: by mail-wm0-f44.google.com with SMTP id b84so251876343wmh.0 for ; Sat, 20 May 2017 00:21:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yvKDghx/NZdthcDmBKhL3kYNSZ5IbkxQpzZRAPIBvZ8=; b=tgHOOrZySdd/xXXOOKARpf1QLC7R2sLQMSPydSB8o3PycaicKhu6njDi0QN2PpdubR kRU3SQ/ZctqNZpbsfREJXJG/bJ5KOqT0wGZMMyVsxl6EH9fwqRUV+sCZe99kTplXC8R7 q4erTFwWROSuMhzsuwnYhBQ777Eu4Dr6orygzLy7DxFUviF7HTqnSOTFESHcgu5vkFY6 DRps+zOvKG9dUY7VILrSZP77UHPhbaZ0xtQRCBw5a8adr7RmKWDGsgoEElrVmkwTSyEh zlixtOqopJis8Doaq32r9Qx7FND0Pv04ga2IAH641aJSH/IIGQQdcZGvKGZ1SBxICC+n gZFw== X-Gm-Message-State: AODbwcBKDD+jg66nS1f98DwtRR5KmMDw6/WPxB3euD7+k6bHsi+AHEa3 MwJ7RSNYnsJ3mpFH X-Received: by 10.28.103.214 with SMTP id b205mr21806220wmc.126.1495264867013; Sat, 20 May 2017 00:21:07 -0700 (PDT) Received: from localhost ([62.252.18.98]) by smtp.gmail.com with ESMTPSA id g21sm5995304wrg.22.2017.05.20.00.21.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 May 2017 00:21:05 -0700 (PDT) Date: Sat, 20 May 2017 07:49:00 -0000 From: Andrew Burgess To: Claudiu Zissulescu Cc: gcc-patches@gcc.gnu.org, Francois.Bedard@synopsys.com Subject: Re: [PATCH 1/7] [ARC] Make mulsi for A700 pattern commutative. Message-ID: <20170520072055.GH2852@embecosm.com> References: <1495189862-20533-1-git-send-email-claziss@synopsys.com> <1495189862-20533-2-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1495189862-20533-2-git-send-email-claziss@synopsys.com> X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.6.1 (2016-04-27) X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg01632.txt.bz2 * Claudiu Zissulescu [2017-05-19 12:30:56 +0200]: > gcc/ > 2016-11-10 Claudiu Zissulescu > > * config/arc/arc.md (mulsi3_700): Make it commutative. Looks good thanks, Andrew > --- > gcc/config/arc/arc.md | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md > index 71d076c..db5867c 100644 > --- a/gcc/config/arc/arc.md > +++ b/gcc/config/arc/arc.md > @@ -2127,7 +2127,7 @@ > ; like MPY or MPYU. > (define_insn "mulsi3_700" > [(set (match_operand:SI 0 "mpy_dest_reg_operand" "=Rcr,r,r,Rcr,r") > - (mult:SI (match_operand:SI 1 "register_operand" " 0,c,0,0,c") > + (mult:SI (match_operand:SI 1 "register_operand" "%0,c,0,0,c") > (match_operand:SI 2 "nonmemory_operand" "cL,cL,I,Cal,Cal")))] > "TARGET_ARC700_MPY" > "mpyu%? %0,%1,%2" > -- > 1.9.1 >