From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113755 invoked by alias); 27 Mar 2017 14:49:53 -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 113746 invoked by uid 89); 27 Mar 2017 14:49:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Mar 2017 14:49:52 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 034133DBF7; Mon, 27 Mar 2017 14:49:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 034133DBF7 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bschmidt@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 034133DBF7 Received: from localhost.localdomain (ovpn-117-91.ams2.redhat.com [10.36.117.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A50D827AB; Mon, 27 Mar 2017 14:49:50 +0000 (UTC) Subject: Re: [PATCH 1/5] nvptx: implement SIMT enter/exit insns To: Alexander Monakov , gcc-patches@gcc.gnu.org References: <1490197595-31938-1-git-send-email-amonakov@ispras.ru> <1490197595-31938-2-git-send-email-amonakov@ispras.ru> From: Bernd Schmidt Message-ID: <8f68f2c7-5481-6cc6-3815-381cfc915bc2@redhat.com> Date: Mon, 27 Mar 2017 15:03:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg01395.txt.bz2 On 03/27/2017 12:56 PM, Alexander Monakov wrote: > 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. Technically this whole series isn't a regression fix, but since Jakub has acked the rest, this is OK too. Bernd