[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFLxGvy=pQZBmLuhnY2om-Ypek-B=qTeu_r9P1cgRHcyLxbg-g@mail.gmail.com>
Date: Thu, 31 Oct 2013 12:57:19 +0100
From: Richard Weinberger <richard.weinberger@...il.com>
To: 韩磊 <bonben1989@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: A simple question of a linux kernel beginner
On Thu, Oct 31, 2013 at 12:31 PM, 韩磊 <bonben1989@...il.com> wrote:
> May I can use the ''double" as a basic variables?
>
> When I define the "double" as a function return type in linux kernel,the error
> is "error: SSE register return with SSE disabled".
>
> How to fix it??
Don't do it. :)
In kernel land we don't want FPU stuff because it slows the mode switch down.
If you *really* need to use the FPU look how the raid6 or crypto code does.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists