From patchwork Fri Oct 18 19:49:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 176972 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp1297657ocf; Fri, 18 Oct 2019 13:00:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTkRb7/jFKQzd97YpzGoJCrdSHNH0g/t57AnxTgax6hOlFGsQThbaGQkuYwbzxXRUZsR4Z X-Received: by 2002:a17:906:c317:: with SMTP id s23mr10898462ejz.251.1571428859099; Fri, 18 Oct 2019 13:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571428859; cv=none; d=google.com; s=arc-20160816; b=kYNEjy5sbH5jVz10ImOC/SHXM2/PWG4HBR7gsxiw/VOy4p08qINaKzIGJc7oxikR5K d+M1gIVBgLlI4B97hOi656jzXvl5CkvQI4zoz0iAmp2/AzkLK2ljr5UbhN66eEs09Qrv YxjxEMiubufEqA4lDmqCpsfzhVX5U91PHYC9WujSTSxLrZk9eQUui9qWa97b002SvVzc fLkvJ2Z+KnhlZI9BrzQkoGp+ZpwqhuPEWhokTEJpK2rikVw/JM5j5hWZo6Pjo3Kf/Ag3 9PvanpPXvqfEtghnOVQ2Iwlj1+ONnZAO2Ncc6F7TYLAl+cWRCSd2kUYdqzC/vL5J+L7o dZtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=cDOBhtg4Oy6EjujwGz+Qt4K8w9SslF68gwcQGr8x/F0=; b=w16GCZj3Sg8Dyh3pCbHiYxksQQmlCuQA1G6R0K+fPMCKNvGEaxOLdxzqreT6lrlfSa NBcY8oDnfXahMPnd0I49YF/XNG6lBSlDnm/H7mfpd0lhU91T8gQDy2zpiY168UFTJBZ4 oa8ISC+vdfAJllGxvz7fmFWxF8C04sO1Gmak5PG2q5/EfeljIeT8xncf9xXwLcG8N8Rm 2PZEjj20OMgn5++hKW4gr40pY/LF3bxmRz9eLbQobiVR+JtOdh+9IHfX4LD+NtpzHjn+ +VDU4ygGjPDETI/CGaLcq4vHR+X/dLT+6kCdO9b85zoZtLkov1Es8tBJPtRpp5Qo3pPW qhHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=U12TBExf; spf=pass (google.com: domain of gcc-patches-return-511338-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-511338-patch=linaro.org@gcc.gnu.org" Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y50si5012114edd.237.2019.10.18.13.00.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2019 13:00:59 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-511338-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 header.s=default header.b=U12TBExf; spf=pass (google.com: domain of gcc-patches-return-511338-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-511338-patch=linaro.org@gcc.gnu.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:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=KrJL78jjs/WXEF5H gCEfc5cKpi8p/xWf9BxNLc5q/ENOW8FmDB8dUlNHFPsqqlhp84gDFKI60xSdrBFf wt4caMFFMlRWwQ2wAXemFJk4092dpYgnYTaEkoy39Z+deigghcio0RC6YsKwYP4M /RqqGt0JfJF2ykWhIe8YTwQ7TTo= 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:in-reply-to:references :mime-version:content-type; s=default; bh=Oew5I/UpL7RstMVxHjZ+Tx mOZWM=; b=U12TBExf2kEXPfkSnFvUUtMxmk+V2AaK0lNrhT+BD3byaz6zKFuoi1 PT4yVOj4R7bk0GmJpob0ZcGp9CllTLyahfg8l0DPcw/6UJUvHj1GskulvTwo1pop HPQeIdCUDA4qQ3yRz7rRT9czEZZRY+RROFpKH7v502kOg0Fqry39w= Received: (qmail 122250 invoked by alias); 18 Oct 2019 19:56:39 -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 116108 invoked by uid 89); 18 Oct 2019 19:55:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, SPF_FAIL autolearn=ham version=3.3.1 spammy=HX-Languages-Length:994 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Oct 2019 19:55:52 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLYLd-0005AA-3N for gcc-patches@gcc.gnu.org; Fri, 18 Oct 2019 15:55:41 -0400 Received: from [217.140.110.172] (port=42768 helo=foss.arm.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLYLc-00055X-TY for gcc-patches@gcc.gnu.org; Fri, 18 Oct 2019 15:55:41 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 614031767; Fri, 18 Oct 2019 12:49:32 -0700 (PDT) Received: from eagle.buzzard.freeserve.co.uk (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E2C663F6C4; Fri, 18 Oct 2019 12:49:31 -0700 (PDT) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [PATCH 29/29] [arm] Fix testsuite nit when compiling for thumb2 Date: Fri, 18 Oct 2019 20:49:00 +0100 Message-Id: <20191018194900.34795-30-Richard.Earnshaw@arm.com> In-Reply-To: <20191018194900.34795-1-Richard.Earnshaw@arm.com> References: <20191018194900.34795-1-Richard.Earnshaw@arm.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.140.110.172 In thumb2 we now generate a NEGS instruction rather than RSBS, so this test needs updating. * gcc.target/arm/negdi-3.c: Update expected output to allow NEGS. --- gcc/testsuite/gcc.target/arm/negdi-3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/negdi-3.c b/gcc/testsuite/gcc.target/arm/negdi-3.c index 76ddf49fc0d..1520e9c65df 100644 --- a/gcc/testsuite/gcc.target/arm/negdi-3.c +++ b/gcc/testsuite/gcc.target/arm/negdi-3.c @@ -8,10 +8,10 @@ signed long long negdi_zero_extendsidi (unsigned int x) } /* Expected output: - rsbs r0, r0, #0 + rsbs r0, r0, #0 (arm) | negs r0, r0 (thumb2) sbc r1, r1, r1 */ -/* { dg-final { scan-assembler-times "rsb" 1 } } */ +/* { dg-final { scan-assembler-times "rsbs|negs" 1 } } */ /* { dg-final { scan-assembler-times "sbc" 1 } } */ /* { dg-final { scan-assembler-times "mov" 0 } } */ /* { dg-final { scan-assembler-times "rsc" 0 } } */