From patchwork Wed May 11 13:23:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 67520 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp225116qge; Wed, 11 May 2016 06:26:22 -0700 (PDT) X-Received: by 10.98.40.138 with SMTP id o132mr4949594pfo.98.1462973179042; Wed, 11 May 2016 06:26:19 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id b29si9637855pfc.170.2016.05.11.06.26.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2016 06:26:19 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-427070-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-427070-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-427070-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=bmfIW9643EVVfle4mLv0dI3Qw2pQLd9DSRdcaVunP1B6SlCTzWUA6 hOT13eDyG6hXzJg1rB6zf0aHI66mCHq4qZg5+BQ8d53lFhcp+8qegBCDKErIiznS nNO/9zLhZvV3JUxLM5N+/lH9arIwO7A8UbIqmfs0INi3MOsY99p1f0= 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=WGAA86PcUA+UY+x/KUOyFmerBAU=; b=ulKHF/A9i8mZiv//Mc1E9fuPLmrD ekH6aFySFIdj/RnYGE0tsJh2fbmSsFDutmgYBrZtVOQvvdh18/C+B+mZB3qhkJEY 98+GAhjlKE0i8L7kkoaVUvkEF5ATjBnV5K8FnQh1WWJs9zrF/fJF0JmibcQIf0nu rAspzVZAhS/CSVY= Received: (qmail 83768 invoked by alias); 11 May 2016 13:24:22 -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 83378 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:2264 X-HELO: mail-wm0-f52.google.com Received: from mail-wm0-f52.google.com (HELO mail-wm0-f52.google.com) (74.125.82.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 May 2016 13:24:00 +0000 Received: by mail-wm0-f52.google.com with SMTP id a17so82633080wme.0 for ; Wed, 11 May 2016 06:23:59 -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=91xNKlk4PiLdPyc78B4x0khcfxvpUrJLOt2aIn0qVoI=; b=WbRVZRlvXRRuL8vG9AQ/Wpx0uu7r71yOPAZknoFD0D5Pg3gMgO5SPdY1uUT3ttZenV aLW7mPhbftajXuAmJmTrqPJ/SQgKoUj25PQADfLjJ+53beNrd4Yj4uBa6kxc08H0CbpS NXGX0S0Zu/s/Pxjuq0lnJw5NEGorv/ZXICd6SImWCM3LPOG9+GChfQk9N9S825K1EEHD yNDJSkL9xMMlatzlMCEaBQKtYSrw7w2VLvtilb3Fx71uOzjrwA9qOZ5ICwTWcEey88Sf RWJP7W6qjAzYART0iDNlk5UkNHVcCGOXQk9Tbn8HJc80GUW0z5RFtIA5bEeDxnO2dNDV ORLg== X-Gm-Message-State: AOPr4FVKzs9mr9K8q+Q7TgH3+iEuvXi7cAnzyi59dwZRgYO1aUQdzqQRyDjCP346gh7EjrXp X-Received: by 10.194.20.162 with SMTP id o2mr3790566wje.78.1462973037415; Wed, 11 May 2016 06:23:57 -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.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 May 2016 06:23:56 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org Subject: [Patch ARM/AArch64 02/11] We can remove useless #ifdefs from these tests: vmul, vshl and vtst. Date: Wed, 11 May 2016 15:23:52 +0200 Message-Id: <1462973041-7911-3-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 2016-05-02 Christophe Lyon * gcc.target/aarch64/advsimd-intrinsics/vmul.c: Remove useless #ifdef. * gcc.target/aarch64/advsimd-intrinsics/vshl.c: Likewise. * gcc.target/aarch64/advsimd-intrinsics/vtst.c: Likewise. Change-Id: I1b00b8edc4db6e6457be5bc1f92e8b6e218da644 -- 1.9.1 diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vmul.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vmul.c index 0cbb656..63f0d8d 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vmul.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vmul.c @@ -37,10 +37,8 @@ VECT_VAR_DECL(expected,poly,8,16) [] = { 0x60, 0xca, 0x34, 0x9e, VECT_VAR_DECL(expected,hfloat,32,4) [] = { 0xc4c73333, 0xc4bac000, 0xc4ae4ccd, 0xc4a1d999 }; -#ifndef INSN_NAME #define INSN_NAME vmul #define TEST_MSG "VMUL" -#endif #define FNNAME1(NAME) exec_ ## NAME #define FNNAME(NAME) FNNAME1(NAME) diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vshl.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vshl.c index 821c11e..e8a57a4 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vshl.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vshl.c @@ -101,10 +101,8 @@ VECT_VAR_DECL(expected_negative_shift,uint,64,2) [] = { 0x7ffffffffffffff, 0x7ffffffffffffff }; -#ifndef INSN_NAME #define INSN_NAME vshl #define TEST_MSG "VSHL/VSHLQ" -#endif #define FNNAME1(NAME) exec_ ## NAME #define FNNAME(NAME) FNNAME1(NAME) diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vtst.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vtst.c index 7f96540..9e74ffb 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vtst.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vtst.c @@ -32,10 +32,8 @@ VECT_VAR_DECL(expected_unsigned,uint,16,8) [] = { 0x0, 0xffff, VECT_VAR_DECL(expected_unsigned,uint,32,4) [] = { 0x0, 0xffffffff, 0x0, 0xffffffff }; -#ifndef INSN_NAME #define INSN_NAME vtst #define TEST_MSG "VTST/VTSTQ" -#endif /* We can't use the standard ref_v_binary_op.c template because vtst has no 64 bits variant, and outputs are always of uint type. */