[Barrelfish-users] SIMD instructions should be disabled when building elver

Wang Nan wangnan0 at huawei.com
Mon Apr 29 08:12:14 CEST 2013


Hi,
I propose a small patch which disables SIMD instructions when building elver for x86_64:

diff -r b68220727e2b tools/elver/Hakefile
--- a/tools/elver/Hakefile	Fri Apr 26 14:46:00 2013 +0200
+++ b/tools/elver/Hakefile	Mon Apr 29 04:53:13 2013 +0800
@@ -22,6 +22,15 @@
                                            "-std=gnu99",
                                            "-m32",
                                            "-mno-red-zone",
+					   "-mno-mmx",
+					   "-mno-sse",
+					   "-mno-sse2",
+					   "-mno-sse3",
+					   "-mno-sse4.1",
+					   "-mno-sse4.2",
+					   "-mno-sse4",
+					   "-mno-sse4a",
+					   "-mno-3dnow",
                                            "-fPIE",
                                            "-fno-stack-protector",
                                            "-U__linux__",



I discoverd that some gcc generages SIMD instructions for elver, which causes problems, because when elver processing the kernel, SIMD feature is disabled.




More information about the Barrelfish-users mailing list