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

2015-04-25 Thread Borislav Petkov
5853184 19537311 12a1d9f vmlinux > > > -- > H.J. > From a759c1a4f6ffa408d49e1959449d6797769b951e Mon Sep 17 00:00:00 2001 > From: "H.J. Lu" > Date: Wed, 17 Dec 2014 18:05:29 -0800 > Subject: [PATCH] Use -mskip-rax-setup if supported > > GCC 5 added a compiler optio

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

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

2015-04-16 Thread H.J. Lu
2001 From: "H.J. Lu" Date: Wed, 17 Dec 2014 18:05:29 -0800 Subject: [PATCH] Use -mskip-rax-setup if supported 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 re