Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
Hi all,
I'm quite new in the world of TMS320 DSCs and I'm programming a TMS320F28335 in C language, using the compiler with "-o3" optimization level. I need to compute 32-bit divisions, both in floating and fixed point (let's say float/float and int32/int32). I was looking in TI documenation for a good method to perform these computations but I got a little confused. I don't know if it's better to simply write
var_a = var_b / var_c;
and trust in the compiler, or to use instrinsics; for example I found EINVF32 for floating point inverse, followed by 2-step Newton-Raphson.
What is the best solution in your opinion?
Many thanks!
Best regards,
Alessio