iLLD_TC27xD  1.0
Collaboration diagram for Register Handling:

Macros

#define __abs(a)   __builtin_abs(a)
 
#define __clz(a)   __builtin_clz(a)
 

Functions

IFX_INLINE sint32 __absdif (sint32 a, sint32 b)
 
IFX_INLINE sint32 __abss (sint32 a)
 
IFX_INLINE sint32 __clo (sint32 a)
 
IFX_INLINE sint32 __cls (sint32 a)
 
IFX_INLINE double __fabs (double d)
 
IFX_INLINE float __fabsf (float f)
 
IFX_INLINE sint32 __parity (sint32 a)
 
IFX_INLINE sint8 __satb (sint32 a)
 
IFX_INLINE uint8 __satbu (sint32 a)
 
IFX_INLINE sint16 __sath (sint32 a)
 
IFX_INLINE uint16 __sathu (sint32 a)
 

Detailed Description

The next table provides an overview of the intrinsic functions that you can use to access control registers.

Macro Definition Documentation

#define __abs (   a)    __builtin_abs(a)

Return absolute value

Definition at line 1163 of file IfxCpu_IntrinsicsGnuc.h.

#define __clz (   a)    __builtin_clz(a)

Count leading zeros in int

Definition at line 1203 of file IfxCpu_IntrinsicsGnuc.h.

Function Documentation

IFX_INLINE sint32 __absdif ( sint32  a,
sint32  b 
)

Return absolue difference of two integers

Definition at line 1167 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __abss ( sint32  a)

Return absolute value with saturation

Definition at line 1176 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __clo ( sint32  a)

Count leading ones in int

Definition at line 1185 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __cls ( sint32  a)

Count number of redundant sign bits (all consecutive bits with the same value as bit 31

Definition at line 1194 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE double __fabs ( double  d)

Return absolute double precision floating-point value

Definition at line 1207 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE float __fabsf ( float  f)

Return absolute floating-point value

Definition at line 1216 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __parity ( sint32  a)

Return parity

Definition at line 1238 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __satb ( sint32  a)

Return saturated byte

Definition at line 1247 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __satbu ( sint32  a)

Return saturated uint8

Definition at line 1256 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __sath ( sint32  a)

Return saturated halfword

Definition at line 1265 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __sathu ( sint32  a)

Return saturated unsigned halfword

Definition at line 1274 of file IfxCpu_IntrinsicsGnuc.h.