-library


< Compile Options / Optimize Options >

[Format]

-library = { function | intrinsic }

 

-

[Default]

The default for this option is library=intrinsic.

[Description]

-

When -library=function is specified, all library functions are called by calling subroutines provided by standard library.

-

When -library=intrinsic is specified, a call for any of the following library functions is replaced with the RX instruction that has the corresponding facility.

-

abs

-

fabsf/fabs*1/fabsl*1

-

sqrtf*2/sqrt*1*2*3/sqrtl*1*2*3

-

memchr/strlen/strcpy/strncpy/strcmp/strncmp/strcat/strncat

Notes 1.

When -dbl_size=4 or the -dpfpu option is specified

Notes 2.

When the -isa option is specified with a value other than rxv1 in combination with the -fpu option

Notes 3.

When the -isa option is specified with a value other than rxv1 in combination with the -fpu -dbl_size=4, or when the -dpfpu option is specified

[Remarks]

-

The value of variable errno is not changed by the call of a library function that was replaced with an instruction.