From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97122 invoked by alias); 1 Jun 2017 13:37:55 -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 97081 invoked by uid 89); 1 Jun 2017 13:37:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:sk:mailhos, H*RU:sk:mailhos, H*F:D*synopsys.com X-HELO: smtprelay.synopsys.com Received: from smtprelay.synopsys.com (HELO smtprelay.synopsys.com) (198.182.60.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Jun 2017 13:37:53 +0000 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id F390010C1552; Thu, 1 Jun 2017 06:37:55 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id E2F8CA75; Thu, 1 Jun 2017 06:37:55 -0700 (PDT) Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) by mailhost.synopsys.com (Postfix) with ESMTP id D936AA74; Thu, 1 Jun 2017 06:37:55 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 1 Jun 2017 06:37:55 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 1 Jun 2017 19:07:54 +0530 Received: from nl20droid1.internal.synopsys.com (10.100.24.228) by IN01WEHTCA.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 1 Jun 2017 19:07:54 +0530 From: Claudiu Zissulescu To: CC: , , Subject: [PATCH 2/7] [ARC] Define ADDITIONAL_REGISTER_NAMES. Date: Thu, 01 Jun 2017 13:37:00 -0000 Message-ID: <1496324097-21221-3-git-send-email-claziss@synopsys.com> In-Reply-To: <1496324097-21221-1-git-send-email-claziss@synopsys.com> References: <1496324097-21221-1-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-06/txt/msg00032.txt.bz2 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. --- 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