From patchwork Mon Jul 5 09:29:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Fisher X-Patchwork-Id: 57883 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 7C6D8B6F0E for ; Mon, 5 Jul 2010 19:29:47 +1000 (EST) Received: (qmail 10517 invoked by alias); 5 Jul 2010 09:29:46 -0000 Received: (qmail 10508 invoked by uid 22791); 5 Jul 2010 09:29:45 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-vw0-f47.google.com (HELO mail-vw0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Jul 2010 09:29:39 +0000 Received: by vws3 with SMTP id 3so2177509vws.20 for ; Mon, 05 Jul 2010 02:29:37 -0700 (PDT) Received: by 10.229.220.73 with SMTP id hx9mr1341428qcb.143.1278322177134; Mon, 05 Jul 2010 02:29:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.91.17 with HTTP; Mon, 5 Jul 2010 02:29:17 -0700 (PDT) From: Eric Fisher Date: Mon, 5 Jul 2010 17:29:17 +0800 Message-ID: Subject: [vect, mips] run the vect testsuite even no paired single support To: gcc-patches 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 Hi, This patch change the vect.exp to run the vect testsuite even the target has no paired single support. Tested on ia64 machine: Running /tools/trunk/gcc/testsuite/gcc.dg/vect/vect.exp ... FAIL: gcc.dg/vect/pr40254.c execution test === gcc Summary === # of expected passes 53 # of unexpected failures 1 # of expected failures 6 # of unsupported tests 487 tools/build-trunk/gcc/xgcc version 4.6.0 20100630 (experimental) (GCC) Thanks, Eric Index: gcc/testsuite/gcc.dg/vect/vect.exp =================================================================== --- gcc/testsuite/gcc.dg/vect/vect.exp (revision 161820) +++ gcc/testsuite/gcc.dg/vect/vect.exp (working copy) @@ -76,10 +76,10 @@ if [istarget "powerpc-*paired*"] { } else { set dg-do-what-default compile } -} elseif { [istarget "mips*-*-*"] - && [check_effective_target_mpaired_single] - && [check_effective_target_nomips16] } { - lappend DEFAULT_VECTCFLAGS "-mpaired-single" +} elseif { [istarget "mips*-*-*"] && [check_effective_target_nomips16] } { + if { [check_effective_target_mpaired_single] } { + lappend DEFAULT_VECTCFLAGS "-mpaired-single" + } set dg-do-what-default run } elseif [istarget "sparc*-*-*"] { lappend DEFAULT_VECTCFLAGS "-mcpu=ultrasparc" "-mvis"