From: "Jan Beulich" Subject: [PATCH] x86-64: globally use -mno-sse Date: Thu, 12 Jan 2012 12:42:43 +0000 Message-ID: <4F0EE353020000780006C190@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartAF81E353.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartAF81E353.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This eliminates pointless prologue code from functions having variable argument lists (since that way xmm registers can't possibly be passed). Signed-off-by: Jan Beulich --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -41,7 +41,7 @@ x86_64 :=3D n endif =20 ifeq ($(TARGET_SUBARCH),x86_64) -CFLAGS +=3D -mno-red-zone -fpic +CFLAGS +=3D -mno-red-zone -mno-sse -fpic CFLAGS +=3D -fno-asynchronous-unwind-tables # -fvisibility=3Dhidden reduces -fpic cost, if it's available ifneq ($(call cc-option,$(CC),-fvisibility=3Dhidden,n),n) --- a/xen/arch/x86/efi/Makefile +++ b/xen/arch/x86/efi/Makefile @@ -1,4 +1,4 @@ -CFLAGS +=3D -fshort-wchar -mno-sse +CFLAGS +=3D -fshort-wchar =20 obj-y +=3D stub.o =20 --=__PartAF81E353.0__= Content-Type: text/plain; name="x86_64-no-SSE.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86_64-no-SSE.patch" x86-64: globally use -mno-sse=0A=0AThis eliminates pointless prologue code = from functions having variable=0Aargument lists (since that way xmm = registers can't possibly be passed).=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/arch/x86/Rules.mk=0A+++ b/xen/arch/x86/R= ules.mk=0A@@ -41,7 +41,7 @@ x86_64 :=3D n=0A endif=0A =0A ifeq ($(TARGET_SU= BARCH),x86_64)=0A-CFLAGS +=3D -mno-red-zone -fpic=0A+CFLAGS +=3D -mno-red-z= one -mno-sse -fpic=0A CFLAGS +=3D -fno-asynchronous-unwind-tables=0A # = -fvisibility=3Dhidden reduces -fpic cost, if it's available=0A ifneq = ($(call cc-option,$(CC),-fvisibility=3Dhidden,n),n)=0A--- a/xen/arch/x86/ef= i/Makefile=0A+++ b/xen/arch/x86/efi/Makefile=0A@@ -1,4 +1,4 @@=0A-CFLAGS = +=3D -fshort-wchar -mno-sse=0A+CFLAGS +=3D -fshort-wchar=0A =0A obj-y +=3D = stub.o=0A =0A --=__PartAF81E353.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartAF81E353.0__=--