[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86-64: globally use -mno-sse



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1326383214 -3600
# Node ID 50743407a526debba7d7b3be3f1dd27bf62d72d6
# Parent  c362e0526e5d0adfd886a4603cc1024cd9d16329
x86-64: globally use -mno-sse

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 <jbeulich@xxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r c362e0526e5d -r 50743407a526 xen/arch/x86/Rules.mk
--- a/xen/arch/x86/Rules.mk     Thu Jan 12 16:45:39 2012 +0100
+++ b/xen/arch/x86/Rules.mk     Thu Jan 12 16:46:54 2012 +0100
@@ -41,7 +41,7 @@
 endif
 
 ifeq ($(TARGET_SUBARCH),x86_64)
-CFLAGS += -mno-red-zone -fpic
+CFLAGS += -mno-red-zone -mno-sse -fpic
 CFLAGS += -fno-asynchronous-unwind-tables
 # -fvisibility=hidden reduces -fpic cost, if it's available
 ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n)
diff -r c362e0526e5d -r 50743407a526 xen/arch/x86/efi/Makefile
--- a/xen/arch/x86/efi/Makefile Thu Jan 12 16:45:39 2012 +0100
+++ b/xen/arch/x86/efi/Makefile Thu Jan 12 16:46:54 2012 +0100
@@ -1,4 +1,4 @@
-CFLAGS += -fshort-wchar -mno-sse
+CFLAGS += -fshort-wchar
 
 obj-y += stub.o
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.