[En-Nut-Discussion] Will the FPU from the STM32F4xx supported (context.c)?
bon at elektron.ikp.physik.tu-darmstadt.de
bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 2 10:43:29 CEST 2013
>>>>> "Philipp" == Philipp Burch <phip at hb9etc.ch> writes:
Philipp> Hi Michael! On 09/01/2013 12:43 PM, Michael Fischer wrote:
>> Dear List,
>>
>> please can someone check if the context.c from the cm3 tree is
>> correct in case of FPU support? Compared to the ChibiOS task switch
>> it looks that the FPU register s16-s31 will not saved/restored.
>>
>> Best regards, Michael _______________________________________________
>> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
Philipp> As far as I know, only the Cortex-M3 (without FPU) is supported
Philipp> at the moment. context.c is architecture dependent, so it is
Philipp> most likely that it does not know about any FPU registers.
You should be save if you only use the FPU in _one_ thread. Making the FPU
context-switch/thread safe should be a configurable item, as there are many
cases where it is not needed and the related overhead is not wanted.
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list