{"id":819546,"url":"http://patchwork.ozlabs.org/api/patches/819546/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/20170928115044.21422-3-krebbel@linux.vnet.ibm.com/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170928115044.21422-3-krebbel@linux.vnet.ibm.com>","list_archive_url":null,"date":"2017-09-28T11:50:01","name":"[2/5] Testcases using dg-options require at least -mzarch.","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"68d010d7f7f26aa57800804d9e6963ced0356a54","submitter":{"id":4421,"url":"http://patchwork.ozlabs.org/api/people/4421/?format=json","name":"Andreas Krebbel","email":"krebbel@linux.vnet.ibm.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/20170928115044.21422-3-krebbel@linux.vnet.ibm.com/mbox/","series":[{"id":5545,"url":"http://patchwork.ozlabs.org/api/series/5545/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=5545","date":"2017-09-28T11:49:59","name":"vect testsuite adjustments for S/390 - v2","version":1,"mbox":"http://patchwork.ozlabs.org/series/5545/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819546/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819546/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-463102-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-463102-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"msB9bx1X\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2tN63KrSz9t3v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 21:52:22 +1000 (AEST)","(qmail 69113 invoked by alias); 28 Sep 2017 11:52:15 -0000","(qmail 68647 invoked by uid 89); 28 Sep 2017 11:52:15 -0000","from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com)\n\t(148.163.158.5) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tThu, 28 Sep 2017 11:52:14 +0000","from pps.filterd (m0098416.ppops.net [127.0.0.1])\tby\n\tmx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8SBneGq050279\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 07:52:10 -0400","from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com\n\t[195.75.94.110])\tby mx0b-001b2d01.pphosted.com with ESMTP id\n\t2d8yxrt3s9-1\t(version=TLSv1.2 cipher=AES256-SHA bits=256\n\tverify=NOT)\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 07:52:10 -0400","from localhost\tby e06smtp14.uk.ibm.com with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be\n\tprosecuted\tfor <gcc-patches@gcc.gnu.org> from\n\t<krebbel@linux.vnet.ibm.com>; Thu, 28 Sep 2017 12:52:08 +0100","from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197)\tby\n\te06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted;\n\tThu, 28 Sep 2017 12:52:07 +0100","from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com\n\t[9.149.105.61])\tby b06cxnps4075.portsmouth.uk.ibm.com\n\t(8.14.9/8.14.9/NCO v10.0) with ESMTP id v8SBq7WO20185300\tfor\n\t<gcc-patches@gcc.gnu.org>; Thu, 28 Sep 2017 11:52:07 GMT","from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1])\tby IMSVA\n\t(Postfix) with ESMTP id 88A4911C04C\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 12:47:58 +0100 (BST)","from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1])\tby IMSVA\n\t(Postfix) with ESMTP id 6DA5F11C04A\tfor <gcc-patches@gcc.gnu.org>;\n\tThu, 28 Sep 2017 12:47:58 +0100 (BST)","from maggie.boeblingen.de.ibm.com (unknown [9.152.212.134])\tby\n\td06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS\tfor\n\t<gcc-patches@gcc.gnu.org>; Thu, 28 Sep 2017 12:47:58 +0100 (BST)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:from\n\t:to:subject:date:in-reply-to:references:message-id; q=dns; s=\n\tdefault; b=Em4Fi98Uej6q9gCoESHGMYLExh88gxGSTPLpSh4Plns+EYbBfpmSC\n\tLvf+KSmU2WMpmF2WJaoVLD69y64zTH+XYJfdF5UN2w4fe23JNGYwKV2qsrKnFC4n\n\t9LKCmfwgCaQxAWFbQXHIdqCqGVcqnra5gZrOpXswi6d6kk2dg4j1j4=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:from\n\t:to:subject:date:in-reply-to:references:message-id; s=default;\n\tbh=qD8qtKK4ANkoHjB9Yli0Pe70kzE=; b=msB9bx1XasUcVLD54zYNFt+mQ/XE\n\tTaDDrptNTCekS7aPnw9GVOA27uJXq54/ph/F7iFJHdZ/kJ9KIAPFSxzWCc8+sR/w\n\tisCBGLnKzn8Ld9QWvXBHyXvnDUfQm05mGRQSi+h6zQhEuTxLzGIz13OUw5HHI9zY\n\t16KZfMvMhaZsNd4=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-24.7 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2\n\tspammy=Hx-languages-length:1666","X-HELO":"mx0a-001b2d01.pphosted.com","From":"Andreas Krebbel <krebbel@linux.vnet.ibm.com>","To":"gcc-patches@gcc.gnu.org","Subject":"[PATCH 2/5] Testcases using dg-options require at least -mzarch.","Date":"Thu, 28 Sep 2017 13:50:01 +0200","In-Reply-To":"<20170928115044.21422-1-krebbel@linux.vnet.ibm.com>","References":"<20170928115044.21422-1-krebbel@linux.vnet.ibm.com>","X-TM-AS-GCONF":"00","x-cbid":"17092811-0016-0000-0000-000004F0ED04","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17092811-0017-0000-0000-0000282B410B","Message-Id":"<20170928115044.21422-3-krebbel@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-28_04:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=1 malwarescore=0 phishscore=0\n\tadultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx\n\tscancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709280177","X-IsSubscribed":"yes"},"content":"Testcases which override the vect default options using dg-options\nneed at least -mzarch on S/390 32 bit.\n\ngcc/testsuite/ChangeLog:\n\n2017-09-28  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>\n\n\t* gfortran.dg/vect/fast-math-mgrid-resid.f: Use -mzarch on S/390.\n\t* gfortran.dg/vect/pr77848.f: Likewise.\n---\n gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f | 1 +\n gcc/testsuite/gfortran.dg/vect/pr77848.f               | 1 +\n 2 files changed, 2 insertions(+)","diff":"diff --git a/gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f b/gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f\nindex 54f1e9e..7e2816b 100644\n--- a/gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f\n+++ b/gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f\n@@ -2,6 +2,7 @@\n ! { dg-require-effective-target vect_double }\n ! { dg-options \"-O3 --param vect-max-peeling-for-alignment=0 -fpredictive-commoning -fdump-tree-pcom-details\" }\n ! { dg-additional-options \"-mprefer-avx128\" { target { i?86-*-* x86_64-*-* } } }\n+! { dg-additional-options \"-mzarch\" { target { s390*-*-* } } }\n \n ******* RESID COMPUTES THE RESIDUAL:  R = V - AU\n *\ndiff --git a/gcc/testsuite/gfortran.dg/vect/pr77848.f b/gcc/testsuite/gfortran.dg/vect/pr77848.f\nindex d54676e..4752205 100644\n--- a/gcc/testsuite/gfortran.dg/vect/pr77848.f\n+++ b/gcc/testsuite/gfortran.dg/vect/pr77848.f\n@@ -1,6 +1,7 @@\n ! PR 77848: Verify versioning is on when vectorization fails\n ! { dg-do compile }\n ! { dg-options \"-O3 -ffast-math -fdump-tree-ifcvt -fdump-tree-vect-details\" }\n+! { dg-additional-options \"-mzarch\" { target { s390*-*-* } } }\n \n       subroutine sub(x,a,n,m)\n       implicit none\n","prefixes":["2/5"]}