From patchwork Mon Mar 7 01:03:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 592604 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 9F40214033B for ; Mon, 7 Mar 2016 12:03:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=TiMpEO1H; 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 :subject:from:to:cc:content-type:date:message-id:mime-version :content-transfer-encoding; q=dns; s=default; b=snVQtrPtnz5vNndi iG5Hxcsdgs/gq5qizLgDDepi60pu5jdhNiMUdq7cs6a9cnVZm3Ge3TB0uOciZfGw jCmKf/wFleRTazrxHjqcZH6MFFpBzQ/AagYz8mJLeA/nueyqeshHIEJ1a9T906OG KE3/bU07EYqu/fEvbECImPnXvJI= 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 :subject:from:to:cc:content-type:date:message-id:mime-version :content-transfer-encoding; s=default; bh=MTkunL7Y1IdAULVEXIN1ll E4oCs=; b=TiMpEO1HXM7JFJkV50fJBrUyP5MLhkdTFScpHauBWDk/4p9MtW0IgZ jQ5xw2yAhCVpibRCdoRmgOXfh9FgD7PWxmFZnP9HmCMYKsBbpQIMrX/6hwlTUeSj T3PhiPDEPPPXyLg9PCJk1jcbqkELL8WN9rkabtPnRfQ+YT7WnwjSM= Received: (qmail 16551 invoked by alias); 7 Mar 2016 01:03:37 -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 16541 invoked by uid 89); 7 Mar 2016 01:03:37 -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: e18.ny.us.ibm.com Received: from e18.ny.us.ibm.com (HELO e18.ny.us.ibm.com) (129.33.205.208) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 07 Mar 2016 01:03:36 +0000 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 6 Mar 2016 20:03:34 -0500 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 6 Mar 2016 20:03:32 -0500 X-IBM-Helo: d01dlp01.pok.ibm.com X-IBM-MailFrom: wschmidt@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 958BF38C8046 for ; Sun, 6 Mar 2016 20:03:31 -0500 (EST) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2713Vgb32571574 for ; Mon, 7 Mar 2016 01:03:31 GMT Received: from d01av03.pok.ibm.com (localhost [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2713Vi6011843 for ; Sun, 6 Mar 2016 20:03:31 -0500 Received: from [9.65.72.123] (sig-9-65-72-123.ibm.com [9.65.72.123]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2713Ujn011802; Sun, 6 Mar 2016 20:03:30 -0500 Subject: [PATCH] Enable the whole-vector-shift tests for PPC64 From: Bill Schmidt To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, anton@samba.org Date: Sun, 06 Mar 2016 19:03:30 -0600 Message-ID: <1457312610.25682.57.camel@oc8801110288.ibm.com> Mime-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16030701-0045-0000-0000-0000038AD2D4 X-IsSubscribed: yes Hi, Anton Blanchard pointed out that we don't currently execute the whole-vector-shift tests for PowerPC. I tested enabling them on powerpc64le-unknown-linux-gnu, which resulted in 8 more test successes and no additional failures. I still need to test this on big-endian. Assuming no problems there, is this patch ok for trunk? I suppose technically it should be queued up for GCC 7, though it seems harmless enough for GCC 6. Please let me know which you would prefer. Thanks! Bill 2016-03-06 Bill Schmidt * lib/target-supports.exp (check_effective_target_whole_vector_shift): Enable for PPC64. Index: gcc/testsuite/lib/target-supports.exp =================================================================== --- gcc/testsuite/lib/target-supports.exp (revision 233943) +++ gcc/testsuite/lib/target-supports.exp (working copy) @@ -4006,6 +4006,7 @@ proc check_effective_target_whole_vector_shift { } if { [istarget i?86-*-*] || [istarget x86_64-*-*] || [istarget ia64-*-*] || [istarget aarch64*-*-*] + || [istarget powerpc64*-*-*] || ([check_effective_target_arm32] && [check_effective_target_arm_little_endian]) || ([istarget mips*-*-*]