From patchwork Wed Mar 14 06:29:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Hua X-Patchwork-Id: 885626 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-474695-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="E+IbhgAc"; dkim-atps=neutral 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 401MJn3z4Yz9sTf for ; Wed, 14 Mar 2018 17:29:43 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=kW2rNhCxkHQ43uslU0oUeQJ9azhYejdJgHdi5bSIoPJ N1awKMZAW717OAiOIwJSiirZCXIOXneGwZGOuVeKUxGSAUgdjxrJUBz3AAVbb4N1 ov+POVuzb/9DrKXCNt3N6RncSLLEWmc2rR6zj0i5nALTu9q0WKNbhhDYmDxjHHVs = 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 :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=ML/wPidQuGQSafvRIYWxLihiTSo=; b=E+IbhgAcYB9N532bq CUyBrgu4tqUGsud2a/zMz7VNdDYc/f+ynzx0VJJF7nYKJCM8Itn0aIfrLnwe8Sn2 U4ZQGCC26DQroIVjqxRi2HoS+ZPRklbs/5x94Oq+wkS1yIQrFWO9GfizFo/BbqOq WHHWUqMQiH1S8Fqx/4DW5SDHq0= Received: (qmail 69095 invoked by alias); 14 Mar 2018 06:29:36 -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 69058 invoked by uid 89); 14 Mar 2018 06:29:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-oi0-f66.google.com Received: from mail-oi0-f66.google.com (HELO mail-oi0-f66.google.com) (209.85.218.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Mar 2018 06:29:34 +0000 Received: by mail-oi0-f66.google.com with SMTP id u73so1817989oie.3 for ; Tue, 13 Mar 2018 23:29:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=2vYM/l/Y9PMIU7DdK2WCxL6SvfBsWConYc91jjD3TMo=; b=B4Wt5fnwCCnSxfvGRxW5T/vps3glHmPWOXy7gtx0xqNK6FJRA6mVCb9feR92jBoHqL 3PiMJ8n4HNZ3EUpqUGYXnYK3JiLpzYohCwBnuaA7zzt8lFrp+pG1Mux6DRjHPivxuNyi 0JzrBW590tLJKh0vOBvp1DrjlS9JQTAThqzcIPKXWXFM67y6Qoa1XhU+mouMEJdkhdh4 yicBRGECpgCH4/NnT5o9vQ1WhvhI1GriEZIYsl9m2ThUjytux2wl9EnhOK99JSnOZd8l VSLTzUYiSchufZh1e+Av3WmZk/CHGPeD5T6w9v86MtUhqnkhspSBZBRA+KFSH7KcxgU5 GDew== X-Gm-Message-State: AElRT7EybveYnPnc2NgkkmAFbnHqXq/E53/mRRs0418RmnnEb8WaKupC lXH4nunZlqGSuAgrqJDUGtiSxQBD4mS1AdCn+C41EQ== X-Google-Smtp-Source: AG47ELs8+euPzcEbrv7J2v+ozYfAjM93eIs1XKNllPo+arC9xIi3MDbahJkHddroaXBkZwakaR9LR06YQISFY2uFR2Q= X-Received: by 10.202.187.134 with SMTP id l128mr2175771oif.247.1521008972241; Tue, 13 Mar 2018 23:29:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.67.143 with HTTP; Tue, 13 Mar 2018 23:29:31 -0700 (PDT) From: Paul Hua Date: Wed, 14 Mar 2018 14:29:31 +0800 Message-ID: Subject: [PATCH/testsuite] Skip vect-strided-shift-1.c on MIPS with -mpaired-single option. To: gcc-patches Cc: "Moore, Catherine (Catherine_Moore@mentor.com)" , mfortune@gmail.com X-IsSubscribed: yes Hi: The vect-strided-shift-1.c test fails on MIPS target. FAIL: gcc.dg/vect/vect-strided-shift-1.c -mpaired-single scan-tree-dump-times vect "vectorized 1 loops in function" 1 (found 0 times) FAIL: gcc.dg/vect/vect-strided-shift-1.c -flto -ffat-lto-objects -mpaired-single scan-tree-dump-times vect "vectorized 1 loops in function" 1 (found 0 times) Because the MIPS paired single insns only support for float operations, not suite for this test. added dg-skip-if directives on it for skip -mpaired-single option. Ok for commit ? Paul Hua ChangeLog entries: gcc/testsuite/ChangeLog 2018-03-14 Chenghua Xu * gcc.dg/vect/vect-strided-shift-1.c: Add dg-skip-if for MIPS with -mpaired-single directives. diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c b/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c index b1ce2ec..dcae9c2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c @@ -1,3 +1,4 @@ +/* { dg-skip-if "Skip for mips -mpaired-single" { mips*-*-* } { "-mpaired-single" } } */ /* PR tree-optimization/65963. */ #include "tree-vect.h"