iLLD_TC27xC  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 1162 of file IfxCpu_IntrinsicsGnuc.h.

#define __clz (   a)    __builtin_clz(a)

Count leading zeros in int

Definition at line 1202 of file IfxCpu_IntrinsicsGnuc.h.

Function Documentation

IFX_INLINE sint32 __absdif ( sint32  a,
sint32  b 
)

Return absolue difference of two integers

Definition at line 1166 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __abss ( sint32  a)

Return absolute value with saturation

Definition at line 1175 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __clo ( sint32  a)

Count leading ones in int

Definition at line 1184 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 1193 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE double __fabs ( double  d)

Return absolute double precision floating-point value

Definition at line 1206 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE float __fabsf ( float  f)

Return absolute floating-point value

Definition at line 1215 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __parity ( sint32  a)

Return parity

Definition at line 1239 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __satb ( sint32  a)

Return saturated byte

Definition at line 1248 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __satbu ( sint32  a)

Return saturated uint8

Definition at line 1257 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __sath ( sint32  a)

Return saturated halfword

Definition at line 1266 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __sathu ( sint32  a)

Return saturated unsigned halfword

Definition at line 1275 of file IfxCpu_IntrinsicsGnuc.h.