From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69847 invoked by alias); 27 Mar 2017 10:56:38 -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 69783 invoked by uid 89); 27 Mar 2017 10:56:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1316 X-HELO: smtp.ispras.ru Received: from bran.ispras.ru (HELO smtp.ispras.ru) (83.149.199.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Mar 2017 10:56:35 +0000 Received: from monopod.intra.ispras.ru (monopod.intra.ispras.ru [10.10.3.121]) by smtp.ispras.ru (Postfix) with ESMTP id EA19561286; Mon, 27 Mar 2017 13:56:32 +0300 (MSK) Date: Mon, 27 Mar 2017 11:12:00 -0000 From: Alexander Monakov To: gcc-patches@gcc.gnu.org cc: Bernd Schmidt Subject: Re: [PATCH 1/5] nvptx: implement SIMT enter/exit insns In-Reply-To: <1490197595-31938-2-git-send-email-amonakov@ispras.ru> Message-ID: References: <1490197595-31938-1-git-send-email-amonakov@ispras.ru> <1490197595-31938-2-git-send-email-amonakov@ispras.ru> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2017-03/txt/msg01379.txt.bz2 Hello Bernd, Can you have a look at this patch (unchanged from previous posting in January)? The rest of the patches in the set are reviewed. On Wed, 22 Mar 2017, Alexander Monakov wrote: > This patch adds handling of new omp_simt_enter/omp_simt_exit named insns > in the NVPTX backend. > > * config/nvptx/nvptx-protos.h (nvptx_output_simt_enter): Declare. > (nvptx_output_simt_exit): Declare. > * config/nvptx/nvptx.c (nvptx_init_unisimt_predicate): Use > cfun->machine->unisimt_location. Handle NULL unisimt_predicate. > (init_softstack_frame): Move initialization of crtl->is_leaf to... > (nvptx_declare_function_name): ...here. Emit declaration of local > memory space buffer for omp_simt_enter insn. > (nvptx_output_unisimt_switch): New. > (nvptx_output_softstack_switch): New. > (nvptx_output_simt_enter): New. > (nvptx_output_simt_exit): New. > * config/nvptx/nvptx.h (struct machine_function): New fields > has_simtreg, unisimt_location, simt_stack_size, simt_stack_align. > * config/nvptx/nvptx.md (UNSPECV_SIMT_ENTER): New unspec. > (UNSPECV_SIMT_EXIT): Ditto. > (omp_simt_enter_insn): New insn. > (omp_simt_enter): New expansion. > (omp_simt_exit): New insn. > * config/nvptx/nvptx.opt (msoft-stack-reserve-local): New option. Thanks. Alexander