On 5/5/2014 3:28 AM, Thomas Laudan wrote: > Running the Starterware program on debug mode, I measured 870 Hz and in > Linux 900 Hz. Running Starterware on release mode, I even measured 1,1 kHz. > So doing float calculations without math-Functions, I finally get a > comparable result. But still there is this questions with what the Compiler > does with the sqrt-Function???
Are you using the same compiler and flags? The A8 FPU has hardware sqrt support in the FPU. Given the difference in your numbers I suspect the Starterware compiler maybe isn't using that for some reason and is emulating sqrt with simpler FPU instructions. ...but that's just a guess. Have you compared the actual code produced for the loop by the two compilers? -- Charles Steinkuehler [email protected] -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
