From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79314 invoked by alias); 27 Apr 2017 05:07:34 -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 79104 invoked by uid 89); 27 Apr 2017 05:07:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-21.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL_CSS,RCVD_IN_SORBS_WEB,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:AM5PR08, H*i:sk:AM5PR08 X-HELO: NAM01-BN3-obe.outbound.protection.outlook.com Received: from mail-bn3nam01on0047.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) (104.47.33.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Apr 2017 05:07:21 +0000 Received: from CO2PR07MB2694.namprd07.prod.outlook.com (10.166.214.7) by MWHPR07MB3421.namprd07.prod.outlook.com (10.164.206.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Thu, 27 Apr 2017 05:07:19 +0000 Received: from CO2PR07MB2694.namprd07.prod.outlook.com ([10.166.214.7]) by CO2PR07MB2694.namprd07.prod.outlook.com ([10.166.214.7]) with mapi id 15.01.1047.019; Thu, 27 Apr 2017 05:07:18 +0000 From: "Hurugalawadi, Naveen" To: Wilco Dijkstra , "gcc-patches@gcc.gnu.org" CC: "Pinski, Andrew" , "roland.illig@gmx.de" , "joseph@codesourcery.com" , "dmalcolm@redhat.com" , nd , James Greenhalgh , Marcus Shawcroft , Richard Earnshaw , "ramana.radhakrishnan@foss.arm.com" Subject: Re: [PING][PATCH] Move the check for any_condjump_p from sched-deps to target macros Date: Thu, 27 Apr 2017 07:29:00 -0000 Message-ID: References: ,,,, In-Reply-To: authentication-results: cavium.com; dkim=none (message not signed) header.d=none;cavium.com; dmarc=none action=none header.from=cavium.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR07MB3421;7:NvjIMjwnzPFwGm0aaCtzk+f+6aXyO0lYY0zJGfa9ZbMTYgYlfrI7QLvWjq6EPWyZeYS1JgteQsh5srgPvTopXVvXy/Ne4TPWMxO0expxxRUieZXMJHtQAbAn7w+L9Z2ah4ZiFUxka3LmfSM3ILIh6Odza8vnkkFYt25EBVGftgMsG97T3OXw+pIh+5UdeOU4lxPDakYmVMhMkGAILR2BdKTbvNeAjOdA/yYYscnNXL7bRVVxcl+uGGhdNUmENQW9wwF5OST6iBDiAEhtliuCrvU4LYzllqPDSCq6SwfuRzoIlfAOYXsjsMUQdul9NOttwy1Zwgl1cN9vmxQyy5pKGA== x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(6506006)(8936002)(189998001)(6436002)(99936001)(2950100002)(77096006)(6246003)(66066001)(8666007)(53936002)(2501003)(2906002)(76176999)(50986999)(54356999)(25786009)(99286003)(54906002)(9686003)(7696004)(55016002)(38730400002)(6116002)(102836003)(3846002)(74316002)(3280700002)(229853002)(93886004)(2900100001)(4326008)(86362001)(558084003)(122556002)(33656002)(5660300001)(305945005)(7736002)(3660700001)(81166006)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR07MB3421;H:CO2PR07MB2694.namprd07.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; x-ms-office365-filtering-correlation-id: 65783148-6f76-42f9-6d51-08d48d2b4781 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075);SRVR:MWHPR07MB3421; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(102415395)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123560025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(6072148);SRVR:MWHPR07MB3421;BCL:0;PCL:0;RULEID:;SRVR:MWHPR07MB3421; x-forefront-prvs: 029097202E spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_CO2PR07MB269469641618358D4AB5BA4483100CO2PR07MB2694namp_" MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2017 05:07:18.7586 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3421 X-SW-Source: 2017-04/txt/msg01335.txt.bz2 --_002_CO2PR07MB269469641618358D4AB5BA4483100CO2PR07MB2694namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 262 Hi Wilco, >> I suggest you check the logic and follow the existing patterns in >> aarch_macro_fusion_pair_p. Done. Bootstrapped and Regression tested on AArch64 and X86_64. Please review the patch and let us know if its okay? Thanks, Naveen =20=20=20=20=20= --_002_CO2PR07MB269469641618358D4AB5BA4483100CO2PR07MB2694namp_ Content-Type: text/x-patch; name="fusion-anycond-jump-2.patch" Content-Description: fusion-anycond-jump-2.patch Content-Disposition: attachment; filename="fusion-anycond-jump-2.patch"; size=3180; creation-date="Thu, 27 Apr 2017 04:49:22 GMT"; modification-date="Thu, 27 Apr 2017 04:49:22 GMT" Content-Transfer-Encoding: base64 Content-length: 4311 ZGlmZiAtLWdpdCBhL2djYy9jb25maWcvYWFyY2g2NC9hYXJjaDY0L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m9u ZGVidWdfaW5zbiAoaW5zbik7Ci0gICAgICBpZiAoIXJlZ19yZWZlcmVuY2Vk X3AgKGNjX3JlZ18xLCBQQVRURVJOIChpbnNuKSkKLSAgICAgICAgICB8fCAh cHJldgotICAgICAgICAgIHx8ICFtb2RpZmllZF9pbl9wIChjY19yZWdfMSwg cHJldikpCi0gICAgICAgIHJldHVybjsKLSAgICB9Ci0gIGVsc2UKLSAgICB7 Ci0gICAgICBydHggaW5zbl9zZXQgPSBzaW5nbGVfc2V0IChpbnNuKTsKLQot ICAgICAgcHJldiA9IHByZXZfbm9ubm90ZV9ub25kZWJ1Z19pbnNuIChpbnNu KTsKLSAgICAgIGlmICghcHJldgotICAgICAgICAgIHx8ICFpbnNuX3NldAot ICAgICAgICAgIHx8ICFzaW5nbGVfc2V0IChwcmV2KSkKLSAgICAgICAgcmV0 dXJuOworICBydHggaW5zbl9zZXQgPSBzaW5nbGVfc2V0IChpbnNuKTsKIAot ICAgIH0KKyAgcHJldiA9IHByZXZfbm9ubm90ZV9ub25kZWJ1Z19pbnNuIChp bnNuKTsKKyAgaWYgKCFwcmV2CisgICAgICB8fCAhaW5zbl9zZXQKKyAgICAg IHx8ICFzaW5nbGVfc2V0IChwcmV2KSkKKyAgICByZXR1cm47CiAKICAgaWYg KHRhcmdldG0uc2NoZWQubWFjcm9fZnVzaW9uX3BhaXJfcCAocHJldiwgaW5z bikpCiAgICAgU0NIRURfR1JPVVBfUCAoaW5zbikgPSAxOwotCiB9CiAKIC8q IEdldCB0aGUgaW1wbGljaXQgcmVnIHBlbmRpbmcgY2xvYmJlcnMgZm9yIElO U04gYW5kIHNhdmUgdGhlbSBpbiBURU1QLiAgKi8K --_002_CO2PR07MB269469641618358D4AB5BA4483100CO2PR07MB2694namp_--