From patchwork Fri Apr 14 12:14:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu X-Patchwork-Id: 750827 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 3w4Gtm6tgRz9sN5 for ; Fri, 14 Apr 2017 22:19:44 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="x/DYAc8K"; dkim-atps=neutral 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:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=tqtE3gmF1uZNw7/4 oXmvoaHOGf6qASJq1wHziGIfqNkT9VqsDnWcoirKsShLVqO+fH/Lf9MSmQwOpb7v q1sclZk8YYGf2o6HtPb3u4mcj8ZoDnWQVIyjtU1mkk6i4muK8Ja7NaXRS88NYcGI qstS/vrMN6vUBtGkCsnuCbSqdHI= 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:in-reply-to:references :mime-version:content-type; s=default; bh=3NH6gqmLVW4O7J4RRp69uX Z9IlU=; b=x/DYAc8KYnqiCmb17UrYL32nmxdtrGOqcesWy0V1zLOF++weWlInlO FZ/UTrISnZrlrjOaGOKS1HnnHX25hhXZHVUqucjC3a81fd7UFATqb5w/FIujiEYs ynadDJ7ytzOAFw176iO5DjMfHSAqcGPKFpjVl31XOfROoGIJhEtuA= Received: (qmail 15389 invoked by alias); 14 Apr 2017 12:19:34 -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 15349 invoked by uid 89); 14 Apr 2017 12:19:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.6 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= X-HELO: smtprelay.synopsys.com Received: from smtprelay4.synopsys.com (HELO smtprelay.synopsys.com) (198.182.47.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Apr 2017 12:19:31 +0000 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 2660E24E16B7; Fri, 14 Apr 2017 05:19:32 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 16292D16; Fri, 14 Apr 2017 05:19:32 -0700 (PDT) Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 0C5B6D13; Fri, 14 Apr 2017 05:19:32 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 14 Apr 2017 05:17:31 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.103) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 14 Apr 2017 17:47:30 +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; Fri, 14 Apr 2017 17:47:30 +0530 From: Claudiu Zissulescu To: CC: , , Subject: [PATCH 4/7] [ARC] Make D0, D1 double regs fix when not used. Date: Fri, 14 Apr 2017 14:14:41 +0200 Message-ID: <1492172084-3921-5-git-send-email-claziss@synopsys.com> In-Reply-To: <1492172084-3921-1-git-send-email-claziss@synopsys.com> References: <1492172084-3921-1-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 gcc/ 2016-12-09 Claudiu Zissulescu * config/arc/arc.c (arc_conditional_register_usage): Make D0, D1 double regs fix when not used. --- gcc/config/arc/arc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 8a8ac86..f820622 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -1546,6 +1546,11 @@ arc_conditional_register_usage (void) arc_regno_reg_class[42] = ALL_REGS; arc_regno_reg_class[43] = ALL_REGS; + fixed_regs[40] = 1; + fixed_regs[41] = 1; + fixed_regs[42] = 1; + fixed_regs[43] = 1; + arc_hard_regno_mode_ok[40] = 0; arc_hard_regno_mode_ok[42] = 0;