This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TM4C1294NCPDT: Is there a compiler flag to turn off the FPU and doing floating-point calculations in software?

Part Number: TM4C1294NCPDT

Tool/software: TI C/C++ Compiler

I'm writing code for switch the context among threads but the FPU is making the things a little difficult. I know there is a document that explains how to do context switch when we have an FPU but it is still I little hard to understand how it works. So I would like to turn off the FPU and continue to use the microcontroller as if it never had one. So I can write the context switch and make things work without the FPU until I am able to understand exactly how to do context switch with the FPU enabled.

Is there a compiler flag to turn off the FPU and doing floating-point calculations in software? Will I need to set/clear some bits on a special register too?