Page 1 of 1

How to find if FPU is used

Posted: Fri Jul 05, 2024 3:34 pm
by sampling28
Does the esp32 compiler assign tasks to FPU in xtensa processor even when the declared datatypes are integer only? If so,

Is it possible to check how much FPU is being used in my esp32 for a full integer computation ?

Re: How to find if FPU is used

Posted: Sun Jul 07, 2024 9:08 am
by MicroController
No, the FPU is not used for integer calculations.

Things like

Code: Select all

int y = ...;
int x = y * 3.141f;
can end up using the FPU though.