On Sat, Dec 27, 2014 at 8:18 AM, Mike Stump <m...@mrs.kithrup.com> wrote: > On Dec 26, 2014, at 7:57 AM, "H.J. Lu" <hjl.to...@gmail.com> wrote: >> On Thu, Dec 25, 2014 at 9:07 PM, Gerald Pfeifer <ger...@pfeifer.com> wrote: >>> On Thursday 2014-12-18 11:35, H.J. Lu wrote: >>>> Updated. >>> >>> "the RAX register" (i.e., add "the"), and I suggest to make >>> this a sentence, similar to my previous mail for the other >>> update. >>> >>> This is fine with these changes. >> >> Done. >> >>> Thank you -- and that's a nice hack (in the positive sense)! >>> >> >> It really is a hack :-) and was suggested by Rasmus Villemoes. > > So, my suggestion is similar, but different. Imagine you find 10 of these > things over the years, 10 flags look horrible. I like the -mkernel style > flag where all are bundled up under it, essentially it becomes the kernel API > flag.
So far, for Linux x86-64 kernel, we added -mskip-rax-setup and allowed -mpreferred-stack-boundary=3. We will see how far it goes :-). -- H.J.