This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] add -fprolog-pad=N option to c-family
- From: Torsten Duwe <duwe at suse dot de>
- To: Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>
- Cc: Li Bin <huawei dot libin at huawei dot com>, Jiri Kosina <jkosina at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Apr 2016 13:18:37 +0200
- Subject: Re: [PATCH] add -fprolog-pad=N option to c-family
- Authentication-results: sourceware.org; auth=none
- References: <20160427152217 dot GA2637 at suse dot de> <324F1C9E-0789-4290-B9B3-AC0C4027CB78 at linaro dot org>
On Thu, Apr 28, 2016 at 11:39:48AM +0300, Maxim Kuvyrkov wrote:
> > On Apr 27, 2016, at 6:22 PM, Torsten Duwe <duwe@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