How to find if FPU is used

sampling28
Posts: 1
Joined: Sat Jun 29, 2024 8:52 am

How to find if FPU is used

Postby sampling28 » Fri Jul 05, 2024 3:34 pm

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 ?

MicroController
Posts: 1700
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: How to find if FPU is used

Postby MicroController » Sun Jul 07, 2024 9:08 am

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.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 102 guests