hello everybody.
I use c67xmathlib_2_01_00_00 for C6748.
I am from the fastmath library provides test procedure found in an inline function calculates the clock soon.so the plan in my program using inline functions to improve the computation efficiency.
I am in the header file c67fastmath_i.h and C67xfastmath.lib, compile error:variable "V" has already been initialized.In order to resolve this error, I will inline functions proposed to generate a new inline.h.I am in the header file inline.h and C67xfastmath.lib,CompileOK.
I tested these inline functions, but found the ratio of c67fastmath.h function provided by the operating speed of consuming a lot more.
For example:
c67xmathlib_2_01_00_00\src\dp\sqrtdp.Test results are as follows:
RTS ASM C Inlined vector
1277 369 388 131 127.
The sprt_i in the inline.h header files, into my program.
double aa = 232.33563;
double b1,b2,b3;
b1 = sqrt(aa); 700clock
b2 = sqrtdp(aa); 360clock
b3 = sqrtdp_i(aa); 1900clock
I analyze out the reasons for this phenomenon.hellp me.
Thanks.