Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-19 Thread Peter Zijlstra
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

RE: ARC Assembler: bundle_align_mode directive support

2019-06-19 Thread Claudiu Zissulescu
> > 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

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-19 Thread Vineet Gupta
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