Skip to main content

IAR Embedded Workbench for RX 5.20

--tfu

In this section:
Syntax

--tfu {none|intrinsic|intrinsic_mathlib}

Parameters

none

The TFU intrinsic functions are not used.

intrinsic

Enables the TFU intrinsic functions:

__sincosf

__atan2hypotf

__inline_sinf

__inline_cosf

__inline_atan2f

__inline_hypotf

intrinsic_mathlib

Replaces these runtime library math functions with inline TFU intrinsic functions at compile time:

sin and sinf are replaced by __inline_sinf

cos and cosf are replaced by __inline_cosf

atan2 and atan2f are replaced by __inline_atan2f

hypot and hypotf are replaced by __inline_hypotf

Description

Use this option to enable support for the Arithmetic Unit for Trigonometric Functions (TFU), which is available for some devices based on the RXv3 architecture. The TFU is accessed using a set of intrinsic functions.

See also

Intrinsic functions

Caution

Project>Options>C/C++ Compiler>Code>Trigonometric Functions Unit