Question
IAR : 32 bits SP is not 64 bits DP !
Posted on November 26, 2014 at 14:27
Reading
page 3 :arm_sqrt_f32 : 52 cyclessqrt : 752 cyclesThe cycles count are good. BUT sqrt works on 64 bits double precision floating point number.Try use sqrtf instead : armcc will use VSQRT instruction, during 14 cycles (25-28 cycles including function call) => sqrtf is 2 time faster than the DSP iterative algorithm.