From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88824 invoked by alias); 11 Nov 2015 13:37:25 -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 88809 invoked by uid 89); 11 Nov 2015 13:37:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f175.google.com Received: from mail-yk0-f175.google.com (HELO mail-yk0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 Nov 2015 13:37:24 +0000 Received: by ykba77 with SMTP id a77so47955589ykb.2 for ; Wed, 11 Nov 2015 05:37:22 -0800 (PST) X-Received: by 10.129.101.134 with SMTP id z128mr9278297ywb.92.1447249042303; Wed, 11 Nov 2015 05:37:22 -0800 (PST) Received: from ?IPv6:2601:181:c000:c497:a2a8:cdff:fe3e:b48? ([2601:181:c000:c497:a2a8:cdff:fe3e:b48]) by smtp.googlemail.com with ESMTPSA id 20sm10514872ywe.49.2015.11.11.05.37.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Nov 2015 05:37:21 -0800 (PST) Subject: Re: [ptx] partitioning optimization To: Ilya Verbin References: <564270D6.6090303@acm.org> Cc: GCC Patches From: Nathan Sidwell Message-ID: <56434490.9030806@acm.org> Date: Wed, 11 Nov 2015 13:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-11/txt/msg01367.txt.bz2 On 11/10/15 17:45, Ilya Verbin wrote: >> I've been unable to introduce a testcase for this. The difficulty is we want >> to check an rtl dump from the acceleration compiler, and there doesn't >> appear to be existing machinery for that in the testsuite. Perhaps >> something to be added later? > > I haven't tried it, but doesn't > /* { dg-options "-foffload=-fdump-rtl-..." } */ > with > /* { dg-final { scan-rtl-dump ... } } */ > work? in the gcc testsuite directories? That's the approach I was going for. The issue is detecting when the test should be run. target==nvptx-*-* isn't right, as the target is the x86 host machine. There doesn't seem to be an existing dejagnu predicate there to select for 'accel_target==FOO'. Am I missing something? nathan