From patchwork Tue Jan 9 12:02:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1884398 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=fNdNC5U9; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=fNdNC5U9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T8V1p34hwz1yP3 for ; Tue, 9 Jan 2024 23:03:10 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 558E13857C67 for ; Tue, 9 Jan 2024 12:03:08 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2056.outbound.protection.outlook.com [40.107.105.56]) by sourceware.org (Postfix) with ESMTPS id B3FA0385841C for ; Tue, 9 Jan 2024 12:02:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B3FA0385841C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B3FA0385841C Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.105.56 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1704801767; cv=pass; b=ERMOXTHOaptg1isP2ekbt8cwVIetAC+GYrXDmav+VdSZcDl6ihnYF+6d3l9snMqLMV27+wp24TUYGsAq8sx2LrUd4/p6QvZgt0vdhzgJCJXAh0QcTcmba6XeDfzjn956HWEXFO+BvtvefqU55VTA0PhfGqOjDd/MSDi4cMxtt6o= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1704801767; c=relaxed/simple; bh=8y759HfDcDEThD3mGsfHCti5PXXapWVwsedTf6+6FM4=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=qRVl+0bNNdBuZZYFloT0urHjMUHNAt8EhAosoOlRlDnMxBQAznh0E7Ek0grGjCZIRORpf+WuV9coHmCHErcJEecznYOjZ7QTmrA3Fe9c6b8PYfR/ZHOoUErfsgLDgejpznvBmHILyW9WEstCBAb55G1FeiL6tKNkv3M9l8I2xCA= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=hcfEl+LLmWY51lGt+Yi76F7Ql1Ua5vE3JLdZUuu2PD5XQpCt0naW11kkeNoH0HxAH1uWd9ZzLZSxIRnwYAJQDucyMGIqU0BixpbyQlqICwqSm4MS6YtNEgwJwDONkJnwbzNqa8cSK9ZSKJNKOMDXsjCcxlCjTEMRp9KGPz4Hr8TT0kUBr+bw7TZqm8wNC9LlV/ic/atGTHinqrtUXjkQMtOnnqLXHWBwqUN/Bxo9FW4I/0JiXnEJpaTm3ljglXndf5yqCny4mzMeXgd5yQXrP1tXc8ECFsZWtLy3Wn0faenGmwtzVQw/f92fdpPEWp3hmRziDSnxVUVFGSkT50z8Pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=11g9I8hI5+F6zJ2TyEoya6YM+w3IEZ/JXtg4kMx8itM=; b=IfAeWkE/V4IJz+I7x+kRpgJvEuoq2WUAXsW9ZzbjFWeU1dkZnqxaDxUwBboset62cxeLltn/P1K8BdmxfOEel4mem7MXtVXJwJfArfrWm/r6kcbrfGMaM+5OSuyW6NduvQmbdY5HR8ebgXLGLzVUGPItJFIBaFwLDSFKQwz752kBvd+HlqBYI0E6LtILjaU+0ROxkgvCTk9U32smm1pSR2NmpECLigknl8stZYsnQhjFcmrSYEBlVnwij0MxAxzmnpOB9mQLAE6AXuWT8KsPr58FE/5Q2dvTw54OHcS7/nFTIT/MNplYTjzjRXvSHOkiP5bn+JSqnu8BER3ri2c6Mw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) 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=11g9I8hI5+F6zJ2TyEoya6YM+w3IEZ/JXtg4kMx8itM=; b=fNdNC5U9zjKGHMU2ZSIt50ZJ79cPvQ3PXsbIDsNSj2HtTQxkA/hA0tpW21gY74aIfWekWgiK9LPB4IYsQYZYoHq8yDVT8e4M9xL0gNrXENC82OoVogvXHJaIUmqfaYOkX7LD6Cj9H9AFuRzti9CBH6+8AoDG6X0KPApPd+HveAM= Received: from AM0PR03CA0108.eurprd03.prod.outlook.com (2603:10a6:208:69::49) by AS8PR08MB9599.eurprd08.prod.outlook.com (2603:10a6:20b:619::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 12:02:42 +0000 Received: from AM2PEPF0001C714.eurprd05.prod.outlook.com (2603:10a6:208:69:cafe::ad) by AM0PR03CA0108.outlook.office365.com (2603:10a6:208:69::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21 via Frontend Transport; Tue, 9 Jan 2024 12:02:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM2PEPF0001C714.mail.protection.outlook.com (10.167.16.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Tue, 9 Jan 2024 12:02:40 +0000 Received: ("Tessian outbound 53c3c09c1e1b:v239"); Tue, 09 Jan 2024 12:02:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e2bd1f0a4d1a823e X-CR-MTA-TID: 64aa7808 Received: from 0aa2869715a2.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3AE55507-2AC3-4311-8BA2-CD729EAF9E29.1; Tue, 09 Jan 2024 12:02:28 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0aa2869715a2.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 09 Jan 2024 12:02:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=epCpLZmCeRhyDFliMpYzEo6tYQGOCjryQNAGurBTpkjRVByzmHdWJcAHrpvSnG381EO1hPVsbT6dTeLT5/IHOqQIIhx3PL0qgXlWC5Q6pkbdJvAkbvabY5Ssu9oyWooLf1h5nBbZuGyXnwHPfCOhrh2UFaOuJcPlLfgnbaH+/7CjJ6uV4tBIcvrdZDjprxJd7Xa1QqYyNC+7UvO7y9K1LaQ8txF665Dx9/twH8CYUcytPnBokL+vnxzjdDqUe8g58Zc05x0Hj/G325/m7t0fd/GktCHa+7JY4GwFGOCXTjHSU8ARSbvgU9/KyA+l19Ss/b/xJYZ01YwU3tj9MlQ2NA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=11g9I8hI5+F6zJ2TyEoya6YM+w3IEZ/JXtg4kMx8itM=; b=BOaFHFsdKv81XluPuT1PKruZUHD2dvkvT65zj5izBSaIOzYszmrCYKVu+DgdD8Dr8lSFWtUTlILZFCS927UGIP4jJnJAU/9bF18/5p7r16F5EWQL4S3bmJ73k/K+vDR5z/SaBlSYv4MIW3IM4NM0JOLlE+JXdRS973pqIWJI2Lxy84d2U8lD1MHHE9GlaN7Rm8ZNqkjPoh1pOC75aAjksD7pEt0s28/aEf2Tzk2jkXC++PryC3tLlGNjXPxUBZ4yXvyuOcWsSMsZ5hK/wsfZXinKDHi0yovVj/b+b/YIoECd74Xrhe/jHT0Ed5PFQ+Ub64uI+ompwz4XqcPEl37v3w== 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=11g9I8hI5+F6zJ2TyEoya6YM+w3IEZ/JXtg4kMx8itM=; b=fNdNC5U9zjKGHMU2ZSIt50ZJ79cPvQ3PXsbIDsNSj2HtTQxkA/hA0tpW21gY74aIfWekWgiK9LPB4IYsQYZYoHq8yDVT8e4M9xL0gNrXENC82OoVogvXHJaIUmqfaYOkX7LD6Cj9H9AFuRzti9CBH6+8AoDG6X0KPApPd+HveAM= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VI0PR08MB10654.eurprd08.prod.outlook.com (2603:10a6:800:20b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 12:02:24 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::9679:2ab0:99c6:54a3]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::9679:2ab0:99c6:54a3%6]) with mapi id 15.20.7159.020; Tue, 9 Jan 2024 12:02:24 +0000 Date: Tue, 9 Jan 2024 12:02:21 +0000 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, Richard.Earnshaw@arm.com, nickc@redhat.com, Kyrylo.Tkachov@arm.com Subject: [PATCH]Arm: Update early-break tests to accept thumb output too. Message-ID: Content-Disposition: inline X-ClientProxiedBy: LO2P265CA0138.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9f::30) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|VI0PR08MB10654:EE_|AM2PEPF0001C714:EE_|AS8PR08MB9599:EE_ X-MS-Office365-Filtering-Correlation-Id: 4faf18c7-092b-41c3-252b-08dc110ae170 X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Jy8h4nOGr0IJgxSnzGO5E9mOTzrJ0bwzGnO24ncdwaXl3cRFFwmxfMJhDBDOU9nf/zzxwKPkuEmV3pkIg7AX6dBs+TT04/+JbpainNliypQOh/DNLxJ4CkCcXpz4B8XjCagebd3qwqz9DVOL2zClI+EsBX40KWpB9y9IS9SAZ2R5ZDxV46aVdvNI7XJkNQ0r2QIaQJLZc/XcZKTLc9Gnu800hIZ1d3UDff14hn43s3dD7k2nLxO60+nctDgRNsr3kDghr5PB7Pd9Vv95QeEuBHbsB5JDNy+TxUQq0ee1AMHtI+0bJDtDakDNroTreFWI4TskeW19DOArQX6WIAHuHOCXuUnVLUGsJzeXzp/Yg4yruuTsP4vzsmVlj/TZkDyBCQpYEwJ+4QEWZ/1cyFEV4Og1nFi0TlpNSsvMQA6n1KGha7dLqnyI2VZDBAGZYQ8WuEyfURxEXfJig1hwIgbv6kTUAJMNlX6TIS2UAZELDiht4tO4Wi8NdVxbRxxsKiRXRBHrecM6AnZANpV3qrj1kfVtH75C2rKxyQFi/L5dY6uFUjeQf8MvXSneLLWvMLUJ+RCa/eUI1IqbRpupvOt5eGKt4TJeYoWTy0yNL5EiBuhIFWT40eoPosndHAc7YfrE 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:(13230031)(346002)(39860400002)(376002)(396003)(366004)(136003)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(84970400001)(4743002)(83380400001)(6512007)(26005)(86362001)(36756003)(38100700002)(4326008)(44832011)(5660300002)(235185007)(15650500001)(6666004)(33964004)(6506007)(44144004)(2616005)(6916009)(66476007)(316002)(8936002)(8676002)(66946007)(66556008)(2906002)(41300700001)(478600001)(6486002)(4216001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR08MB10654 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM2PEPF0001C714.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 98ada78b-5d89-49f5-17db-08dc110ad73b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c564hyYE4Ra0rJ2BfEWiWF4CSsC/JhuHonUzUch7VF/2NrmFMHcmGVkf1wegUEfbw62Y8SqDYJbIS8xG7eQ9ul4rKnpXEgZODIn7eWeqsEgx0UPa3jnErlmd3uDL53n79Py853f4f2ldWtuj423sdxMXN2xlB2iAuaRp0MG020K6+JqHZYWzqI5ZynPEg/HP4ng5BY6+ST8Bt/VgcRiQNvrVeLF77VqcRFZC1DAaLzFJX13cjP4HBOWImXubZAldHAYDKrXKS4jMstDoy8ORuZmJ7MCzuLPUv/InXe9//0d0tuEm8gfheid+ZMEprPCVZ7CUh0jg0ESDywUtJa57Je9b9VZjOhLuXAJnKxJ+mFmMg3rVNXd1nSyxdJm+vbeTajKDvpil/v2uM9+5ZUE6Q3wfY63udhUH3Qk3XppcyUSy/XnTbLzaCgyTfHrZhAr1r2wTgcYUdHkGlcRbJu1cDgWpqjaKyRCSL91zSE3syPmpaPTqHVYdwi4uXkWd87VFPtIyvesP6sFOBxzQ+GZNS4U2ClHi/buZsd3GleBlNInqNNMiEMVKRJQSJ7QkJBPnsJ9SoAlAZq513fE4MthAE/1TnHmpQEpalqWYXeikmwGPhOc5HVoOf/k/qFOXJu9OlmuunDMB3KZ7BFSR4gg2cwyDLxQaydy3cmJ8FA/F/sLwQwx/ZTu3t6EItEl6k8mtju01xj904UIggSmYAMVU/VAk9R39qVyjRsKGd2dGR+UQUAoGnnNrbwLvvln6Mogf+RU1k1pQGk5M8AxBUnk1ZQ== 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:(13230031)(4636009)(136003)(346002)(39860400002)(376002)(396003)(230922051799003)(82310400011)(186009)(1800799012)(64100799003)(451199024)(36840700001)(46966006)(40470700004)(36756003)(15650500001)(5660300002)(235185007)(40460700003)(36860700001)(84970400001)(82740400003)(40480700001)(44144004)(33964004)(6666004)(6916009)(478600001)(2906002)(4326008)(47076005)(44832011)(81166007)(356005)(4743002)(336012)(26005)(8676002)(8936002)(2616005)(6506007)(6512007)(316002)(41300700001)(86362001)(6486002)(83380400001)(70206006)(70586007)(4216001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 12:02:40.7773 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4faf18c7-092b-41c3-252b-08dc110ae170 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: AM2PEPF0001C714.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9599 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Hi All, The tests I recently added for early break fail in thumb mode because in thumb mode `cbz/cbnz` exist and so the cmp+branch is fused. This updates the testcases to accept either output. Tested on arm-none-linux-gnueabihf with -mthumb/-marm. Ok for master? Thanks, Tamar gcc/testsuite/ChangeLog: * gcc.target/arm/vect-early-break-cbranch.c: Accept thumb output. --- inline copy of patch -- diff --git a/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c b/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c index f57bbd8be428d75dcf35aa194b5892fe04124cf6..d5c6d56ec869b8fa868acb78d4c3f40b2a241953 100644 --- diff --git a/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c b/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c index f57bbd8be428d75dcf35aa194b5892fe04124cf6..d5c6d56ec869b8fa868acb78d4c3f40b2a241953 100644 --- a/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c +++ b/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c @@ -16,8 +16,12 @@ int b[N] = {0}; ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f1 () @@ -37,8 +41,12 @@ void f1 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f2 () @@ -58,8 +66,12 @@ void f2 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f3 () @@ -80,8 +92,12 @@ void f3 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f4 () @@ -101,8 +117,12 @@ void f4 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f5 () @@ -122,8 +142,12 @@ void f5 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f6 () --- a/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c +++ b/gcc/testsuite/gcc.target/arm/vect-early-break-cbranch.c @@ -16,8 +16,12 @@ int b[N] = {0}; ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f1 () @@ -37,8 +41,12 @@ void f1 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f2 () @@ -58,8 +66,12 @@ void f2 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f3 () @@ -80,8 +92,12 @@ void f3 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f4 () @@ -101,8 +117,12 @@ void f4 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f5 () @@ -122,8 +142,12 @@ void f5 () ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vpmax.u32 d[0-9]+, d[0-9]+, d[0-9]+ ** vmov r[0-9]+, s[0-9]+ @ int +** ( ** cmp r[0-9]+, #0 ** bne \.L[0-9]+ +** | +** cbnz r[0-9]+, \.L.+ +** ) ** ... */ void f6 ()