From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97133 invoked by alias); 1 Jun 2017 13:37:56 -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 97075 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=-10.2 required=5.0 tests=AWL,BAYES_00,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, naked, indexed X-HELO: smtprelay.synopsys.com Received: from smtprelay2.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:51 +0000 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 68C3810C13EA; Thu, 1 Jun 2017 06:37:54 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 46AA5E6C; Thu, 1 Jun 2017 06:37:54 -0700 (PDT) Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2-vip.internal.synopsys.com [10.12.239.238]) by mailhost.synopsys.com (Postfix) with ESMTP id 25A3AE67; Thu, 1 Jun 2017 06:37:54 -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:54 -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:51 +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:50 +0530 From: Claudiu Zissulescu To: CC: , , Subject: [PATCH 0/7] [ARC] Bug fixing, add support for naked functions Date: Thu, 01 Jun 2017 13:37:00 -0000 Message-ID: <1496324097-21221-1-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-06/txt/msg00034.txt.bz2 From: claziss Hi, The first patch adds support for 'naked' functions to ARC compiler, a number of tests are also added. The second patch defines additional register names aliases to be handled by inline asm code or -ffixed register commnds. The following two patches are in the context of improving LRA support for ARC backend. Thus, one patch is cleaning out ARC tests, and the second one remove the use of subregs during expand, which was a bad idea anyway. The next patch is enabling indexed loads and automodify ld/st instructions to elf target. These options were already in, but I made them default for elf target for the time being. The PIC patch is refactoring the PIC implementation as a consequence of increasingly seeing errors due to old implementation. New tests are added as well. The last patch deprecates the mexpand-addi option, this can be seen also in the context of LRA where emitting the subregs during expand is not a very good thing to do. Please let me know if you have any question. Thank you, Claudiu Claudiu Zissulescu (6): [ARC] Add support for naked functions. [ARC] Define ADDITIONAL_REGISTER_NAMES. [ARC] [LRA] Fix tests asm constraints. [ARC] [LRA] Avoid emitting COND_EXEC during expand. [ARC] Enable indexed loads for elf targers. [ARC] Consolidate PIC implementation. claziss (1): [ARC] Deprecate mexpand-adddi option. gcc/config/arc/arc-protos.h | 8 +- gcc/config/arc/arc.c | 315 ++++++++++++----------- gcc/config/arc/arc.h | 58 +++-- gcc/config/arc/arc.md | 90 +++---- gcc/config/arc/arc.opt | 6 +- gcc/config/arc/constraints.md | 6 +- gcc/config/arc/elf.h | 8 + gcc/config/arc/linux.h | 8 + gcc/doc/invoke.texi | 2 +- gcc/testsuite/gcc.target/arc/mulsi3_highpart-1.c | 2 +- gcc/testsuite/gcc.target/arc/mulsi3_highpart-2.c | 2 +- gcc/testsuite/gcc.target/arc/naked-1.c | 18 ++ gcc/testsuite/gcc.target/arc/naked-2.c | 26 ++ gcc/testsuite/gcc.target/arc/pic-1.c | 11 + gcc/testsuite/gcc.target/arc/pr9000674901.c | 58 +++++ gcc/testsuite/gcc.target/arc/pr9001191897.c | 10 + 16 files changed, 397 insertions(+), 231 deletions(-) create mode 100644 gcc/testsuite/gcc.target/arc/naked-1.c create mode 100644 gcc/testsuite/gcc.target/arc/naked-2.c create mode 100644 gcc/testsuite/gcc.target/arc/pic-1.c create mode 100644 gcc/testsuite/gcc.target/arc/pr9000674901.c create mode 100644 gcc/testsuite/gcc.target/arc/pr9001191897.c -- 1.9.1