From patchwork Tue Oct 17 20:48:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Coplan X-Patchwork-Id: 154529 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4390650vqb; Tue, 17 Oct 2023 13:49:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXrtIjw7RTkRlhYUqAJgwigGD2OqtS2Ha1VBPaNcuXZjKZfEJLkQ5f0GmRm2C+031/HKru X-Received: by 2002:ac8:5c91:0:b0:418:1a5c:dcb0 with SMTP id r17-20020ac85c91000000b004181a5cdcb0mr4175902qta.6.1697575770381; Tue, 17 Oct 2023 13:49:30 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l10-20020a05622a050a00b004198cfb332fsi1691210qtx.186.2023.10.17.13.49.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=XSKDrdc1; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=XSKDrdc1; arc=fail (previous hop failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2CAE9385AC09 for ; Tue, 17 Oct 2023 20:49:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2088.outbound.protection.outlook.com [40.107.20.88]) by sourceware.org (Postfix) with ESMTPS id 9653D385771E for ; Tue, 17 Oct 2023 20:49:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9653D385771E 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 9653D385771E Authentication-Results: server2.sourceware.org; arc=fail smtp.remote-ip=40.107.20.88 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697575745; cv=fail; b=nhb1cS5IUTemrzriPaluQFLxtvD5uVHtBHZ/2WcXyyb28g9lYSdl8BWAJMZZOJXx17Kgg0X53dIZ+s9f+LL2NLUxHeG4m4q6xrUxaJPUfOwnDalTCPgvMvcZbc2XqWknvPC5LqX9J51CVVPJI47AYMKaoaR3/gjtKtDd82GTrCk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697575745; c=relaxed/simple; bh=prSmR9b9JHvj2Fsbg47yxhrs3KLxF9C+1mDe6HNXmn4=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=WOenwvX1YuwQbq6VSOflmvw/Y1diOJeKGM7tiQIO81UiTrYJdkRqIq4g4R7D3UjsHA1+upha2maLxDg/tjkdk81OwVVb04PHgw8JmGkuR2ZZ+e1Vxboba6+i2qvaMNVV9L3bvaOO+YZanHRFHn399MhWGpfRHiezpRldQHhTl6k= ARC-Authentication-Results: i=2; server2.sourceware.org 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=WU5zA5iejPRdHhyNLSFKSa1AmfB4CdhdHus+r/usz6M=; b=XSKDrdc1cKeGY2CBrvqOV4JxqQThpJuJH8EeyNOGi2VY5vipUlqzYm6kpE03BuNMrNB1ic/HQCu/IESnu39jDPiZALgDIDSZDUU6YQKwE5KVLJYgN8cCKcRsbCPP4vdqwgUJ2/4tgMhjXU9RGwZz9hgmY37dQyLQ71QAUs7Z0ug= Received: from DU7PR01CA0045.eurprd01.prod.exchangelabs.com (2603:10a6:10:50e::18) by AS4PR08MB7453.eurprd08.prod.outlook.com (2603:10a6:20b:4e4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Tue, 17 Oct 2023 20:49:01 +0000 Received: from DBAEUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:50e:cafe::bf) by DU7PR01CA0045.outlook.office365.com (2603:10a6:10:50e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36 via Frontend Transport; Tue, 17 Oct 2023 20:49:01 +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 DBAEUR03FT021.mail.protection.outlook.com (100.127.142.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.20 via Frontend Transport; Tue, 17 Oct 2023 20:49:01 +0000 Received: ("Tessian outbound d219f9a4f5c9:v211"); Tue, 17 Oct 2023 20:49:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ebb0cc44c13cc123 X-CR-MTA-TID: 64aa7808 Received: from 3da92dd7dbaa.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AD4CA10C-69AA-407B-A6C6-D2E10904C503.1; Tue, 17 Oct 2023 20:48:54 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3da92dd7dbaa.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 17 Oct 2023 20:48:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bdxV9ns8mCp3Oql2AEEm0jqR5F5YPeAZFoECz5NzCSCO5BWmpmJrDTOZXMc6TvrgJpkOz8IJKFx+LmjwhAAIZGnmWQrr3p9n7cidiycW8rGxAx0muLlVZU3igAsjT6xOn/0vJ3tzDo91N9qTcF3ROQeRp1/hrxSp7p0FHOAn4tHp9qsMx00YAmkk4oKa+NQfR73LKOkvSdFlUodc+aWbKJKpWR8ljInlD3aM3eOnevzodnc7yKWx/gjpuNgCjvAVFaYXHVXkUPbsnQD0ENFBchYfzxymouOLoh+eGGdBW7enIFYKIgw3T4JGJoDw8XMgO6LQRYQ5VYSXycEcpsgBww== 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=WU5zA5iejPRdHhyNLSFKSa1AmfB4CdhdHus+r/usz6M=; b=P2Gm8XM8jF0AQ6iMTRD6l4g4y06+3kze2XAIg/iJ9CX6nD1uQcKW5rnnnO0GgRLkKZaDPXbwxXuLJYLF1zNP2EfeOws8J6MUxqVNObwznfZsLti9QuVt2F8XvFS40AK1Rd13UNRjbAY1tuRpV2sSWgdVlhaoPyDDkV0S+VIiMocMZ/ZxC2f++EUrOIVgybMhtQnzBEMwrUMI4cHJqVwfxRL5hBwBbuiALGiIc2sS3tPNpMkhkzXO2X8wg+Zy+4NefWRSuprrNJizruezoE+Yn0Al9CSuUzAHVId9vbOm9BmVyoqx8mISWk+iE1ssZ3+mKmwxX/iGt1nq0DwduqZPsg== 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=WU5zA5iejPRdHhyNLSFKSa1AmfB4CdhdHus+r/usz6M=; b=XSKDrdc1cKeGY2CBrvqOV4JxqQThpJuJH8EeyNOGi2VY5vipUlqzYm6kpE03BuNMrNB1ic/HQCu/IESnu39jDPiZALgDIDSZDUU6YQKwE5KVLJYgN8cCKcRsbCPP4vdqwgUJ2/4tgMhjXU9RGwZz9hgmY37dQyLQ71QAUs7Z0ug= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) by AS4PR08MB7580.eurprd08.prod.outlook.com (2603:10a6:20b:4ff::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Tue, 17 Oct 2023 20:48:52 +0000 Received: from PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::f41:4ae1:dba2:70f4]) by PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::f41:4ae1:dba2:70f4%6]) with mapi id 15.20.6863.046; Tue, 17 Oct 2023 20:48:52 +0000 Date: Tue, 17 Oct 2023 21:48:50 +0100 From: Alex Coplan To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw , Richard Sandiford , Kyrylo Tkachov Subject: [PATCH 07/11] aarch64, testsuite: Prevent stp in lr_free_1.c Message-ID: Content-Disposition: inline X-ClientProxiedBy: LO4P123CA0632.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:294::22) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|AS4PR08MB7580:EE_|DBAEUR03FT021:EE_|AS4PR08MB7453:EE_ X-MS-Office365-Filtering-Correlation-Id: 87967d01-09d2-4ad2-58cb-08dbcf527e1b 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: 2QptVtXQZj/2Q822kXJUH4ovb3ipJsNaf/O1y0Iw40ScEiwo9U9v+P78ERuwdEWzjBS28T0dSG+0Qs/JYr+iexr9QNK6XPkfvoCIrsgMraqPwc21r4ZaXs3ghjwoMq4unWke0FNfXofq1QsN68q/9EAV+C9rtSBaXoGYpeQtXFHVL/qZCxoNg4Hk7JqhU5X4huwenRZp5OW85CXMnLT2Kjt8juLNLiKJdlH91aDPCMXII66jcyleHkTUlsgb+d14XPRkcNIUNd30hIIoO39citwtV9ZNoYJRroI3uzshrz5mWSgixJmXJ8xL0Ar5hwrimx2Km/dm7JF0cVmeiHTXxG/IwI8bgzgpJ/XaoZdzJl9ltQFczcfqYhZTbd0MIHd11MQriX+accm+/BEEC39fF7WhrtfWmURpkw+9ZvL8bq6r6fnLrqqU7MCC083DL6t55Flq3m6ZLYDzXiUL8ikjNMvka3nzJ6sN0jr21mnh5/xESRr1t0QCDd7Q8D9BE8KEBGJJzlfePuUMHQOl13cYiPYINhM90QJJBIdElB7fYTLatilwzViWFvq/pnXrSEwq4tYwP7XA9vpBkAVIkveGT3XSDcvUTFRFNvwLkdzRiUU= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8958.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(396003)(366004)(136003)(39860400002)(376002)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(316002)(54906003)(66556008)(66946007)(66476007)(8936002)(8676002)(6916009)(38100700002)(6512007)(478600001)(2616005)(6486002)(44144004)(33964004)(6506007)(83380400001)(4326008)(26005)(235185007)(2906002)(5660300002)(44832011)(86362001)(41300700001)(36756003)(84970400001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7580 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: DBAEUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 53003186-e794-4f53-69bb-08dbcf5278c0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bMj8ZVxn4K0TgkpSXvHsfRF5qWqapfGfreuFPLBd9f5+nPvt7GrkB8UlF93eOebMY/lBZnEnf0Ijy57ot+4tIC8ONj2UmybivruyiJC35RlN/+nBxa9rEwcyhrN5DaDvVQb4ec0+B9DeemYnVCSkXHLxL7on4EQDlhElXjWN+e3p0ncVMRM7mflQHFZWuoeo+60YI29XCAwcsQmuu2Kq4DrSqw9MB/Q0tAa7bD1i5YWACS08vm9mwNOk1vybA6p22kbrHoJ0FjYCfz0YEwW+ErlO+UtzgRkwn3ZBT6Hds+z0x8v6FO+edXS4HM1E7RMFU42okgyPZ8MmoLeVQhRZxSajALhktcwXpQOD+kcJrNx4m1QsrITAFdT4zwVnocuCtdjuwpiprtjGyAX0tE47MXKetIWs+op4dI80f0MTfeoDModorjwzTnYwuhGPnIMsnhNBMOYU/CZC/YIk3C11zNNzNkzo92h86UbCtApa3Oy6MZXYWt4E00s+M0HHeGTz5YX9pYPlCcdRDSK3DWh3iDkheypV203jOpnwgWxA6OlSPiCRCAcBpf0BW5H7cTS+b+hZTnvG9KlkBNxmmxAOGKQ0UCF5bcI3lqdehxi3bbJJ6gP15uTkBhbUACNstwEkTSPCDH79/uOjJPvqE4eaUyE9EMcDIWKXtKjxNa2pjOSJrrJpeMqOaUjBUksxABYiV4cyrt8MEVOqaW9ijj1UH+nlvksotn2Wovzlo7ajuPI5QgdtU7EOPUJ+f4qVgl/o 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)(39860400002)(396003)(136003)(346002)(376002)(230922051799003)(64100799003)(186009)(451199024)(1800799009)(82310400011)(46966006)(40470700004)(36840700001)(84970400001)(36756003)(336012)(6506007)(33964004)(44144004)(6486002)(478600001)(47076005)(6512007)(36860700001)(316002)(70206006)(6916009)(70586007)(26005)(2616005)(83380400001)(54906003)(41300700001)(44832011)(5660300002)(81166007)(82740400003)(356005)(235185007)(4326008)(40460700003)(8676002)(8936002)(2906002)(40480700001)(86362001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2023 20:49:01.2733 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 87967d01-09d2-4ad2-58cb-08dbcf527e1b 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: DBAEUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7453 X-Spam-Status: No, score=-12.0 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, 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780037211032977271 X-GMAIL-MSGID: 1780037211032977271 The test is looking for individual stores which are able to be merged into stp instructions. The test currently passes -fno-schedule-fusion -fno-peephole2, presumably to prevent these stores from being turned into stps, but this is no longer sufficient with the new ldp/stp fusion pass. As such, we add --param=aarch64-stp-policy=never to prevent stps being formed. Bootstrapped/regtested as a series on aarch64-linux-gnu, OK for trunk? gcc/testsuite/ChangeLog: * gcc.target/aarch64/lr_free_1.c: Add --param=aarch64-stp-policy=never to dg-options. --- gcc/testsuite/gcc.target/aarch64/lr_free_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/lr_free_1.c b/gcc/testsuite/gcc.target/aarch64/lr_free_1.c index 50dcf04e697..9949061096e 100644 --- a/gcc/testsuite/gcc.target/aarch64/lr_free_1.c +++ b/gcc/testsuite/gcc.target/aarch64/lr_free_1.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-fno-inline -O2 -fomit-frame-pointer -ffixed-x2 -ffixed-x3 -ffixed-x4 -ffixed-x5 -ffixed-x6 -ffixed-x7 -ffixed-x8 -ffixed-x9 -ffixed-x10 -ffixed-x11 -ffixed-x12 -ffixed-x13 -ffixed-x14 -ffixed-x15 -ffixed-x16 -ffixed-x17 -ffixed-x18 -ffixed-x19 -ffixed-x20 -ffixed-x21 -ffixed-x22 -ffixed-x23 -ffixed-x24 -ffixed-x25 -ffixed-x26 -ffixed-x27 -ffixed-28 -ffixed-29 --save-temps -mgeneral-regs-only -fno-ipa-cp -fno-schedule-fusion -fno-peephole2" } */ +/* { dg-options "-fno-inline -O2 -fomit-frame-pointer -ffixed-x2 -ffixed-x3 -ffixed-x4 -ffixed-x5 -ffixed-x6 -ffixed-x7 -ffixed-x8 -ffixed-x9 -ffixed-x10 -ffixed-x11 -ffixed-x12 -ffixed-x13 -ffixed-x14 -ffixed-x15 -ffixed-x16 -ffixed-x17 -ffixed-x18 -ffixed-x19 -ffixed-x20 -ffixed-x21 -ffixed-x22 -ffixed-x23 -ffixed-x24 -ffixed-x25 -ffixed-x26 -ffixed-x27 -ffixed-28 -ffixed-29 --save-temps -mgeneral-regs-only -fno-ipa-cp -fno-schedule-fusion -fno-peephole2 --param=aarch64-stp-policy=never" } */ extern void abort ();