Question
SQRT, 32bit X 32bit multiply, 32bitX16bit divide execution time
Posted on January 25, 2013 at 17:28
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? #instruction-time-cpu-cycle-sqrt