Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp166192ybi; Thu, 13 Jun 2019 13:36:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrj5/wlgz6oXoqQ5kCeUZZHg+BIUR+F36rPgiGMu64mTBzTK99vTQfKkWu16LdqUffAWx4 X-Received: by 2002:a17:902:1003:: with SMTP id b3mr90861369pla.172.1560458163805; Thu, 13 Jun 2019 13:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560458163; cv=none; d=google.com; s=arc-20160816; b=W1O92jCUrAbRcw3JEqJxZXjDXg2zFGCtGtBP365XfIfHu/sf4LpoxoWSn3eZEF6Nkf xEM3o9ZeUXSkyuFNyg8aD9weEKtSreLOTMiIxHtX3PVkRk378i12TBmo+P68wOWuUkS3 CNHiyJPJPKQ9UYzCCYCzrb1K2ntcqGJ2p3gdYQGypx5MfpO9B4sHuNhGMixyCoSQ2m2j zDxYwv6oGjXInPBopWkTmxISRFJhc2SMEggtzBKAb2AfCjZ9hOVjBHyOumB0P4GrmO9h GVdDi3Ps33kz44rESCAb6rtxcpyMJ7Iakb5anXfhKUYJUwN7rjCvk3FYVB0D8dwldmlm GOpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=jsFFEjF512FgPkQJhTvFb8dpbi1Ey52PpS6d7gE4Aco=; b=UPZbk/yOejW6Tv6z76AR7BnAsQhdCqze0UlGSfM1wmMe1caPbJT1O33CUZjqj8TroL Tl0bVGM1Z1p7SPMaqOfoBHwc9F7gaSdhninE1U2Tri+zluxwIjDl+qNRE9sOL56NkhWF 5BbMjw/DfTJ/LJb3K5RDXkfmf7Hh52kHd22xkP/fvCTwKw7/HEEijwsCvymCPMYrJbR3 bOVtq48ETLK8OTAyWlaoRlg24fzQ/o9Nb7nECh/Cw2XLu6EWYDP90M4U8q5ZLGMlJBzM TMpZ8GmUr+jl6caqITCaMhCNRaSEzs4J4fiLGqg3rS2w7CPxpCwvLX209TPfxXj4wkih qZLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ir8Q9jan; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p93si507009pjp.66.2019.06.13.13.35.47; Thu, 13 Jun 2019 13:36:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ir8Q9jan; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729221AbfFMUfa (ORCPT + 99 others); Thu, 13 Jun 2019 16:35:30 -0400 Received: from smtprelay-out1.synopsys.com ([198.182.61.142]:43178 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726703AbfFMUfa (ORCPT ); Thu, 13 Jun 2019 16:35:30 -0400 Received: from mailhost.synopsys.com (badc-mailhost2.synopsys.com [10.192.0.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id CBDA3C0246; Thu, 13 Jun 2019 20:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1560458129; bh=jsFFEjF512FgPkQJhTvFb8dpbi1Ey52PpS6d7gE4Aco=; h=From:To:CC:Subject:Date:References:From; b=ir8Q9janMXIgtC9SfzadlISDHA94Fi/CXa+S18i715MLQHkwBniZeu3uvI5wxPB8z /o3kwlft4zeXL4Q3Ao8rg4Y4egEKwxfN9swYmfLrp4o2yMISaY8y8DnNsytPsRoWWE YsRNzzKb4wDe8r++BABw1zn6Jgi4215xb+xLqfJnjONZqearmPJUXB1DpqrvoTYgVx D+13znxZv7T2YK3a3+ath/Zq6BFA5pkg0Rjas2SiFAPkcw5vlMRBZjSME2vUrbm5Xx srt8oK/uAeztcWFol+hJ6w3sJIHn6lTbQwRPqjMmp7f6reHOmNLF4A9D2w6z643VCq Lbomlh3pnO+mQ== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 2AC58A0105; Thu, 13 Jun 2019 20:35:26 +0000 (UTC) Received: from us01wembx1.internal.synopsys.com ([169.254.1.22]) by US01WEHTC3.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Thu, 13 Jun 2019 13:35:26 -0700 From: Vineet Gupta To: Eugeniy Paltsev , "Cupertino.Miranda@synopsys.com" CC: Alexey Brodkin , "linux-snps-arc@lists.infradead.org" , "Claudiu.Zissulescu@synopsys.com" , "linux-kernel@vger.kernel.org" Subject: Re: ARC Assembler: bundle_align_mode directive support Thread-Topic: ARC Assembler: bundle_align_mode directive support Thread-Index: AQHVHicA2N+x/AVgjkyWYOIr/ofXig== Date: Thu, 13 Jun 2019 20:35:26 +0000 Message-ID: References: <3962a9ad199cea45b1cfadb80be551aab83b7028.camel@synopsys.com> <02fcd330-8b3c-a3cb-0aa9-e91bca6b6d0f@synopsys.com> <8a027c250d7bd14ff107c169351af6a04a6d8334.camel@synopsys.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.13.184.19] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/13/19 11:14 AM, Eugeniy Paltsev wrote:=0A= > BTW:=0A= > there is discussion in Linux ML about implementation of static calls.=0A= > The idea is to patch immediate operand in jump instruction instead of usi= ng function pointers to optimize hot code.=0A= > @vineet I bet you'll like this :)=0A= >=0A= > Current v3 patch revision is for x86 only and it's not applied yet. Howev= er I expect (based on comments to last patches)=0A= > it'll be applied after several respins. =0A= =0A= Indeed when researching on jump labels I saw that and indeed like that appr= oach a lot.=0A= =0A= =0A= > It would be nice to implement it for ARC too.=0A= =0A= Absolutely.=0A= =0A= > And x86 static calls implementation uses '.bundle_align_mode' directive t= oo.=0A= =0A= Ok then we have a case for pushing for this feature in tools !=0A=