Re: [PATCH] Use -mskip-rax-setup if supported

2015-04-25 Thread Borislav Petkov
On Thu, Apr 16, 2015 at 02:23:44PM -0700, H.J. Lu wrote: > GCC 5 added a compiler option, -mskip-rax-setup, for x86-64. It skips > setting up the RAX register when SSE is disabled and there are no > variable arguments passed in vector registers. Since kernel doesn't > pass vector registers to fun

Re: [PATCH] Use -mskip-rax-setup if supported

2015-04-16 Thread Andi Kleen
On Thu, Apr 16, 2015 at 02:23:44PM -0700, H.J. Lu wrote: > GCC 5 added a compiler option, -mskip-rax-setup, for x86-64. It skips > setting up the RAX register when SSE is disabled and there are no > variable arguments passed in vector registers. Since kernel doesn't > pass vector registers to fun