From patchwork Tue Nov 26 17:53:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Hutton X-Patchwork-Id: 1201144 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-514625-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="VOkn1t1f"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="O1CI/bUi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="O1CI/bUi"; 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 47Ms2x6cCjz9sP6 for ; Wed, 27 Nov 2019 04:53:44 +1100 (AEDT) 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:content-type:mime-version; q=dns; s=default; b=yhAMtU1dyqc8e06cH4qsr7zlTnCiqgMejJEL6vDv58JzowqpIg gKL9PDDOFtbNHH+kx6Ih2s1MPSLNJIOWFsfS1y7zU1BFOXaPQYdBogJgnG5uAWbq xnpRmu6IOweMaJfRX0VTvv9jflC7XP0oBpgfqX98fr1BE7AGGA8M3+Loc= 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:content-type:mime-version; s= default; bh=HC2vlh9O28CMcxsBryeUpYiQSRc=; b=VOkn1t1ftTc4d3ZbA+lN dBJ98iybl/s76Ms4FsmHEKxE1Zd/KFBYa8VA2ctUyzWzCq47c99/b76ChDLdDpEa 2BcqAr6itzHGdi6pmCOu2H9YTtgsHS5rrLXxHn6pBJ5hu+uduXwP2SZTQ9lPeHFD p0eoeu6geh68hM49fNHMJpo= Received: (qmail 33997 invoked by alias); 26 Nov 2019 17:53:37 -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 33989 invoked by uid 89); 26 Nov 2019 17:53:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: EUR03-VE1-obe.outbound.protection.outlook.com Received: from mail-eopbgr50060.outbound.protection.outlook.com (HELO EUR03-VE1-obe.outbound.protection.outlook.com) (40.107.5.60) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Nov 2019 17:53:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wERYub642GBHhhMwRrxHmVuSTs6x83VnNlvUPq3XWJ4=; b=O1CI/bUiZKdqe5O5knS1nT2daEKKvNpg+0ahtar+0auppg4XaonKC42x1fUezBebAKkMH9rEKq/01QjZpEfAqoJihLlnjgHrMTmSlv4SjmrFqH0BKhqflPbheui3e87nnX/BNSbHBByHwz0QjyAkxojTWqTZ+P9LkcfWxwygNCA= Received: from VI1PR08CA0264.eurprd08.prod.outlook.com (2603:10a6:803:dc::37) by DB6PR0801MB2119.eurprd08.prod.outlook.com (2603:10a6:4:34::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Tue, 26 Nov 2019 17:53:31 +0000 Received: from DB5EUR03FT063.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by VI1PR08CA0264.outlook.office365.com (2603:10a6:803:dc::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19 via Frontend Transport; Tue, 26 Nov 2019 17:53:31 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT063.mail.protection.outlook.com (10.152.20.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 17:53:30 +0000 Received: ("Tessian outbound fee635499979:v33"); Tue, 26 Nov 2019 17:53:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 235027c2121818ec X-CR-MTA-TID: 64aa7808 Received: from 7b37d3e05573.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.1.55]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C0E1E237-B6CC-4B0B-B98D-97E7513080A9.1; Tue, 26 Nov 2019 17:53:25 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp2055.outbound.protection.outlook.com [104.47.1.55]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7b37d3e05573.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 17:53:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P6N5vssPaRogem8AlPzihyvPEIXwkoH0/tjmhjwcNie660hJSeTZSf0czbWL3NeJKab5bELD1s35uVoMlqX5MR7vYegAupJZnHs+ciANY2boRduQWssdt/m5aolay026XIVaG5Fhz2GbtO7BQXmtYbT5FyWdg/gCTSR0A2iGCRvU773A5MKi7j3hxbO3/cSYpGbDtDK53XpVnKCQUlUOIrWpvFRN7RgWXhhfWwzwZmaMEiSvbyat9kvdE1hL5JLt89Xw2u/Q0FrHx7jpzjRZDcx0T7LN13ZlgV3KJVsXBj4ikW0DkfXK5fuo84L1eVI40XKK/vABm+l64kVoDOzqZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wERYub642GBHhhMwRrxHmVuSTs6x83VnNlvUPq3XWJ4=; b=MtFI8jr2Kmj2Jbw5ZJJlIW02sSTSvCcE635U9UQR55qa0UhDyAF81/iG6TCCXTX5XfhoHl1H4jotQglaTsnMnuAG3hTqfee5fMJmfQUqOjXwHzR9pKsTzcMVNGW7gcdc8qRKdzQiTLkFVlG3tfungAhtYDwapLjVWJqPD3XbI3pbhcXU2OC0QWkymfqCq2Mwy8Rk4l99sFp0GU46T0cy31UeqzEu+SG6LkVDtu+NgaUqOLY26vJz0nBini7SYjYOfnafewPFmYEHJfUyYqAyEA7f49hEGJhyxXvKgJhEu1ahVq3WI3VmC42ZjBbrwxN3FgazYpRwrvXizffsfcuwqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wERYub642GBHhhMwRrxHmVuSTs6x83VnNlvUPq3XWJ4=; b=O1CI/bUiZKdqe5O5knS1nT2daEKKvNpg+0ahtar+0auppg4XaonKC42x1fUezBebAKkMH9rEKq/01QjZpEfAqoJihLlnjgHrMTmSlv4SjmrFqH0BKhqflPbheui3e87nnX/BNSbHBByHwz0QjyAkxojTWqTZ+P9LkcfWxwygNCA= Received: from DB6PR0801MB2054.eurprd08.prod.outlook.com (10.168.86.135) by DB6PR0801MB2053.eurprd08.prod.outlook.com (10.168.86.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 17:53:24 +0000 Received: from DB6PR0801MB2054.eurprd08.prod.outlook.com ([fe80::3163:8919:3dc9:d6ff]) by DB6PR0801MB2054.eurprd08.prod.outlook.com ([fe80::3163:8919:3dc9:d6ff%7]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 17:53:24 +0000 From: Joel Hutton To: GCC Patches CC: Rainer Orth , nd Subject: [vect][testsuite] Update vect_char_add target selector to use its own cache Date: Tue, 26 Nov 2019 17:53:23 +0000 Message-ID: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Joel.Hutton@arm.com; x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:6108;OLM:6108; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(376002)(136003)(396003)(39860400002)(189003)(53754006)(199004)(64756008)(71190400001)(71200400001)(54906003)(6506007)(6916009)(8676002)(256004)(26005)(31696002)(478600001)(4744005)(25786009)(31686004)(52116002)(305945005)(7736002)(102836004)(4326008)(6512007)(186003)(4001150100001)(66476007)(86362001)(65806001)(66446008)(2906002)(5660300002)(15650500001)(14444005)(2616005)(58126008)(81166006)(81156014)(66616009)(8936002)(66946007)(6486002)(36756003)(14454004)(6436002)(99286004)(66066001)(65956001)(6116002)(316002)(3846002)(386003)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2053; H:DB6PR0801MB2054.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: wSVEyBkx3DXnzKf06FQug65mlZhwuSm3MKIZUyBH1joTB/1VMPLIkkpKeaRdMmNlTvJWYJJcKr8PIydFo/+KkaK3jslBhrQ58xx6LavdeWqZwvt8xc7IVGyPS4EsBidDAg6VbCMt1yTwMw+v69oUxEMsakMKHHXE2NccUNigoPYrreJXSDdh2Tt3ichtJiFBOgNS0gzlKys7gMSXBScIuEM8XZHcKciuniFCDOA2eSIpVzmqvZnJqD3qs2VlRfGCYfKFVe0MDordNvBLxGbA3NwxrAiYFizQ7iF9SSkOD7FAmQgIfXSWHrnlLU9RqZ2akBZvCPcEiws+hfaiBx60p7O/3o4rY8WUWJljqFutq1mpn1bYc8SkmF8eWAfjXJHCuWCR+/nGh881yfdagDbJcBGIck1T5Q2j+P1/LSyHV0JDFZlVmecVmNLB2U8260RN x-ms-exchange-transport-forked: True MIME-Version: 1.0 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Joel.Hutton@arm.com; X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 76b76855-9be4-434e-1002-08d77299882f X-IsSubscribed: yes Hi all, This patch updates the vect_char_add target selector to use its own cache instead of the vect_int cache. This was causing a situation where bb-slp-40.c would fail on sparc when run after other tests that use the vect_int target selector, but pass when run on its own. This fixes Bug 92391 Tested on x86 and sparc64. 2019-11-26  Joel Hutton          * lib/target-supports.exp: Update vect_char_add target selector to use its own cache. From 7ed08950f4440f8605b44449df1114edcc8ee834 Mon Sep 17 00:00:00 2001 From: Joel Hutton Date: Tue, 26 Nov 2019 17:09:12 +0000 Subject: [PATCH] Update vect_char_add target selector to use its own cache --- gcc/testsuite/lib/target-supports.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 5fe1e83492cae97adf82ed53e12d8f5f7ea5a951..a4418a3151677a2a45275463b9828db7e7755b28 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -5753,7 +5753,7 @@ proc check_effective_target_vect_bswap { } { # one vector length. proc check_effective_target_vect_char_add { } { - return [check_cached_effective_target_indexed vect_int { + return [check_cached_effective_target_indexed vect_char_add { expr { [istarget i?86-*-*] || [istarget x86_64-*-*] || ([istarget powerpc*-*-*] -- 2.17.1