From patchwork Fri Nov 22 12:04:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 1199452 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-514394-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="xm6QKQ1X"; 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 47KFTr5zBHz9sPT for ; Fri, 22 Nov 2019 23:04:31 +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=QPtLhs4clvY2kie+wlRjMGr7quP7/z8nnLY3/93VSbDra5NxbCt6O 4IaqHHO8rEMSWhK4usrk4axZIrc72/JIY6RP472urw630jvFSLt0MsH+YAdLlKKA Wb5sF9tZwa/TvKSFaA3L/FQzIT8bAW7XRIXxgnKKQL6B67LpBclsbA= 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=Ys1b1V8IhUA2Q8mWOCBiqmZDl94=; b=xm6QKQ1XrVHsHFZaV4Ms Kazlxyk3zbONALEL+biMRwYoRM5z6KhI+zwUlvEsPjSMSketyvW2XfS1Tsd7lA4G wsFNGJieF07/yHwA7KIpNy06fyLCi55MW9SEAMMNY6iV8hCeYNHLxCWptGJ65fxv ySy1uoBCy3xUiBfULSMqyhE= Received: (qmail 30302 invoked by alias); 22 Nov 2019 12:04:24 -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 30291 invoked by uid 89); 22 Nov 2019 12:04:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS autolearn=ham version=3.3.1 spammy=twice 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; Fri, 22 Nov 2019 12:04:22 +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 A5812328 for ; Fri, 22 Nov 2019 04:04:20 -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 4D3223F703 for ; Fri, 22 Nov 2019 04:04:20 -0800 (PST) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com Subject: [committed] Disable epilogue loop vectorisation for vect-widen-mult-u8-*.c Date: Fri, 22 Nov 2019 12:04:19 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes vect-widen-mult-u8.c and vect-widen-mult-u8-u32.c were failing on arm-linux-gnueabihf with epilogue vectorisation because we print the expected messages twice rather than once. We could fix that either by removing the counts or by disabling epilogue loop vectorisation. The other vect-widen-mult-* tests do the latter, so I did the same here. Tested on arm-linux-gnueabihf, aarch64-linux-gnu and x86_64-linux-gnu. Applied as obvious. Richard 2019-11-22 Richard Sandiford gcc/testsuite/ * gcc.dg/vect/vect-widen-mult-u8.c: Disable epilogue loop vectorization. * gcc.dg/vect/vect-widen-mult-u8-u32.c: Likewise. Index: gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c =================================================================== --- gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c 2019-03-08 18:15:02.272871214 +0000 +++ gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c 2019-11-22 12:02:53.750626899 +0000 @@ -1,3 +1,4 @@ +/* { dg-additional-options "--param vect-epilogues-nomask=0" } */ /* { dg-require-effective-target vect_int } */ #include Index: gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c =================================================================== --- gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c 2019-03-08 18:15:02.300871108 +0000 +++ gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c 2019-11-22 12:02:53.750626899 +0000 @@ -1,3 +1,4 @@ +/* { dg-additional-options "--param vect-epilogues-nomask=0" } */ /* { dg-require-effective-target vect_int } */ #include