From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18470 invoked by alias); 6 Jul 2010 00:47:20 -0000 Received: (qmail 18462 invoked by uid 22791); 6 Jul 2010 00:47:20 -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; Tue, 06 Jul 2010 00:47:11 +0000 Received: by vws3 with SMTP id 3so3026235vws.20 for ; Mon, 05 Jul 2010 17:47:10 -0700 (PDT) Received: by 10.229.250.149 with SMTP id mo21mr2035636qcb.258.1278377229209; Mon, 05 Jul 2010 17:47:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.91.17 with HTTP; Mon, 5 Jul 2010 17:46:49 -0700 (PDT) In-Reply-To: References: From: Eric Fisher Date: Tue, 06 Jul 2010 00:47:00 -0000 Message-ID: Subject: Re: [vect, mips] run the vect testsuite even no paired single support To: Diego Novillo Cc: gcc-patches Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg00420.txt.bz2 2010/7/5 Diego Novillo : > The code you changed affect mips targets. How will testing on ia64 > help? Is this a cross compiler? Additionally, I don't see why the > change is necessary. You seem to be changing the logic that appends > mpaired-single, not the logic that decides whether to run vect.exp at > all. Yes. It's a cross compiler for loongson2f. The original logic will fall into the 'else' fragment when the target doesn't support paired-single, hence 'return'. The change will make the test go ahead even the target doesn't support paired-single such as loongson2f which has SIMD instructions. Here is the result for the original testsuite. Running /tools/trunk/gcc/testsuite/gcc.dg/vect/vect.exp ... === gcc Summary === /tools/build-trunk/gcc/xgcc version 4.6.0 20100630 (experimental) (GCC) Thanks. Eric