lkml.org 
[lkml]   [2016]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] x86/fpu: Fix math emulation in eager fpu mode
On Sat, Jan 23, 2016 at 09:40:06AM -0800, Andy Lutomirski wrote:
> I'm confused. I want to make use_eager_fpu() return true always, so
> how would this help? The idea is for FPU emulation to work despite
> being in eager mode.

I mean this:

static __always_inline __pure bool use_eager_fpu(void)
{
if (!static_cpu_has(X86_FEATURE_FPU))
return false;

return static_cpu_has(X86_FEATURE_EAGER_FPU);
}

Although now I realize that returning false is ambiguous here. F'get it.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.

\
 
 \ /
  Last update: 2016-01-23 19:21    [W:0.034 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site