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

Chothia Zaheer zchothia at student.ethz.ch
Mon Apr 29 22:21:52 CEST 2013


Hi,

I wonder whether the same might happen in other cases (AVX) and whether it makes
sense to instead pass something like '-march=i386'?

(On a loosely-related note: I previously tried running a Clang-built version of
Barrelfish but the early boot sequence would repeat in an infinite loop. That
issue is now also fixed so thanks!)

--Zaheer

> -----Original Message-----
> From: Wang Nan [mailto:wangnan0 at huawei.com]
> Sent: 29 April 2013 08:12
> To: barrelfish-users at lists.inf.ethz.ch
> Subject: [Barrelfish-users] SIMD instructions should be disabled when building
> elver
> 
> 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.
> 
> 
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users


More information about the Barrelfish-users mailing list