From patchwork Mon Sep 7 03:03:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kugan Vivekanandarajah X-Patchwork-Id: 53209 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id C210C22B05 for ; Mon, 7 Sep 2015 03:04:05 +0000 (UTC) Received: by wisv5 with SMTP id v5sf21842137wis.0 for ; Sun, 06 Sep 2015 20:04:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type:x-original-sender :x-original-authentication-results; bh=c/33prqg7H6MZwcrpbMMONmjV6U+Fj6Wgzp9KDJNeWU=; b=FaIYi7ozmYA6V+dLTCZAnDC00AvPFEj42Jf/OgGrFb60OCJ4yebauZ/rWGzkXILXJi f/JPx2KeO2IqdkivWyIYBNHPwM+YuKTla5GK8TqUFDtEfe0HlZ1P8ly+oUCtsWrZHCgA UV9VA53Y/+uoBMSO2Gfluhwj9qXpSo7xM3qBsDnLi28wkNY9bjCIiArvt9ld/2oXEQke EWFT0UU2rlAT493F/OE5z3ODm5K7eiI1CmA31iaQmifOWOdBKhcnqzddmCo6D2xw4nFD TjRL1atfzi03yjDrsPjwazsEb04Q0swXZ5plmmXVddjOfOzDdRSdZT76OwPugSuS/008 bTdQ== X-Gm-Message-State: ALoCoQlXxjMHnrmlxQywE/qV6Loj13XMOpIyFPatDhR4ZQqCtJKqEEmeBMgAz2f1UZChx9MFYjbi X-Received: by 10.194.76.6 with SMTP id g6mr4308506wjw.1.1441595045101; Sun, 06 Sep 2015 20:04:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.227 with SMTP id f3ls544811lag.81.gmail; Sun, 06 Sep 2015 20:04:04 -0700 (PDT) X-Received: by 10.152.45.69 with SMTP id k5mr14973607lam.13.1441595044934; Sun, 06 Sep 2015 20:04:04 -0700 (PDT) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com. [2a00:1450:4010:c03::231]) by mx.google.com with ESMTPS id zc4si9251189lbb.83.2015.09.06.20.04.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Sep 2015 20:04:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::231 as permitted sender) client-ip=2a00:1450:4010:c03::231; Received: by lagj9 with SMTP id j9so44265960lag.2 for ; Sun, 06 Sep 2015 20:04:04 -0700 (PDT) X-Received: by 10.152.18.164 with SMTP id x4mr15239353lad.35.1441595044473; Sun, 06 Sep 2015 20:04:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp121081lbq; Sun, 6 Sep 2015 20:04:03 -0700 (PDT) X-Received: by 10.68.218.136 with SMTP id pg8mr40524669pbc.169.1441595043267; Sun, 06 Sep 2015 20:04:03 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id pt9si17589537pbc.137.2015.09.06.20.04.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Sep 2015 20:04:03 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-406783-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 87732 invoked by alias); 7 Sep 2015 03:03:49 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 87722 invoked by uid 89); 7 Sep 2015 03:03:48 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 07 Sep 2015 03:03:47 +0000 Received: by pacej10 with SMTP id ej10so890541pac.3 for ; Sun, 06 Sep 2015 20:03:45 -0700 (PDT) X-Received: by 10.66.159.197 with SMTP id xe5mr40872730pab.32.1441595025356; Sun, 06 Sep 2015 20:03:45 -0700 (PDT) Received: from [10.1.1.7] (58-6-183-210.dyn.iinet.net.au. [58.6.183.210]) by smtp.googlemail.com with ESMTPSA id jr12sm9986627pbb.91.2015.09.06.20.03.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Sep 2015 20:03:44 -0700 (PDT) Subject: [7/7] Adjust-arm-test cases To: "gcc-patches@gcc.gnu.org" References: <55ECFC2A.7050908@linaro.org> Cc: Richard Biener From: Kugan Message-ID: <55ECFE8A.8040200@linaro.org> Date: Mon, 7 Sep 2015 13:03:38 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55ECFC2A.7050908@linaro.org> X-IsSubscribed: yes X-Original-Sender: kugan.vivekanandarajah@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::231 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 gcc/testsuite/ChangeLog: 2015-09-07 Kugan Vivekanandarajah * gcc.target/arm/mla-2.c: Scan for wider mode operation. * gcc.target/arm/wmul-1.c: Likewise. * gcc.target/arm/wmul-2.c: Likewise. * gcc.target/arm/wmul-3.c: Likewise. * gcc.target/arm/wmul-9.c: Likewise. >From 305c526b4019fc11260c474143f6829be2cc3f54 Mon Sep 17 00:00:00 2001 From: Kugan Vivekanandarajah Date: Wed, 2 Sep 2015 12:21:46 +1000 Subject: [PATCH 7/8] adjust arm testcases --- gcc/testsuite/gcc.target/arm/mla-2.c | 2 +- gcc/testsuite/gcc.target/arm/wmul-1.c | 2 +- gcc/testsuite/gcc.target/arm/wmul-2.c | 2 +- gcc/testsuite/gcc.target/arm/wmul-3.c | 2 +- gcc/testsuite/gcc.target/arm/wmul-9.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/mla-2.c b/gcc/testsuite/gcc.target/arm/mla-2.c index 1e3ca20..474bce0 100644 --- a/gcc/testsuite/gcc.target/arm/mla-2.c +++ b/gcc/testsuite/gcc.target/arm/mla-2.c @@ -7,4 +7,4 @@ long long foolong (long long x, short *a, short *b) return x + *a * *b; } -/* { dg-final { scan-assembler "smlalbb" } } */ +/* { dg-final { scan-assembler "smla" } } */ diff --git a/gcc/testsuite/gcc.target/arm/wmul-1.c b/gcc/testsuite/gcc.target/arm/wmul-1.c index ddddd50..d4e7b41 100644 --- a/gcc/testsuite/gcc.target/arm/wmul-1.c +++ b/gcc/testsuite/gcc.target/arm/wmul-1.c @@ -16,4 +16,4 @@ int mac(const short *a, const short *b, int sqr, int *sum) return sqr; } -/* { dg-final { scan-assembler-times "smlabb" 2 } } */ +/* { dg-final { scan-assembler-times "mla" 2 } } */ diff --git a/gcc/testsuite/gcc.target/arm/wmul-2.c b/gcc/testsuite/gcc.target/arm/wmul-2.c index 2ea55f9..0e32674 100644 --- a/gcc/testsuite/gcc.target/arm/wmul-2.c +++ b/gcc/testsuite/gcc.target/arm/wmul-2.c @@ -10,4 +10,4 @@ void vec_mpy(int y[], const short x[], short scaler) y[i] += ((scaler * x[i]) >> 31); } -/* { dg-final { scan-assembler-times "smulbb" 1 } } */ +/* { dg-final { scan-assembler-times "mul" 1 } } */ diff --git a/gcc/testsuite/gcc.target/arm/wmul-3.c b/gcc/testsuite/gcc.target/arm/wmul-3.c index 144b553..46d709c 100644 --- a/gcc/testsuite/gcc.target/arm/wmul-3.c +++ b/gcc/testsuite/gcc.target/arm/wmul-3.c @@ -16,4 +16,4 @@ int mac(const short *a, const short *b, int sqr, int *sum) return sqr; } -/* { dg-final { scan-assembler-times "smulbb" 2 } } */ +/* { dg-final { scan-assembler-times "mul" 2 } } */ diff --git a/gcc/testsuite/gcc.target/arm/wmul-9.c b/gcc/testsuite/gcc.target/arm/wmul-9.c index 40ed021..415a114 100644 --- a/gcc/testsuite/gcc.target/arm/wmul-9.c +++ b/gcc/testsuite/gcc.target/arm/wmul-9.c @@ -8,4 +8,4 @@ foo (long long a, short *b, char *c) return a + *b * *c; } -/* { dg-final { scan-assembler "smlalbb" } } */ +/* { dg-final { scan-assembler "mlal" } } */ -- 1.9.1