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.

TM4C1294NCPDT: Clarification on FPU usage

Part Number: TM4C1294NCPDT

Hello,

I need a clarification on the FPU: I do not see any performance improvement when I try to execute simple multiply operations between two floats.
The execution time of for example:

 

Fullscreen
1
float a = (float)2.1 * (float)3.2;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 

is 178 ns @ 120MHz, both when the FPU is active and not.

In order to activate the FPU I execute:

Fullscreen
1
2
FPUEnable();
FPULazyStackingEnable();
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I see the same behaviour also on other floating point operations, no performance improvement when FPU is enabled. Why?
Is there any other configuration that I need to perform or is this correct?

Best regards.
Paolo