From patchwork Thu Jan 30 18:19:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 315427 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 7E36C2C00C8 for ; Fri, 31 Jan 2014 05:19:49 +1100 (EST) 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=UhkcB/hLCGywZBrJZhFY62kFiZWsjrNhooInbZ7XZVADLWkx69XnM wz3ygBIKQtWtZ4/cWWdC7/2bhmE7RfV9KQ9R1WCz+43z1slFmdQkYb9Ah1v/H/gB BtLSCfz3A/eISfd7dwNUv3ltVMUhkInCDWAavF6mHYNAuPyBTfVGLQ= 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=CgWZOE+ZYS4Ohb45JuGZyEsJbdM=; b=bbAQJzmPoPsqr5kS7m5h ZWffjBNVcKcbNp9q+ehvomBfYwiQMlCTA6riAOAvJaGOj3obGV2JalMGCJqUVyjm PKy70aJKbCvjObCb4HS+DcI1EyB6TfJG5sDXZyd/OwER0PS3G6azrsQmvcX6fOaW lV8ziIgkhtflV20/6daSvyw= Received: (qmail 5081 invoked by alias); 30 Jan 2014 18:19:43 -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 5071 invoked by uid 89); 30 Jan 2014 18:19:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f46.google.com Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 30 Jan 2014 18:19:41 +0000 Received: by mail-wg0-f46.google.com with SMTP id x12so6865254wgg.1 for ; Thu, 30 Jan 2014 10:19:38 -0800 (PST) X-Received: by 10.195.13.234 with SMTP id fb10mr2392962wjd.50.1391105978571; Thu, 30 Jan 2014 10:19:38 -0800 (PST) Received: from localhost ([2.28.234.162]) by mx.google.com with ESMTPSA id eo4sm14033132wib.9.2014.01.30.10.19.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jan 2014 10:19:38 -0800 (PST) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, rdsandiford@googlemail.com Subject: [testsuite, committed] Fix effective target for ivdep tests Date: Thu, 30 Jan 2014 18:19:37 +0000 Message-ID: <87ppn9badi.fsf@talisman.default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 The ivdep tests use int arrays but required vect_float rather than vect_int. Tested on mipsisa64-sde-elf, where it fixes some spurious failures for -mips32r2/-mfp64, and on mips64-linux-gnu. Applied as obvious. There are still some other vect failures for mipsisa64-sde-elf but I'll look at them separately. Thanks, Richard gcc/testsuite/ * g++.dg/vect/pr33426-ivdep.cc, g++.dg/vect/pr33426-ivdep-2.cc, g++.dg/vect/pr33426-ivdep-3.cc, g++.dg/vect/pr33426-ivdep-4.cc, gcc.dg/vect/vect-ivdep-1.c, gcc.dg/vect/vect-ivdep-2.c: Require vect_int rather than vect_float. Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc =================================================================== --- gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc 2014-01-18 09:57:07.291548764 +0000 +++ gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc 2014-01-29 21:58:47.202500320 +0000 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_float } */ +/* { dg-require-effective-target vect_int } */ /* { dg-additional-options "-O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */ /* PR other/33426 */ Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc =================================================================== --- gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc 2014-01-18 09:57:07.311548919 +0000 +++ gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc 2014-01-29 21:59:06.329719568 +0000 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_float } */ +/* { dg-require-effective-target vect_int } */ /* { dg-additional-options "-std=c++11 -O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */ /* PR other/33426 */ Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc =================================================================== --- gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc 2014-01-18 09:57:07.312548926 +0000 +++ gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc 2014-01-29 21:59:14.418815930 +0000 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_float } */ +/* { dg-require-effective-target vect_int } */ /* { dg-additional-options "-std=c++11 -O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */ /* PR other/33426 */ Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc =================================================================== --- gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc 2014-01-18 09:57:07.311548919 +0000 +++ gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc 2014-01-29 21:58:39.500415778 +0000 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_float } */ +/* { dg-require-effective-target vect_int } */ /* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */ /* PR other/33426 */ Index: gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c =================================================================== --- gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c 2014-01-18 09:57:06.969546279 +0000 +++ gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c 2014-01-29 22:01:02.099343944 +0000 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_float } */ +/* { dg-require-effective-target vect_int } */ /* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */ /* PR other/33426 */ Index: gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c =================================================================== --- gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c 2014-01-18 09:57:06.970546286 +0000 +++ gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c 2014-01-29 22:01:07.113422701 +0000 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_float } */ +/* { dg-require-effective-target vect_int } */ /* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */ /* PR other/33426 */