From 4b5482eb5a43b061a1aed3726ca067a09f227c98 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 24 Apr 2017 00:01:52 +0200 Subject: [PATCH] Preserve FPU registers on context switch Fixes: lp:1660546 * https://bugs.launchpad.net/kicad/+bug/1660546 --- include/system/libcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/system/libcontext.h b/include/system/libcontext.h index 1cb5d718d6..b71e17d3cb 100644 --- a/include/system/libcontext.h +++ b/include/system/libcontext.h @@ -81,7 +81,7 @@ extern "C" { intptr_t LIBCONTEXT_CALL_CONVENTION jump_fcontext( fcontext_t* ofc, fcontext_t nfc, - intptr_t vp, bool preserve_fpu = false ); + intptr_t vp, bool preserve_fpu = true ); fcontext_t LIBCONTEXT_CALL_CONVENTION make_fcontext( void* sp, size_t size, void (* fn)( intptr_t ) );