Hi all,
I would like to know if it is possible to replace all the __fdividef() fonction in my code by an usual division by adding an option in the compiler.
In fact I would like to know the gain obtained by using __fdividef(a,b) instead of a/b. Or maybe there are better ways to do.
I tried to use the flag --prec-div=true but the results are the same, so I guess that the flag --prec-div=false replaces a/b with __fdividef(a,b) but it is not reciprocal. Am I right?
what about something like that at the beginning of your code (possibly within a header file that you include in last position within your source files)
Yes.
You can see exactly how the pre-processor transforms your code by using the “-E” compiler switch, which will stop right after this phase, and display the ready-to-compile code.