2012-10-22 09:00:00

by Uwaysi Bin Kareem

[permalink] [raw]
Subject: Compilation options

Hiya, I compiled the kernel with V=1 and noticed "-mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -mno-avx". Is there a way to turn this on? Alt, in
what file is this string, so I can try without it.

Peace Be With You.


2012-10-22 15:16:14

by Randy Dunlap

[permalink] [raw]
Subject: Re: Compilation options

On 10/22/2012 01:59 AM, Uwaysi Bin Kareem wrote:

> Hiya, I compiled the kernel with V=1 and noticed "-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx". Is there a way to turn this on? Alt, in what file is this string, so I can try without it.


Please teach your mail program to wrap lines around column 70-72. thanks.


That string is located in arch/x86/Makefile:

# prevent gcc from generating any FP code by mistake
KBUILD_CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
KBUILD_CFLAGS += $(call cc-option,-mno-avx,)


--
~Randy