On Thu, Apr 28, 2016 at 11:39:48AM +0300, Maxim Kuvyrkov wrote: > > On Apr 27, 2016, at 6:22 PM, Torsten Duwe <d...@suse.de> wrote: > > Your current patch is great for experiments for the kernel engineers to check > if suggested approaches to code patching will work. Still, I prefer to > implement LTO-friendly way of handling -fprolog-pad=N via function attributes.
That was exactly my intention. I only wanted *some* working compiler. I'm sure you compiler people will have a better way to finally implement this. All I can say so far about the ipa-ra issue is that it'd be great if x9(?) could be left as volatile / scratch; the rest can be preserved. Torsten