From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41133 invoked by alias); 30 May 2019 09:40:23 -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 41125 invoked by uid 89); 30 May 2019 09:40:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-14.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 May 2019 09:40:22 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D8914374; Thu, 30 May 2019 02:40:20 -0700 (PDT) Received: from localhost (e121540-lin.manchester.arm.com [10.32.98.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3919E3F59C; Thu, 30 May 2019 02:40:20 -0700 (PDT) From: Richard Sandiford To: Prathamesh Kulkarni Mail-Followup-To: Prathamesh Kulkarni ,gcc Patches , richard.sandiford@arm.com Cc: gcc Patches Subject: Re: [AArch64] [SVE] PR88837 - Poor vector construction code in VL-specific mode References: Date: Thu, 30 May 2019 10:14:00 -0000 In-Reply-To: (Prathamesh Kulkarni's message of "Thu, 30 May 2019 14:59:40 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-05/txt/msg02002.txt.bz2 Prathamesh Kulkarni writes: > diff --git a/gcc/testsuite/gcc.target/aarch64/sve/init_1.c b/gcc/testsuite/gcc.target/aarch64/sve/init_1.c > new file mode 100644 > index 00000000000..cbfeff4a59c > --- /dev/null > +++ b/gcc/testsuite/gcc.target/aarch64/sve/init_1.c > @@ -0,0 +1,27 @@ > +/* { dg-do compile { target aarch64_asm_sve_ok } } */ > +/* { dg-options "-O2 -fno-schedule-insns -msve-vector-bits=256 --save-temps" } */ Sorry for not noticing last time, but the combination of aarch64_asm_sve_ok and --save-temps only makes sense for assemble tests, not compile tests. So these should either be: /* { dg-do assemble { target aarch64_asm_sve_ok } } */ /* { dg-options "-O2 -fno-schedule-insns -msve-vector-bits=256 --save-temps" } */ or: /* { dg-do compile } */ /* { dg-options "-O2 -fno-schedule-insns -msve-vector-bits=256" } */ Might as well as go for the first I guess. Same for the other non-run tests. OK with that change, thanks. Richard