From patchwork Thu Jun 1 07:35:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Hua X-Patchwork-Id: 769502 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 3wdfK10xZGz9s9Y for ; Thu, 1 Jun 2017 17:35:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="KSahBNUU"; 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 :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=kw0MnDKYgvvqgOgw+OPlXcaEqQg6nYwBcax5FJwnOF55y4 0bsQdj8HoSRnbBGXAFUKcISfrvHoMRvZD9toZ7c25K+tZaPCbqQD7hUIHwhI9pJz Cf6XEkqqUyi8cllUQq3M9o01x0kKQmEYQ5YaG5Ru1jcGcvqPEzvhW3+iMJJ8A= 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:content-type; s= default; bh=ibO7x3Rq/lY8ZC7/PH4wBr3Z0N0=; b=KSahBNUUzmhWbjczO759 WoJ7/v27vNhjhPTMaIaxRmIIDEh1TSwEUCqFxZ7EskyU3Z8E/FXnhOBMEJS2g983 PzSMLBWEBxZmV1B1yRkJ9bfzyXBk6IQBvKINlPn8EuJlKEO9MtkPd1uBvWPWlSUB a8nIyhvem2hWJRgNFEULgI4= Received: (qmail 95526 invoked by alias); 1 Jun 2017 07:35:34 -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 95509 invoked by uid 89); 1 Jun 2017 07:35:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 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, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qk0-f171.google.com Received: from mail-qk0-f171.google.com (HELO mail-qk0-f171.google.com) (209.85.220.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Jun 2017 07:35:31 +0000 Received: by mail-qk0-f171.google.com with SMTP id p66so13385962qkf.3 for ; Thu, 01 Jun 2017 00:35:35 -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; bh=GtapG5oETMM07T7R5C3W6/Em4qkniAwrUsejdnCDx98=; b=p6IuxskXdQSv7beyGD0jt1OFbusP+pYUxNkzNbRRrYVG2nPQ5O3Bip7HP/bEPOOtqN vgptIZEyBPdyCAklecreLUGblS2D33NXbLSA92A/Zd3d2qRFX5rcJQAT7wwx8VSc69zS f8UCWuPI3UQflumBh450suaTvvzB4b+VGiPk+PVe+9u3cAw9F2qoWe/5wAKlLQvTz5Lx WHLVeLXCvBKxLRhmsoZ7jos9RO/l2kT2MitvxjVTvVftX50r541oTIgOZ4jCGtaOGiKS jZDy2sWHuwmZrTaktx6VykGOeadwQRXKcW+QtJ4siLtzBMI5Q8XRqz7mXmcbgzySSUu5 nuRQ== X-Gm-Message-State: AKS2vOybHdhbmZ0HdjeGSDghzhfQMyJxTpOxIsUCX5r4CNCfBo/O/tKV TtM/YbiwtCWnsK6hd8uTOl8wztY6dJt7 X-Received: by 10.55.182.129 with SMTP id g123mr74637qkf.245.1496302533575; Thu, 01 Jun 2017 00:35:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.136.3 with HTTP; Thu, 1 Jun 2017 00:35:33 -0700 (PDT) From: Paul Hua Date: Thu, 1 Jun 2017 15:35:33 +0800 Message-ID: Subject: [testsuite]MIPS remove duplicate div-x test To: gcc-patches X-IsSubscribed: yes Hi, There are duplicate testcase in gcc.target/mips dir. div-5.c same as div-9.c. div-6.c same as div-10.c. div-7.c same as div-11.c. div-8.c same as div-12.c. Is this deliberate? Otherwise, the attached patch fixing this. Paul. ***ChangeLog*** 2017-06-01 Chenghua Xu Remove duplicate div-x testcase. * gcc.target/mips/div-9.c: Delete. * gcc.target/mips/div-10.c: Ditto. * gcc.target/mips/div-11.c: Ditto. * gcc.target/mips/div-12.c: Ditto. diff --git a/gcc/testsuite/gcc.target/mips/div-10.c b/gcc/testsuite/gcc.target/mips/div-10.c deleted file mode 100644 index fb8953d..0000000 --- a/gcc/testsuite/gcc.target/mips/div-10.c +++ /dev/null @@ -1,12 +0,0 @@ -/* { dg-options "-mgp64 (-mips16)" } */ -/* { dg-final { scan-assembler "\tdivu\t" } } */ -/* { dg-final { scan-assembler "\tmflo\t" } } */ -/* { dg-final { scan-assembler-not "\tmfhi\t" } } */ - -typedef unsigned int SI __attribute__((mode(SI))); - -MIPS16 SI -f (SI x, SI y) -{ - return x / y; -} diff --git a/gcc/testsuite/gcc.target/mips/div-11.c b/gcc/testsuite/gcc.target/mips/div-11.c deleted file mode 100644 index ff12929..0000000 --- a/gcc/testsuite/gcc.target/mips/div-11.c +++ /dev/null @@ -1,12 +0,0 @@ -/* { dg-options "-mgp64 (-mips16)" } */ -/* { dg-final { scan-assembler "\tdiv\t" } } */ -/* { dg-final { scan-assembler-not "\tmflo\t" } } */ -/* { dg-final { scan-assembler "\tmfhi\t" } } */ - -typedef int SI __attribute__((mode(SI))); - -MIPS16 SI -f (SI x, SI y) -{ - return x % y; -} diff --git a/gcc/testsuite/gcc.target/mips/div-12.c b/gcc/testsuite/gcc.target/mips/div-12.c deleted file mode 100644 index 57866ce..0000000 --- a/gcc/testsuite/gcc.target/mips/div-12.c +++ /dev/null @@ -1,12 +0,0 @@ -/* { dg-options "-mgp64 (-mips16)" } */ -/* { dg-final { scan-assembler "\tdivu\t" } } */ -/* { dg-final { scan-assembler-not "\tmflo\t" } } */ -/* { dg-final { scan-assembler "\tmfhi\t" } } */ - -typedef unsigned int SI __attribute__((mode(SI))); - -MIPS16 SI -f (SI x, SI y) -{ - return x % y; -} diff --git a/gcc/testsuite/gcc.target/mips/div-9.c b/gcc/testsuite/gcc.target/mips/div-9.c deleted file mode 100644 index 294cc7f..0000000 --- a/gcc/testsuite/gcc.target/mips/div-9.c +++ /dev/null @@ -1,12 +0,0 @@ -/* { dg-options "-mgp64 (-mips16)" } */ -/* { dg-final { scan-assembler "\tdiv\t" } } */ -/* { dg-final { scan-assembler "\tmflo\t" } } */ -/* { dg-final { scan-assembler-not "\tmfhi\t" } } */ - -typedef int SI __attribute__((mode(SI))); - -MIPS16 SI -f (SI x, SI y) -{ - return x / y; -}