Double Float execution time STM32F303
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-06-05 8:15 AM
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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-06-05 9:21 AM
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
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
