From patchwork Mon Mar 14 20:23:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pat Haugen X-Patchwork-Id: 597246 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 3qP8Mh0r6Yz9ssM for ; Tue, 15 Mar 2016 07:23:27 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=tAK7rHpM; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=c3AjZTaeRXahProg j7bgeS3+aXJNJMXrb/x1zS6gl/rbZi1kKk6vOlwjbLaTs6yIFYpSZk/DxepYg7e+ 1d5R2W53AGhiFa60OLbVQCPigXauO/zlwP7nfj/+gfDnsvbMUUP2XiIncQHzk7Mv 1ZG+P1Fyzs2P4WpjUEgXYXM7UzQ= 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 :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=dTu2ute3wdMTXnUYvHa9CY VRBoM=; b=tAK7rHpMPH9DzDj/VcvE08PmoGoGy59anBcWkQ8kcD68+J1/PI4436 411wlStQGUKq5vZWXsNguwB1y13xTsPug50uIxIBHuxrx+W1kYoUrK15I0/I1QeC mYNCwnPFrdvEZslT9xw/58J5SHRbUbB7dFwyLnS1OoLXX8/AcID2Y= Received: (qmail 66356 invoked by alias); 14 Mar 2016 20:23:15 -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 66345 invoked by uid 89); 14 Mar 2016 20:23:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: e35.co.us.ibm.com Received: from e35.co.us.ibm.com (HELO e35.co.us.ibm.com) (32.97.110.153) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 14 Mar 2016 20:23:13 +0000 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 14 Mar 2016 14:23:09 -0600 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 14 Mar 2016 14:23:07 -0600 X-IBM-Helo: d03dlp03.boulder.ibm.com X-IBM-MailFrom: pthaugen@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id DC72E19D8047 for ; Mon, 14 Mar 2016 14:11:01 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2EKN6LD41156860 for ; Mon, 14 Mar 2016 13:23:07 -0700 Received: from d03av03.boulder.ibm.com (localhost [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2EKN6ht026352 for ; Mon, 14 Mar 2016 14:23:06 -0600 Received: from oc1687012634.ibm.com (sig-9-77-129-228.ibm.com [9.77.129.228]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2EKN5GF026249; Mon, 14 Mar 2016 14:23:06 -0600 To: GCC Patches , David Edelsohn From: Pat Haugen Subject: [PATCH, testsuite] Fix ifcvt-4.c for PowerPC Message-ID: <56E71DA9.3060002@linux.vnet.ibm.com> Date: Mon, 14 Mar 2016 15:23:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16031420-0013-0000-0000-00001E29F929 X-IsSubscribed: yes As stated in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68232, this test needs -misel on powerpc to pass. Verified the following fixes the test on both powerpc64/powerpc64le. Ok for trunk? -Pat testsuite/ChangeLog: 2016-03-14 Pat Haugen * gcc.dg/ifcvt-4.c: Add -misel for powerpc* and remove skip for powerpc64le. int foo (int x, int y, int a) Index: testsuite/gcc.dg/ifcvt-4.c =================================================================== --- testsuite/gcc.dg/ifcvt-4.c (revision 234189) +++ testsuite/gcc.dg/ifcvt-4.c (working copy) @@ -1,5 +1,6 @@ /* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-insns=3" } */ -/* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* powerpc64le*-*-* visium-*-*" } {"*"} { "" } } */ +/* { dg-additional-options "-misel" { target { powerpc*-*-* } } } */ +/* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* visium-*-*" } {"*"} { "" } } */