From patchwork Thu Nov 6 14:04:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 407475 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 4589A14008C for ; Fri, 7 Nov 2014 01:04:43 +1100 (AEDT) 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:in-reply-to:references:date:message-id :mime-version:content-type; q=dns; s=default; b=hinzHk7fKt4XM9GF Q1C8HwL00tsy4rRp4UoPD3czlnknltJBrz1X3zhM8aRZc9XmjDZM003ug26j7uZK UmtLD0Q51+mwm4lWgwM4UDUAODThN7iRpMuQq26Pq/q4ZKaXMhNrmfX5UV/do8sn /HfYhY8ndxu18UbKS6Tf7uobNXo= 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:in-reply-to:references:date:message-id :mime-version:content-type; s=default; bh=bMjZxlkX/Rdz0iWLrksoIl 1vyYI=; b=KZ7Qd4aiRsKR8w6333dgSKvzH9v+wWKp3HNLW1UX3OMklg5BGGARpC YxrEXxJ9V2gsMopjneGqwDDqAaH61yGcsAnjdQVgNdrV5X41g9lXvznBlRZK9xIo AQ0iC6HbTCNfk2NwerKL1mVTTMOXLXGDfJq+VhPfj3fX23gYi3FYo= Received: (qmail 27383 invoked by alias); 6 Nov 2014 14:04:36 -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 27369 invoked by uid 89); 6 Nov 2014 14:04:35 -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, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Nov 2014 14:04:33 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1XmNfp-0003Fd-U6 from Thomas_Schwinge@mentor.com for gcc-patches@gcc.gnu.org; Thu, 06 Nov 2014 06:04:30 -0800 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.181.6; Thu, 6 Nov 2014 14:04:28 +0000 From: Thomas Schwinge To: "gcc-patches@gcc.gnu.org" CC: Cesar Philippidis Subject: Re: [gomp4] acc enter/exit data In-Reply-To: <5452D398.2030709@codesourcery.com> References: <5452D398.2030709@codesourcery.com> User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) Date: Thu, 6 Nov 2014 15:04:19 +0100 Message-ID: <87a944h1cs.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Hi! On Thu, 30 Oct 2014 17:11:04 -0700, Cesar Philippidis wrote: > This patch add support for OpenACC's enter/exit data directive. > gcc/ > * gimple.h (enum gf_mask): Add GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. Applied to gomp-4_0-branch in r217190: commit 81c45b54c802bd76efc941750c73ca5410e83420 Author: tschwinge Date: Thu Nov 6 14:02:27 2014 +0000 Correctly classify OpenACC's enter/exit data directives. gcc/ * gimple.h (is_gimple_omp_oacc_specifically): Return true for GIMPLE_OMP_TARGET's GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@217190 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.gomp | 3 +++ gcc/gimple.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) Grüße, Thomas diff --git gcc/ChangeLog.gomp gcc/ChangeLog.gomp index 0bc9080..9c997ce 100644 --- gcc/ChangeLog.gomp +++ gcc/ChangeLog.gomp @@ -1,5 +1,8 @@ 2014-11-06 Thomas Schwinge + * gimple.h (is_gimple_omp_oacc_specifically): Return true for + GIMPLE_OMP_TARGET's GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. + * omp-low.c (lower_reduction_clauses): Initialize tid. 2014-11-05 Thomas Schwinge diff --git gcc/gimple.h gcc/gimple.h index 7bc673a..4faeaaa 100644 --- gcc/gimple.h +++ gcc/gimple.h @@ -5867,8 +5867,8 @@ is_gimple_omp_oacc_specifically (const_gimple stmt) switch (gimple_omp_target_kind (stmt)) { case GF_OMP_TARGET_KIND_OACC_DATA: - return true; case GF_OMP_TARGET_KIND_OACC_UPDATE: + case GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA: return true; default: return false;