Skip to main content
gbigden
Associate III
June 5, 2014
Question

Double Float execution time STM32F303

  • June 5, 2014
  • 1 reply
  • 571 views
Posted on June 05, 2014 at 17:15

Single precision float on units that have an FPU is apparently one cycle.

How much of an overhead are doubles?
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    June 5, 2014
    Posted on June 05, 2014 at 18:21

    Single precision float on units that have an FPU is apparently one cycle. How much of an overhead are doubles?

    Simple math perhaps, the divide isn't single cycle.

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BEHJADED.html

    Would depend on the operation, and the vendor of the software library being used. Benchmark your computation. Multiply with reciprocals rather than divide where you can.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..