From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38241 invoked by alias); 16 Jun 2017 19:37:05 -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 37720 invoked by uid 89); 16 Jun 2017 19:37:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL,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= X-HELO: mail-wm0-f54.google.com Received: from mail-wm0-f54.google.com (HELO mail-wm0-f54.google.com) (74.125.82.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Jun 2017 19:37:03 +0000 Received: by mail-wm0-f54.google.com with SMTP id m125so34277625wmm.1 for ; Fri, 16 Jun 2017 12:37:07 -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=LK+2a9rwrsocbqIEv1r7dpGnwJpl5SrI7HcHXfwl7LI=; b=NbiSWgTYawA0tYmAcOvcFOoZhHnDMgncx2hyZDPcj2fA0JKEda0F8C6nqKWrbsljiY p/yOnwh09/b3Cc1tOiLn8raVStP/oDvIYJAysdI7WlvNoXEcx1pXm4v/j3u3Jn0T4YoN hcOSADAJVp6mrpUtmtqzWYc0BVPhjGiG+B5v/GIAlVynMkWfJTueJPbxFDSD+LosSnB2 QgmmFiW2ST4zpS9jhveXb2ItJTXVI9dM9lW8Cfy7kdSExEeBkAmCmT0Wp5ymxTGyAu3f 78uUl6xXf3S7i9+izt7cQk8lC8Cf8GQ7CrcryMHpakS12BjcqX+hwBxi4UHbQ8Q54t0A 7kxg== X-Gm-Message-State: AKS2vOzHrvwfDm1Ns7R6CWTMkBjlGw3YAZl/B6q+ipe8fE7meWyp7kd1 dz7/ndrt2iFH+nVm X-Received: by 10.28.140.133 with SMTP id o127mr7911057wmd.7.1497641826314; Fri, 16 Jun 2017 12:37:06 -0700 (PDT) Received: from localhost (host86-164-103-137.range86-164.btcentralplus.com. [86.164.103.137]) by smtp.gmail.com with ESMTPSA id 49sm3294106wrz.8.2017.06.16.12.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 12:37:05 -0700 (PDT) Date: Fri, 16 Jun 2017 19:37:00 -0000 From: Andrew Burgess To: Claudiu Zissulescu Cc: gcc-patches@gcc.gnu.org, Francois.Bedard@synopsys.com Subject: Re: [PATCH 2/7] [ARC] Define ADDITIONAL_REGISTER_NAMES. Message-ID: <20170616193704.GE7683@embecosm.com> References: <1496324097-21221-1-git-send-email-claziss@synopsys.com> <1496324097-21221-3-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1496324097-21221-3-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-06/txt/msg01231.txt.bz2 * Claudiu Zissulescu [2017-06-01 15:34:52 +0200]: > This macro is needed to be used with -ffixed- option, and inline asm. > > gcc/ > 2017-01-09 Claudiu Zissulescu > > * config/arc/arc.h (ADDITIONAL_REGISTER_NAMES): Define. This looks fine and could be applied straight away I think. Thanks, Andrew > --- > gcc/config/arc/arc.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h > index 16d5319..585e98c 100644 > --- a/gcc/config/arc/arc.h > +++ b/gcc/config/arc/arc.h > @@ -1262,6 +1262,13 @@ extern char rname56[], rname57[], rname58[], rname59[]; > "lp_start", "lp_end" \ > } > > +#define ADDITIONAL_REGISTER_NAMES \ > +{ \ > + {"ilink", 29}, \ > + {"r29", 29}, \ > + {"r30", 30} \ > +} > + > /* Entry to the insn conditionalizer. */ > #define FINAL_PRESCAN_INSN(INSN, OPVEC, NOPERANDS) \ > arc_final_prescan_insn (INSN, OPVEC, NOPERANDS) > -- > 1.9.1 >