From patchwork Fri Jan 8 09:31:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1423714 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=crWbkKZb; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DByYK3tZbz9sW4 for ; Fri, 8 Jan 2021 20:32:02 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D69373950C61; Fri, 8 Jan 2021 09:31:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D69373950C61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1610098319; bh=o0JWR0ZPZWEPrByVHSjH30WYDbs/HpavIhI4YhYah4Y=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=crWbkKZbMx5HLPkcUE/NwmA5Tz1DAyCLFzVYz5BfCSp+12sAZL3oR5ygajv1RLoE3 ZG3/DesGAH3n8iThq83CPg4krJ8eDF+ai3jknGdpcDTsHkeySqRco1oLilyqOkeZ36 rPL8CzKKkM+rvUVymalUPwATPbMaJP1VZbTFpyJ0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140053.outbound.protection.outlook.com [40.107.14.53]) by sourceware.org (Postfix) with ESMTPS id D62A93844026 for ; Fri, 8 Jan 2021 09:31:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D62A93844026 Received: from AM0PR05CA0083.eurprd05.prod.outlook.com (2603:10a6:208:136::23) by AM6PR08MB3542.eurprd08.prod.outlook.com (2603:10a6:20b:4b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Fri, 8 Jan 2021 09:31:53 +0000 Received: from VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:136:cafe::de) by AM0PR05CA0083.outlook.office365.com (2603:10a6:208:136::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Fri, 8 Jan 2021 09:31:53 +0000 X-MS-Exchange-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=pass 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 VE1EUR03FT055.mail.protection.outlook.com (10.152.19.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Fri, 8 Jan 2021 09:31:53 +0000 Received: ("Tessian outbound fc5cc0046d61:v71"); Fri, 08 Jan 2021 09:31:53 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b250bbb3416f8c6b X-CR-MTA-TID: 64aa7808 Received: from 530b646a815b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 78C87D01-6F1E-4E32-9406-3D26DA0594A7.1; Fri, 08 Jan 2021 09:31:46 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 530b646a815b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 08 Jan 2021 09:31:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/6cV1F+CGJXBOt642NjFkdm57kEMOp0KnEZ+jj+uFYL7GDyllYhpA9UKTysTi93jpZcykhGREEXwXugALTuORCyGDBN4x+gbQqW/Y5Q9TaB5y9tqj0t95HHuqZSU/FSjnqKydaf8HGdxo6xKGUzNqS6N/jyNgUCRJHs8NFgrY4OlzAFzLd42V3svBxsp+BlVo5REUBmVUcMg9dkbfrifVVhuhXoZKSc6AYbtjnY0/DxEBrAzn5oDvJgyTo4uvWjJLWkCkOAt5fgK3oQKmxyeaWOMFdTUGtTSS2WAicu5Mt5K0tWwiSwlER+URX/oICatNMUKx7p/2ZwpKsDOdwPoA== 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=o0JWR0ZPZWEPrByVHSjH30WYDbs/HpavIhI4YhYah4Y=; b=Am88dLYM89vrFNoQYBVPle/Jtj6YRgFtun6+gBVd8qchTDRTg3loAD05GoaG3pdYKB22zfRsjhT3cjm83PF3p2gW1xmdugbiLaxVoBqwPHKEYU4ss9Jt6Yzw4U93PLDTA7ULlyqw6kPIRW6VztDtQqSBoaKetjfhehl8JOxefX1kjfEB2IGQNUj4i74iydV9tG5hDTuel7TdblV+rxeNl+evKiii6im3mhhIkH8DrWng5RQOy7wjbyvX46U0doxUnl3mEhl5jwLijq9WoZZzLdSrv+ZvCvWgskITWeNbp/cZ4uByD7wF+cUrbU8WuJcDoO/vuFT1riVMVAFjMLBT9g== 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 Authentication-Results-Original: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VI1PR08MB3936.eurprd08.prod.outlook.com (2603:10a6:803:e4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Fri, 8 Jan 2021 09:31:44 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::f937:5b3:12e1:8297]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::f937:5b3:12e1:8297%5]) with mapi id 15.20.3742.007; Fri, 8 Jan 2021 09:31:44 +0000 Date: Fri, 8 Jan 2021 09:31:41 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH]AArch64 SVE2: Fix aarch64-sve2-acle-asm tests. Message-ID: Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [217.140.106.53] X-ClientProxiedBy: LNXP265CA0056.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::20) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.53) by LNXP265CA0056.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6 via Frontend Transport; Fri, 8 Jan 2021 09:31:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3954208d-ac7b-4724-6432-08d8b3b83c01 X-MS-TrafficTypeDiagnostic: VI1PR08MB3936:|AM6PR08MB3542: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:7219;OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: +AAiKwFgbXeTY3onNeZnw4UWtTJ2ltd8o6vHPUVtiUJg1+oc7kgLJ5DXA8o4xFVaJ/+pHoyK3NHXVIktz/oZTriV1fvqRfHCNdMnDQq+LxTmyvq/nInAI6kfZw+atrxVe7qr7X+xZjZcGbDxg2K14q3so6kgwARXtHUe3QczeKNLNVHPcfrAA2MIfE9I6Pt5B0sLtOIvC4O9jV6wHgAzRzBF/I3QYQuCrelmKJn+iogGfzUadBFem1G6Er53+uYY+2D/u7qOQuM10nb9C6lhvijnhNBcpml6rut1HOBeB15+rtejHAYja1smBEC1UDgxwnfWqwWISIPR9a9/MQ9NQWQ6WrzPv9YmrTn5zoyzAQCsBpg+FN0rH899XZOdgUN5V2KObhE1KjvDyOQS/u9CR6rFlPv1rsCOt+RGKSY4xBdEteWUJ0ToZBZv0MBE9kxLClUvfyB32itT37OGAremEw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(6916009)(186003)(16526019)(44144004)(2616005)(33964004)(956004)(44832011)(8676002)(36756003)(66946007)(26005)(55016002)(66476007)(66556008)(478600001)(8936002)(4326008)(4743002)(316002)(86362001)(7696005)(2906002)(235185007)(5660300002)(66616009)(8886007)(52116002)(4216001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?jlYORcsRRVmFdiUgCZftjoI2UVgB9M?= =?utf-8?q?08bqrBDDttGw5EkuRZ762lSDNkvvYbCBXQQc53Oa+uUu4bXDatOt8gXfgeQp9V5u/?= =?utf-8?q?rU3eR/42IPFiM9xB6LReVRpMOKZ9W/tfkeK6uYpmPtwdCQCdV13wlPEU32qs/zF1Z?= =?utf-8?q?B+Kd+2pgdVUXkWbwuiSve3Pyzt4nwiTyz/vGxjEZ+WNi3K0zIi0/boUjgqUJT81+E?= =?utf-8?q?uVZaiT0Run+KLqCSufZfdJ81D3Wd+TBde8+WvO6AMVhDVxpa+CBWVPvqt/dsT4hdb?= =?utf-8?q?JfexmUAEUV/rAgkh2G9C80839wxpnYicZRNQLPqLHpTeIxfmYKDKCosWFuNqk3sDw?= =?utf-8?q?kTBTIUIMyHOTwp/Qob/SivB0+UCK7O+2aP8r8w2wlEiF/f6snx/I0gDvrmOI01bO3?= =?utf-8?q?u1Nz0Ta3rI8pj0XOPUChBCBUoBET+RxY5iA9qHFHUVDtrvEp+/K1eMXR0iNIs1XJ9?= =?utf-8?q?Qsp9XCmouaRcjCHfW1V9XoXdtUnpSR3/JhBh/483eXmDsRwPFbPt0Nuem8Y8q9VU2?= =?utf-8?q?o2vgeLfElYRsnAZASsTtV8CCNZ06mUTIlIuQyJQuAwxAo+G2Phw19A82FCSUwu7Ga?= =?utf-8?q?FhxDV2m+OS1Dbgrij8wU1zL3m4nnzM9+LepQ8RZHghgOvgA+1O1N06AjjQEWJOG5/?= =?utf-8?q?FGs9ivVR+bBjYqO84g02RgQUHgd0n0Zlp6v0NmRr+qQvv2LRqXFueIAGD4L0aJo0N?= =?utf-8?q?rprMfIchS4pMVPWjk4pz7/v0/J41P7mAnTDylYGQBIsPxjlqdczB7JPBdNShdC7uc?= =?utf-8?q?Viylq0jX8tcdezM7Ai+JJESXq+feXcO2ahMiEjeb6J70ZZEyWXpUj5vJMkPGAZz+n?= =?utf-8?q?wFIdtRs1UQL/SY3bB4TLtFFBart8JNH2Bm4kIy0zD9QT4LqjxbuGALw7MzswcZ5NR?= =?utf-8?q?IahqN1mozQH7vE0g/8fgcG9/9NB0Dw+VZRQC8IJl9gSnixMH8pjn3LsJXoCNZgBj+?= =?utf-8?q?4yJyzuD+FadsN4bBa0S?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3936 Original-Authentication-Results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: eb1440d1-992e-4158-85fc-08d8b3b836a2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bgokW0mzGcenY9/9aLYek7bXQAO1P3J6yMVsZcGWz8MyCJCyDhnaD8Zhg9MkofcU6csBAGeXkuKr7UOB8YSMrkW61dTkAKpqMvnUfNmP+FyDFnXefOPqTpbT7wB5rVXn/gQRzmVSQ8utbXVOZpvVuNJw2+MUyMoZW98sQXFDnXbw5dfJIBQD9riPYYIzIAWTfaQKMt39e4PJde5TrlH/Nvaiprd0SlJLwZgTrCot0T3tNhn4OHNDEZSqobfRAnyf3bNJBJys3pkt9AO5MWhRpzavYDujYCpTnOb0JxAI3K9/q+OkP6py5MLmh5uDwfsrwcEm8MfevolrFOZXm/wVtjHPxPoExhwmuzb1ThNdgNmVwaKjq8oRsBcg4PEQ4FyCvPa6ul4upXGxDXNjjbgbzQFPFjRrvERRPLR4+Ad2e6Nigh4Caz9CO6U744a/sFsd40n1KX0zImdD4iMEfv6eVwM/2fAfsk6NzqaBCBT1iX8cCVrMqEEIvjz7Ob6UaeikgT+ERCEs4ycwEkkevWqJg/9RYZ0CKUQPQW0A1zcaPdg= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(396003)(346002)(39860400002)(376002)(136003)(46966006)(36756003)(82310400003)(316002)(16526019)(478600001)(82740400003)(26005)(186003)(34020700004)(86362001)(235185007)(336012)(7696005)(956004)(70206006)(81166007)(356005)(2906002)(47076005)(2616005)(8886007)(66616009)(8676002)(5660300002)(8936002)(4743002)(4326008)(70586007)(44832011)(55016002)(33964004)(6916009)(44144004)(4216001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2021 09:31:53.3714 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3954208d-ac7b-4724-6432-08d8b3b83c01 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3542 X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_LOTSOFHASH, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tamar Christina via Gcc-patches From: Tamar Christina Reply-To: Tamar Christina Cc: Richard.Earnshaw@arm.com, nd@arm.com, richard.sandiford@arm.com, Marcus.Shawcroft@arm.com Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi All, This fixes a logical inconsistency with the SVE2 ACLE tests where the SVE2 tests are checking for SVE support in the assembler instead of SVE2. This makes all these tests fail when the user has an SVE enabled assembler but not an SVE2 one. Ok for master? Thanks, Tamar gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_aarch64_asm_sve_ok): New. * g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp: Use it. --- inline copy of patch -- diff --git a/gcc/testsuite/g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp b/gcc/testsuite/g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp index aa8dc9ee11ec4e0a7144e79a36f52c6d9d83ec68..c3a3a01a7ed913720e31729300dc0a5c99232ec4 100644 diff --git a/gcc/testsuite/g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp b/gcc/testsuite/g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp index aa8dc9ee11ec4e0a7144e79a36f52c6d9d83ec68..c3a3a01a7ed913720e31729300dc0a5c99232ec4 100644 --- a/gcc/testsuite/g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp +++ b/gcc/testsuite/g++.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp @@ -66,7 +66,7 @@ set-torture-options { # Main loop. set files [glob -nocomplain $srcdir/$gcc_subdir/asm/*.c] set save-dg-do-what-default ${dg-do-what-default} -if { [check_effective_target_aarch64_asm_sve_ok] +if { [check_effective_target_aarch64_asm_sve2_ok] && [check_effective_target_aarch64_variant_pcs] } { set dg-do-what-default assemble } else { diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 5cf0f4218a6420a5289a4be25ecca0915107b139..47d4c45e9eb9008148a5f8f26b3c7dd7292369fc 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -9735,7 +9735,7 @@ proc check_effective_target_aarch64_tiny { } { # various architecture extensions via the .arch_extension pseudo-op. foreach { aarch64_ext } { "fp" "simd" "crypto" "crc" "lse" "dotprod" "sve" - "i8mm" "f32mm" "f64mm" "bf16" "sb" } { + "i8mm" "f32mm" "f64mm" "bf16" "sb" "sve2" } { eval [string map [list FUNC $aarch64_ext] { proc check_effective_target_aarch64_asm_FUNC_ok { } { if { [istarget aarch64*-*-*] } {