AnsweredAssumed Answered

SQRT, 32bit X 32bit multiply, 32bitX16bit divide execution time

Question asked by robison.don on Jan 25, 2013
Latest reply on Jan 25, 2013 by Martin Davey
I have spent a lot of time with the manuals for the stm32f4, but have had no luck finding the information I need regarding how long it takes to execute certain instructions.  I assume add, takes maybe two CPU cycles.  Moving from one register to another must take only a few cycles too, but on the st10 I was working with before multiply took ten times longer than add and division took 15 times longer.  I really need to do square roots, too, so I need to know how long that instruction is going to take to execute.

Have you come across this information in the manuals?  Could you give me a citation?  How long do the different instructions take to execute?

Outcomes