From patchwork Tue Mar 19 14:06:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kelvin Nilsen X-Patchwork-Id: 1058423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-498108-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="AXUC5WXk"; 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 44NvzN5Pdlz9s47 for ; Wed, 20 Mar 2019 01:08:30 +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:to:cc :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=default; b=bNGPw mVrx5NsDExiczt2hOX/Rlf02UfaiGA41OTMEE5dv9uSYpMQ6A2XlKnINtTv4buXD a4bwqgXXQLRLdTBZZOu4jpnvMSc0RE6tz5SWuwDE3dygRAhIrUOQlXvDEtXRJxOp 86JpQqV2vQSmsM3SkGuC6L674uCA15ZNghHGws= 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:to:cc :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; s=default; bh=Yhx/EBqo4RB X8Z8WIhwNESy8jZs=; b=AXUC5WXkgqwuswq45mSnz7sSyM62aBv6aHkW99zr8UR sBzynWvkzhachV0ds0zUuq/1qQInhGRWjF+hNbRLX2/ofzL3bhbne8qIzFEQ3BIt 2NXdU/+ah6dqGBJ9WW2ymNEaC95TpBSCfuWU6c/WuCPx/gjv/NjhF2KjIFJq5pIc = Received: (qmail 27779 invoked by alias); 19 Mar 2019 14:08:23 -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 27771 invoked by uid 89); 19 Mar 2019 14:08:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KHOP_DYNAMIC, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=unavailable version=3.3.1 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Mar 2019 14:08:22 +0000 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2JE6SqR079704 for ; Tue, 19 Mar 2019 10:08:20 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0b-001b2d01.pphosted.com with ESMTP id 2rayhrfp3v-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Mar 2019 10:08:19 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Mar 2019 14:06:50 -0000 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 19 Mar 2019 14:06:48 -0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x2JE6muX17891412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Mar 2019 14:06:49 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D57FF6A054; Tue, 19 Mar 2019 14:06:48 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 609B46A04D; Tue, 19 Mar 2019 14:06:48 +0000 (GMT) Received: from Kelvins-MacBook-Pro-2.local (unknown [9.85.170.238]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 19 Mar 2019 14:06:48 +0000 (GMT) To: gcc-patches List Cc: segher@gcc.gnu.org From: Kelvin Nilsen Subject: [PATCH, rs6000] PR89732: New test pr87532-mc.c fails on compiler not defaulting to VSX Date: Tue, 19 Mar 2019 09:06:47 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 x-cbid: 19031914-0004-0000-0000-000014F08A99 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010786; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000281; SDB=6.01176628; UDB=6.00615451; IPR=6.00957315; MB=3.00026052; MTD=3.00000008; XFM=3.00000015; UTC=2019-03-19 14:06:50 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19031914-0005-0000-0000-00008AF49A21 Message-Id: <673f02a1-09ee-412c-e87a-eaaa2c5a7100@linux.ibm.com> A recently added test was observed to fail when compiled without the -mvsx option. This patch adds -mvsx to the dg-options directive. Was boostrapped and regression tested on powerpc-linux (P7 big-endian, both -m32 and -m64). Was preapproved by segher@gcc.gnu.org and has been merged with trunk. gcc/testsuite/ChangeLog: 2019-03-19 Kelvin Nilsen PR target/89736 * gcc.target/powerpc/pr87532-mc.c: Modify dejagnu directives to restrict this test to vsx targets. Index: gcc/testsuite/gcc.target/powerpc/pr87532-mc.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/pr87532-mc.c (revision 269782) +++ gcc/testsuite/gcc.target/powerpc/pr87532-mc.c (working copy) @@ -1,8 +1,8 @@ /* { dg-do run { target int128 } } */ -/* { dg-require-effective-target vmx_hw } */ -/* { dg-options "-maltivec -O2" } */ +/* { dg-require-effective-target vsx_hw } */ +/* { dg-options "-mvsx -O2" } */ -/* This test should run the same on any target that supports altivec/dfp +/* This test should run the same on any target that supports vsx instructions. Intentionally not specifying cpu in order to test all code generation paths. */