From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42348 invoked by alias); 3 Sep 2019 16:55:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 42339 invoked by uid 89); 3 Sep 2019 16:55:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: EUR01-DB5-obe.outbound.protection.outlook.com Received: from mail-eopbgr150052.outbound.protection.outlook.com (HELO EUR01-DB5-obe.outbound.protection.outlook.com) (40.107.15.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Sep 2019 16:55:34 +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=t/WXajI/okEc1yd2DFFNXe/GUxBn7W31ciCMlQ6DX0M=; b=xp8ZMEZUoNKSdXoMzYO0Xl1ix7HTXJTOgDI124vJSOc0PA/Kg1kEo0ye7MRPeL6frSs9iwA1MVQ9374nldLthLedhlOOLTbncw5e1cPFGmeilLOfPy+VZwh1dLY2ElM6ZJWGmneH2D8nNWNWiP1m2PbFltfOdOF5nX3zH6U7uE0= Received: from DB7PR08CA0052.eurprd08.prod.outlook.com (2603:10a6:10:26::29) by HE1PR0801MB1852.eurprd08.prod.outlook.com (2603:10a6:3:7c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.20; Tue, 3 Sep 2019 16:55:29 +0000 Received: from DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::206) by DB7PR08CA0052.outlook.office365.com (2603:10a6:10:26::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2241.13 via Frontend Transport; Tue, 3 Sep 2019 16:55:22 +0000 Authentication-Results: spf=temperror (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=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT021.mail.protection.outlook.com (10.152.20.238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2220.16 via Frontend Transport; Tue, 3 Sep 2019 16:55:21 +0000 Received: ("Tessian outbound 802e738ad7e5:v27"); Tue, 03 Sep 2019 16:55:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3a319b7331b2a02a X-CR-MTA-TID: 64aa7808 Received: from a0128325a5cb.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.5.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id F1B5C358-4BD7-4F64-A54B-B331D033DF92.1; Tue, 03 Sep 2019 16:55:12 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02lp2053.outbound.protection.outlook.com [104.47.5.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a0128325a5cb.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Tue, 03 Sep 2019 16:55:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XsWx3pCFeXcif7oJ8mocz5Tfhp3I07PFZcTho8CJEqQowAC1Z3slE+PxG2UDh6KpRN0+aPQ6ivS9TwLa1cittlpaLlV2muc5gyvFZGGEkHD1GRnxH9UwHCSVFZoPpGWJ4RPVAetoxTYgiYwrqJFneDmvt9Emv6f86xhrDGsxNtw+rvi9LdYDMZMHHPVy7ESOw8MmoNgt30H5UA9nCdhWiFOcWV260RopDUZ/EM/eTcdQbLr1RiRxsfKkf2JofJieFPEdvTWNKFn/tIHW/jsfCRxrUlWlbOum/QagY6O+DlntyW9thdwqQGF9na8Ld6UX9I0i01/co7gxLSlOFpH+GA== 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=t/WXajI/okEc1yd2DFFNXe/GUxBn7W31ciCMlQ6DX0M=; b=EBPBAuKnAf5g34Nrv25Y//FCEyj+9iFvkGZMxhDi2Xk/9BjQPzAOtIi/hTEFkp2TupbSnA8xqmFyTeY/KYoHlKs58UAUes8BhL1z6z/C22/l5yatoE7tEF1Jqi+8cvvxrRfPaf0fAXl81jaftwW7yQYy5qMoj7tcO7f4sawlO1Blrh2IZR9tEYcCQ0hGAHqzuHXKubwq7tNSxuwR2yTbqOf/zSv4ZDKa2xsKgDD9lpITMIQE1MCRZknJyJGXSLQpCH8OpPyu4lrq8sZSsIzjkmrpOxZU74ExaJLvMm5UYHQgnwch8YEXOgeeMFU5lWUlfxRQWCE2YPJyjB2v1pA7mw== 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=t/WXajI/okEc1yd2DFFNXe/GUxBn7W31ciCMlQ6DX0M=; b=xp8ZMEZUoNKSdXoMzYO0Xl1ix7HTXJTOgDI124vJSOc0PA/Kg1kEo0ye7MRPeL6frSs9iwA1MVQ9374nldLthLedhlOOLTbncw5e1cPFGmeilLOfPy+VZwh1dLY2ElM6ZJWGmneH2D8nNWNWiP1m2PbFltfOdOF5nX3zH6U7uE0= Received: from VI1PR0801MB2127.eurprd08.prod.outlook.com (10.168.62.22) by VI1PR0801MB1822.eurprd08.prod.outlook.com (10.168.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.21; Tue, 3 Sep 2019 16:55:10 +0000 Received: from VI1PR0801MB2127.eurprd08.prod.outlook.com ([fe80::51f4:7d44:9734:ae0c]) by VI1PR0801MB2127.eurprd08.prod.outlook.com ([fe80::51f4:7d44:9734:ae0c%5]) with mapi id 15.20.2220.021; Tue, 3 Sep 2019 16:55:10 +0000 From: Wilco Dijkstra To: Maxim Kuvyrkov , Richard Guenther CC: "gcc-patches@gcc.gnu.org" , Alexander Monakov , nd Subject: Re: [PR91598] Improve autoprefetcher heuristic in haifa-sched.c Date: Tue, 03 Sep 2019 16:55:00 -0000 Message-ID: References: <09F25146-8361-4FB0-AE6B-E13BF8CF332F@gmail.com>,, In-Reply-To: Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; X-Microsoft-Antispam-Untrusted: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR0801MB1822; x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:7219;OLM:7219; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(189003)(199004)(81166006)(6116002)(3846002)(7696005)(76116006)(186003)(102836004)(74316002)(6506007)(305945005)(71190400001)(71200400001)(14454004)(26005)(86362001)(66066001)(8936002)(81156014)(4744005)(54906003)(110136005)(33656002)(11346002)(476003)(8676002)(2906002)(446003)(486006)(256004)(76176011)(478600001)(229853002)(9686003)(52536014)(55016002)(7736002)(5660300002)(66946007)(6246003)(6436002)(4326008)(316002)(66446008)(25786009)(66556008)(64756008)(53936002)(99286004)(66476007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0801MB1822;H:VI1PR0801MB2127.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-Message-Info-Original: f0fc38o7AGWnBGn4ga7lrc7CWwhuj727vFYs3xti2fsal6dSvdkxvP9nYIVuzWX4Cjh1/D5zLZQdsGwAnJpYqOXD/kBj6kPEdyAJYQYX3az7M2p0JTssB+iiBhWNgRlAbsdR6jH5+xbAkuQxjBL+lVwRzfpXrsS5wp9B/9DirNfRHgqDzeqH4Gro1C96XyKjObOQ5W2cdP3Ee9d33vJzVgt2WpOW50Rb6VjgdW2ZGRg41Btp3gfY5Tbd4N7ybvBCH2kE3JYeKZq+oj+vFdR7EyjI0bU87jl7eAY+x2qNe5mWmuxqOe8TDESS5/iTqaOL5WCXheZ7VR4pKhI7UgC9GZf4uBKb34rHAGoV0ReaLHtaknHO3lO6DWpM7RWFGg3iSeDRKYTI5VfsHrXR6qK7Q4lV5G5WH2sbb7GznxgXsvM= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; Return-Path: Wilco.Dijkstra@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 1efaf863-f441-465e-132d-08d7308f7b52 X-SW-Source: 2019-09/txt/msg00136.txt.bz2 Hi Maxim, =20=20 > =A0> Autoprefetching heuristic is enabled only for cores that support it,= and isn't active for by default. > =A0 > It's enabled on most cores, including the default (generic). So we do hav= e to be > careful that this doesn't regress any other benchmarks or do worse on mod= ern > cores. I benchmarked your scheduler change on a few AArch64 machines, and it eithe= r has no effect or a positive effect on SPECFP with no major outliers (and only m= inor codesize differences). So I think your proposed patch is OK as is. Cheers, Wilco =A0 =20=20=20=20=20