From patchwork Wed May 11 13:23:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 67526 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp225966qge; Wed, 11 May 2016 06:28:11 -0700 (PDT) X-Received: by 10.66.138.16 with SMTP id qm16mr5020625pab.28.1462973291651; Wed, 11 May 2016 06:28:11 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 2si9866007pai.214.2016.05.11.06.28.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2016 06:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-427076-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-427076-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-427076-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org 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:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=mN3hf0LdwbUCv68v8Ss/YnD7d2PhGzPnkfz46ZbnPdiy6ySzSz+wq qLiILYgz9IQyRtCBTHrKbfh5U+tdc5VkJYp1pQRwr3qMSDjL2o89XAqY7W+D0Ew/ pmusPRnG4Z0AIn0sgmOsIU0PLWP5JSlycYcFBP75m8Mq8bp7QsOa1k= 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:subject:date:message-id:in-reply-to:references; s=default; bh=vJbl/zlqHT3q3rzHyWZsPByPq2E=; b=liQ4tTyvaDllmbVaFbIKEVXPQpUJ aruhSloKhlWMFrP7zEUl2unf9oUvL+6KQNO1SbhBmlL59WfWt79vDsaFJm+newjt 7F0ikSwCIcyK+fflCVoScVUHZ4QKld81r1rCL/hcQE7G/nw9Gs8FuMCj3aVaO/lA P8aFRaZdceJcFMk= Received: (qmail 84163 invoked by alias); 11 May 2016 13:24:24 -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 83388 invoked by uid 89); 11 May 2016 13:24:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1627, SAT, COMMENT X-HELO: mail-wm0-f53.google.com Received: from mail-wm0-f53.google.com (HELO mail-wm0-f53.google.com) (74.125.82.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 May 2016 13:24:01 +0000 Received: by mail-wm0-f53.google.com with SMTP id g17so82519259wme.1 for ; Wed, 11 May 2016 06:24:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=g7jwJ+sZ6zkDEopmbAfkYotuK3/pz8qbRddSNjTeoP0=; b=XLjICAaFhnI46rv6Ah0l9zk+bDUS9RP/Cc3xJwYSDyhWJBtw8yPmmFZt/MGlYJY9wo vLP18Gph6Zpqe1Fv6quBvjzhvCkZ1thTAjcXPlVaB36a72mmo6CPqnVnId8WpRyp+qqN Pz31U8NOLcJn1YkY42qMzs2rSV4ul6ThE+FqtXaXhKdIcrASgv7RRBYTUK9AmPL5GshD 9xJ89AB0Y/b5s9dbPwwjfcT0/QkZX4hnRdxdngim88xGCWnGqHLmOe4xZn4Cv4TAwTNG XpAn4MyT9fRdU+tQeChW29SsF1t269c+VEQGKjgKFigYidLz669QWzjmuQTnD6l8EhlW +U0A== X-Gm-Message-State: AOPr4FVmNmGxX41KK2WqFNcKRF19xoUtbgNT+vaHhQrg+Mp+Ir3GOmKnJmImfTaTdSH9roSf X-Received: by 10.28.23.138 with SMTP id 132mr4535661wmx.50.1462973038097; Wed, 11 May 2016 06:23:58 -0700 (PDT) Received: from gnx2647.guests.st.com (29-39.80-90.static-ip.oleane.fr. [90.80.39.29]) by smtp.gmail.com with ESMTPSA id u6sm35876719wmd.21.2016.05.11.06.23.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 May 2016 06:23:57 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org Subject: [Patch ARM/AArch64 03/11] AdvSIMD tests: be more verbose. Date: Wed, 11 May 2016 15:23:53 +0200 Message-Id: <1462973041-7911-4-git-send-email-christophe.lyon@linaro.org> In-Reply-To: <1462973041-7911-1-git-send-email-christophe.lyon@linaro.org> References: <1462973041-7911-1-git-send-email-christophe.lyon@linaro.org> X-IsSubscribed: yes It is useful to have more detailed information in the logs when checking validation results: instead of repeating the intrinsic name, we now print its return type too. 2016-05-02 Christophe Lyon * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h (CHECK, CHECK_FP, CHECK_CUMULATIVE_SAT): Print which type was checked. Change-Id: I74759d6a211cf52962f860fe77653a6f6edc1848 -- 1.9.1 diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h index 49fbd84..a2c160c 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h @@ -81,7 +81,7 @@ extern size_t strlen(const char *); abort(); \ } \ } \ - fprintf(stderr, "CHECKED %s\n", MSG); \ + fprintf(stderr, "CHECKED %s %s\n", STR(VECT_TYPE(T, W, N)), MSG); \ } /* Floating-point variant. */ @@ -110,7 +110,7 @@ extern size_t strlen(const char *); abort(); \ } \ } \ - fprintf(stderr, "CHECKED %s\n", MSG); \ + fprintf(stderr, "CHECKED %s %s\n", STR(VECT_TYPE(T, W, N)), MSG); \ } /* Clean buffer with a non-zero pattern to help diagnose buffer @@ -335,7 +335,8 @@ extern int VECT_VAR(expected_cumulative_sat, uint, 64, 2); strlen(COMMENT) > 0 ? " " COMMENT : ""); \ abort(); \ } \ - fprintf(stderr, "CHECKED CUMULATIVE SAT %s\n", MSG); \ + fprintf(stderr, "CHECKED CUMULATIVE SAT %s %s\n", \ + STR(VECT_TYPE(T, W, N)), MSG); \ } #define CHECK_CUMULATIVE_SAT_NAMED(test_name,EXPECTED,comment) \