< Compile Options / Optimize Options >
When -tfu=intrinsic is specified, the following intrinsic functions which use the trigonometric function unit are available. |
For details on the listed intrinsic functions, refer to section 4.2.6 Intrinsic Functions.
When -tfu=intrinsic,mathlib is specified, the above intrinsic functions are available and calls of relevant mathematics library functions are replaced with code that uses the trigonometric function unit. The following are the mathematics library functions to be replaced. |
*1: This is only the case when -dbl_size=4 is specified.
*2: This is the case when -isa=rxv2|rxv3 and -fpu are specified.
When -tfu=intrinsic,mathlib is specified, replacement of the mathematics library functions means that only code from the relevant function calls is replaced and code in the library is not affected. Accordingly, if an indirect call via a pointer is made, the trigonometric function unit will not be used. |
If calls of mathematics library functions are replaced with code that uses the trigonometric function unit, the values of variable errno will not be modified. |
Before using the trigonometric function unit, initialize the unit from the startup program by calling the __init_tfu() intrinsic function. If you do not do so, correct operation is not guaranteed. |