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 X-Patchwork-Id: 180225 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp4968724ilf; Tue, 26 Nov 2019 09:53:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxq6MAw+G16K/ZzoldDIc5iRKNV04sjX3R3cRPw9oeySO/aaMW5R1a5SZM3JCuDNCLAipVB X-Received: by 2002:a05:6402:651:: with SMTP id u17mr26818610edx.142.1574790830001; Tue, 26 Nov 2019 09:53:50 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id k18si9475779edj.94.2019.11.26.09.53.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Nov 2019 09:53:49 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-514625-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=JjfesPSt; dkim=neutral (body hash did not verify) header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="O1CI/bUi"; dkim=neutral (body hash did not verify) header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="O1CI/bUi"; arc=fail (body hash mismatch); spf=pass (google.com: domain of gcc-patches-return-514625-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-514625-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:content-type:mime-version; q=dns; s=default; b=RVwa1UTdJ1xBjvu3S9oHpPbK/M93IPKcwNp4MKZqafv6Ng90PV 3bTRLSEQTwPO72jJaOW/8QL/G6oHh6/zPQ1nLM+jL3ziYGJI9ArjqNYcAL0tm3WE pVpBdRvADMxRYznjOsiYzXUzKzkZGk1+8HaRxaC5WmWxWfwbPsDvw0EIE= 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=JjfesPStToJkcN1yw1yW +xgOb2TiFVPfPGDJ5f8tvqNSUbZAxSaRtfzXPJSnKiMfDNqephcdMPzc9b4JcIAD bA6fc4qUeFQ/HXASQ47K8c2/XiWDv0YrszcYlGeOCYbOrmB6QnhkUU2zqpH4ivlh Hmgy40HKHILz4PA96SXuoRk= 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; Return-Path: 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