Messages in this thread | | | Date | Sat, 23 Jan 2016 18:51:14 +0100 | From | Borislav Petkov <> | Subject | Re: [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.
| |