From patchwork Mon Oct 1 22:03:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pat Haugen X-Patchwork-Id: 188351 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]) by ozlabs.org (Postfix) with SMTP id 4E3412C00D0 for ; Tue, 2 Oct 2012 08:03:46 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1349733826; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Message-ID:Date:From: User-Agent:MIME-Version:To:CC:Subject:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=on2ogQUogq+2DD4xyKyp/xYHjHg=; b=Z3XxgvtlEn0pt44r0dSwuZLpCkowiATbpHyy2LKj6piNfmtyDpzrDx6ITypudn kbpe5cSJLZRL7jZAj0w/Y0/SvMDSUefr4azf33Au6cmWkaJ1k7eOGTw1IaBU7RMK 9jST/QMytbo6beTy3MUQjbPZO3cNn5+aG3OCqWPXEWRks= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:Content-Type:X-Content-Scanned:x-cbid:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=FvCo/CLfb910rEBSo7dmhV20I/xVCebD5CP4hE9c7Ym/b+RHwz8y+gQcLOPWSW tbjCG9+EC1NPzVwjg27xuHPe0n+n7+Gbq8Sa1oyDKa1iGtac1d++hLMbnb0fflT8 2AhfDUzFT3k8G2/1xzL56MWxpmSZlHGRwmv8VsKeu1kdU=; Received: (qmail 31557 invoked by alias); 1 Oct 2012 22:03:42 -0000 Received: (qmail 31546 invoked by uid 22791); 1 Oct 2012 22:03:41 -0000 X-SWARE-Spam-Status: No, hits=-8.3 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e34.co.us.ibm.com (HELO e34.co.us.ibm.com) (32.97.110.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Oct 2012 22:03:35 +0000 Received: from /spool/local by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Oct 2012 16:03:35 -0600 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e34.co.us.ibm.com (192.168.1.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 1 Oct 2012 16:03:33 -0600 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 6F7F619D8043 for ; Mon, 1 Oct 2012 16:03:32 -0600 (MDT) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q91M3VU3068176 for ; Mon, 1 Oct 2012 16:03:32 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q91M3UYO006609 for ; Mon, 1 Oct 2012 16:03:31 -0600 Received: from pthw510.ibm.com ([9.57.65.53]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q91M3Umk006485; Mon, 1 Oct 2012 16:03:30 -0600 Message-ID: <506A1331.1080903@linux.vnet.ibm.com> Date: Mon, 01 Oct 2012 17:03:29 -0500 From: Pat Haugen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120825 Thunderbird/10.0.7 MIME-Version: 1.0 To: GCC Patches CC: David Edelsohn Subject: [PATCH rs6000 testsuite] Fix a couple tests for VSX scalar instructions X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12100122-2876-0000-0000-000000A557DB X-IsSubscribed: yes 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 This patch fixes a couple failures that occur if the testsuite is run with -mvsx and the VSX scalar sqrt instructions are generated. Ok for trunk? -Pat testsuite/ChangeLog: 2012-10-01 Pat Haugen * gcc.target/powerpc/pr46728-1.c: Accept xssqrtdp. * gcc.target/powerpc/pr46728-2.c: Likewise. Index: gcc/testsuite/gcc.target/powerpc/pr46728-1.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/pr46728-1.c (revision 191713) +++ gcc/testsuite/gcc.target/powerpc/pr46728-1.c (working copy) @@ -27,5 +27,5 @@ main (int argc, char *argv[]) } -/* { dg-final { scan-assembler-times "fsqrt" 2 { target powerpc*-*-* } } } */ +/* { dg-final { scan-assembler-times "fsqrt|xssqrtdp" 2 { target powerpc*-*-* } } } */ /* { dg-final { scan-assembler-not "pow" { target powerpc*-*-* } } } */ Index: gcc/testsuite/gcc.target/powerpc/pr46728-2.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/pr46728-2.c (revision 191713) +++ gcc/testsuite/gcc.target/powerpc/pr46728-2.c (working copy) @@ -27,5 +27,5 @@ main (int argc, char *argv[]) } -/* { dg-final { scan-assembler-times "fsqrt" 4 { target powerpc*-*-* } } } */ +/* { dg-final { scan-assembler-times "fsqrt|xssqrtdp" 4 { target powerpc*-*-* } } } */ /* { dg-final { scan-assembler-not "pow" { target powerpc*-*-* } } } */