On 6/19/19 1:12 AM, Peter Zijlstra wrote:
> On Tue, Jun 18, 2019 at 04:16:20PM +, Vineet Gupta wrote:
>
>>> +/*
>>> + * To make atomic update of patched instruction available we need to
>>> guarantee
>>> + * that this instruction doesn't cross L1 cache line boundary.
>>> + *
> Oh urgh. Is that
> > 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.
___
l
On Tue, Jun 18, 2019 at 04:16:20PM +, Vineet Gupta wrote:
> > +/*
> > + * To make atomic update of patched instruction available we need to
> > guarantee
> > + * that this instruction doesn't cross L1 cache line boundary.
> > + *
Oh urgh. Is that the only way ARC can do text patching? We've