2019-06-13 20:36:03

by Vineet Gupta

[permalink] [raw]
Subject: Re: ARC Assembler: bundle_align_mode directive support

On 6/13/19 11:14 AM, Eugeniy Paltsev wrote:
> BTW:
> there is discussion in Linux ML about implementation of static calls.
> The idea is to patch immediate operand in jump instruction instead of using function pointers to optimize hot code.
> @vineet I bet you'll like this :)
>
> Current v3 patch revision is for x86 only and it's not applied yet. However I expect (based on comments to last patches)
> it'll be applied after several respins.

Indeed when researching on jump labels I saw that and indeed like that approach a lot.


> It would be nice to implement it for ARC too.

Absolutely.

> And x86 static calls implementation uses '.bundle_align_mode' directive too.

Ok then we have a case for pushing for this feature in tools !


2019-06-19 10:02:43

by Claudiu Zissulescu

[permalink] [raw]
Subject: RE: ARC Assembler: bundle_align_mode directive support


> > And x86 static calls implementation uses '.bundle_align_mode' directive
> too.
>
> Ok then we have a case for pushing for this feature in tools !

Still, I cannot understand how you want to use bundle_align_mode without the align directive.