From patchwork Thu Jun 6 07:19:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu Ianculescu X-Patchwork-Id: 1110908 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-502437-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (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="bNMDCPeY"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lJKE42sT"; 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 45KH953WHYz9sDX for ; Thu, 6 Jun 2019 17:19:35 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; q=dns; s=default; b=PWTk+kEXLhSoU7HJ 0uvlRFZJD+BwUAxi4yw0cbfX8KyMaWwO8CnwV5FtMhqhO5KZ6p8dZFFByNoiAXyA muVCe2x1WwoolI1kvBr12ZDLhG5l9HFoQs3MSt+IkPzCxJZcprTNuRbSXkhlNsDd jaGRgJwf/+rYJFVgyYDH0FxpmVo= 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:from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=default; bh=nnR4fkbic4Ow4x+Br5OQHk 6093w=; b=bNMDCPeYpgzGkqpS6pJNEbrJpjBRFJ5qsJ7nVIid2P3jftF4Qay5O1 AO6UMh4cQHP8PvmAAuga0I5ZyhPpLcy+8OZoBkbXfpM8hBLdDN9PUgn3ffChbdT4 2VHBW6u32TDCEzOPixrKq1dPR8sW03BhKYJAbiB4INZOcrTZCcdfg= Received: (qmail 83611 invoked by alias); 6 Jun 2019 07:19:27 -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 83602 invoked by uid 89); 6 Jun 2019 07:19:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=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.1 spammy=HX-Received:Thu, ARC, HContent-Transfer-Encoding:8bit X-HELO: mail-wr1-f54.google.com Received: from mail-wr1-f54.google.com (HELO mail-wr1-f54.google.com) (209.85.221.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Jun 2019 07:19:25 +0000 Received: by mail-wr1-f54.google.com with SMTP id c2so1197757wrm.8 for ; Thu, 06 Jun 2019 00:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=h9CKGSMbLEx/ZXTFrz9gu4HXzJ1/ZMFY8lj4WAK6D1s=; b=lJKE42sTPGRqqfr9vYAtbTZukyr7KQDMIrlAuURN8l1rgRVfOIP7sxKkknI7Sv+Qy8 jzFE5w0fKdBJrty0JaBplruBdgCMLm5kKr0yQ5EkuLo+b+eIkXTsTowvf9HkqG+zHlbV ql6J+3ipGNhAGrW05aSKWYi8ecnQuotoBRLPClUhPsHVPhGONQkTYYF5YsqzOxuclM6z G/oiPJ0eOoHl849EKm8MxkoQfnPPBQR3TP5AZve+Clg6tkQ3ebwjAcxPOECSKbJn2JLa aN7aoEZNlm40cF85MwjtQFciDt1bJQjCIsR2gTHAaY15tvYffVBsQI/7pMx2rsdAVGo/ IEsg== Received: from localhost.localdomain (5-12-234-75.residential.rdsnet.ro. [5.12.234.75]) by smtp.gmail.com with ESMTPSA id r2sm895041wma.26.2019.06.06.00.19.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 00:19:22 -0700 (PDT) From: Claudiu Zissulescu To: gcc-patches@gcc.gnu.org Cc: andrew.burgess@embecosm.com Subject: [PATCH][ARC][committed] Update tmac tests. Date: Thu, 6 Jun 2019 10:19:13 +0300 Message-Id: <20190606071913.6477-1-claziss@gmail.com> MIME-Version: 1.0 X-IsSubscribed: yes Fix order of dg-directives such that tests are executed only when there is no command line cpu option given. gcc/testsuite/ xxxx-xx-xx Claudiu Zissulescu * gcc.target/arc/tmac-1.c: Reoreder dg-directives. * gcc.target/arc/tmac-2.c: Likewise. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arc/tmac-1.c | 3 +-- gcc/testsuite/gcc.target/arc/tmac-2.c | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 18a480fcdab..62262461834 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-06 Claudiu Zissulescu + + * gcc.target/arc/tmac-1.c: Reoreder dg-directives. + * gcc.target/arc/tmac-2.c: Likewise. + 2019-06-05 Martin Sebor PR c/90737 diff --git a/gcc/testsuite/gcc.target/arc/tmac-1.c b/gcc/testsuite/gcc.target/arc/tmac-1.c index e59df5f6b59..3fcabf5fff2 100644 --- a/gcc/testsuite/gcc.target/arc/tmac-1.c +++ b/gcc/testsuite/gcc.target/arc/tmac-1.c @@ -1,5 +1,5 @@ -/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-do compile } */ +/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-options "-O2 -mcpu=archs -mmpy-option=8" } */ /* Test MAC operation for MPY_OPTION = 8. */ @@ -9,4 +9,3 @@ /* { dg-final { scan-assembler "macdu" } } */ /* { dg-final { scan-assembler "mpyd " } } */ /* { dg-final { scan-assembler "mpydu" } } */ - diff --git a/gcc/testsuite/gcc.target/arc/tmac-2.c b/gcc/testsuite/gcc.target/arc/tmac-2.c index f0136bac3e6..ee1339a2f23 100644 --- a/gcc/testsuite/gcc.target/arc/tmac-2.c +++ b/gcc/testsuite/gcc.target/arc/tmac-2.c @@ -1,5 +1,5 @@ -/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-do compile } */ +/* { dg-skip-if "" { ! { clmcpu } } } */ /* { dg-options "-O2 -mcpu=archs -mmpy-option=7" } */ /* Test MAC operation for MPY_OPTION = 7. */