From patchwork Sun May 3 16:11:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 1282032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256 header.s=default header.b=Lcln7Qvz; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49FWGk5Wdlz9sRf for ; Mon, 4 May 2020 02:12:28 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AD96B3851C28; Sun, 3 May 2020 16:12:22 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 3591E385BF81 for ; Sun, 3 May 2020 16:12:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3591E385BF81 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dimitar@dinux.eu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oU9a8+1PrLm9Ue7ONK2kd0tqCoK+9vetBnMKsr1Xkac=; b=Lcln7QvzNSloq8Iyqn1m7xtS8o LL6/7rSV+KBFv6S0KwaNzUTJWX0qCHgalhkdvtqAjgqZMpWvskTCbFOyzmPaITp1PA1WfgnEJNGcm HQqgzTmJJDyl/VOrx172DbBn7fdVWanhJbmOzDe3g4PtxhQTgzk1Iz6GUND+XP6bx3arsmphccoir aNaf3dLVSfy+yMiUbUD8gmuhJg8EsF9pPXFx0x8q3gtKwrisNZYTb0vRorl8ksqfCcO85Tpp2FvUG S6GKoCmXfhxQM0iAqMFcpH9m3ConWPnUePV8PerAX1/f1c439p3mx2gk82+aRZrMAZ3i2WZRGk4+A R+AoZgAA==; Received: from [95.87.234.74] (port=33926 helo=localhost.localdomain) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jVHDx-0002UW-O6; Sun, 03 May 2020 19:12:15 +0300 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Subject: [PATCH v2 0/5] Updates for PRU backend Date: Sun, 3 May 2020 19:11:59 +0300 Message-Id: <20200503161204.18245-1-dimitar@dinux.eu> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" One of the changes frees a previously fixed register, per ABI clarification from TI, for local usage from function. The change is backwards compatible. Rest of changes are cleanups. Testsuite did not reveal any regressions. Dimitar Dimitrov (5): PRU: Fix comment to avoid fall through warning PRU: Simplify machine description PRU: Fix R3.w0 register class testsuite: pru: Add clobber test PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED gcc/config/pru/pru.c | 80 ++++--------------- gcc/config/pru/pru.h | 11 ++- gcc/config/pru/pru.md | 6 +- gcc/testsuite/gcc.target/pru/clobber-sp.c | 24 ++++++ .../pru/lra-framepointer-fragmentation-1.c | 5 +- .../pru/lra-framepointer-fragmentation-2.c | 10 ++- 6 files changed, 58 insertions(+), 78 deletions(-) create mode 100644 gcc/testsuite/gcc.target/pru/clobber-sp.c