From patchwork Wed Nov 20 12:46:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 1198102 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-514144-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="QR/rgidM"; dkim-atps=neutral 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 47J2X155ftz9s7T for ; Wed, 20 Nov 2019 23:47:11 +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:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=TYFM/eZN3MTCnbpG/gclrL+xLSyY41XfI3kgkkQjqJAqK2zf+nXO0 FNfifo2Ldzw2VaQklqvb8ncMs7OQ7dJnCax/l+cdrp+YFOdiXaGRMAi5iyPr+Vuc 16+HH9FcSLxd9ZidvJgx/QWPDIDjs4pl0djc0gVEW0RhL2UJ79tT10= 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:subject:date:message-id:mime-version:content-type; s= default; bh=aiJhAhgSmGe9brf0c4KEU13uF3k=; b=QR/rgidMBe8HS4XtrPyD 9KNlZK6Uz0YEkBpjiTaz0iVfR1YOQvKuPwRVgh01FvKnuV5MOgHNy6xAJq7ehDxh rkuMaXG8M4u9h5CMaox05Wp0TJGjFxPW4lostJDHfWymEt6Cd2Kdz9jg8IQRlLai CYiazp/x+/zxJfD2Gi1UsCM= Received: (qmail 37569 invoked by alias); 20 Nov 2019 12:47:04 -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 37517 invoked by uid 89); 20 Nov 2019 12:47:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.7 required=5.0 tests=AWL, BAYES_00, 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.110.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Nov 2019 12:46:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 39F44328 for ; Wed, 20 Nov 2019 04:46:57 -0800 (PST) Received: from localhost (e121540-lin.manchester.arm.com [10.32.98.126]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D05F43F703 for ; Wed, 20 Nov 2019 04:46:56 -0800 (PST) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com Subject: Adjust expected output for bb-slp-21.c (PR 92527) Date: Wed, 20 Nov 2019 12:46:55 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes After r278246, we can try building the out[] store value from scalars if the target has no multiplication support. That's not necessarily a good thing, but like most of vect/, this test is run with the cost model disabled. Tested on aarch64-linux-gnu, x86_64-linux-gnu, powerpc64-linux-gnu (Power 7) and sparc-sun-solaris2.11. OK to install? Richard 2019-11-20 Richard Sandiford gcc/testsuite/ PR testsuite/92527 * gcc.dg/vect/bb-slp-21.c: Expect both SLP groups to be vectorized, regardless of whether the target supports multiplication. Index: gcc/testsuite/gcc.dg/vect/bb-slp-21.c =================================================================== --- gcc/testsuite/gcc.dg/vect/bb-slp-21.c 2019-11-20 12:46:19.000000000 +0000 +++ gcc/testsuite/gcc.dg/vect/bb-slp-21.c 2019-11-20 12:46:19.940266697 +0000 @@ -64,6 +64,5 @@ int main (void) } /* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2" } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "slp2" { target { ! {vect_int_mult } } } } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" { target vect_int_mult } } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" } } */