Skip to contentSkip to conversation

x86-64: globally use -mno-sse

PATCH In review Jan Beulich 2 participants 2 messages Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

xen/arch/x86/Rules.mk +1 -1
@@ -41,7 +41,7 @@ x86_64 := n
 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)
xen/arch/x86/efi/Makefile +1 -1
@@ -1,4 +1,4 @@
-CFLAGS += -fshort-wchar -mno-sse
+CFLAGS += -fshort-wchar
 
 obj-y += stub.o
 

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).

xen/arch/x86/Rules.mk +1 -1
@@ -41,7 +41,7 @@ x86_64 := n
 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)
xen/arch/x86/efi/Makefile +1 -1
@@ -1,4 +1,4 @@
-CFLAGS += -fshort-wchar -mno-sse
+CFLAGS += -fshort-wchar
 
 obj-y += stub.o
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jan Beulich

This eliminates pointless prologue code from functions having variable argument lists (since that way xmm registers can't possibly be passed).

Quoted 26 lines
xen/arch/x86/Rules.mk +1 -1
@@ -41,7 +41,7 @@ x86_64 := n
 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)
xen/arch/x86/efi/Makefile +1 -1
@@ -1,4 +1,4 @@
-CFLAGS += -fshort-wchar -mno-sse
+CFLAGS += -fshort-wchar
 
 obj-y += stub.o
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel