iLLD_TC27xD  1.0
Saturation Arithmetic Support
Collaboration diagram for Saturation Arithmetic Support:

Functions

IFX_INLINE sint32 __adds (sint32 a, sint32 b)
 
IFX_INLINE uint32 __addsu (uint32 a, uint32 b)
 
IFX_INLINE sint32 __subs (sint32 a, sint32 b)
 
IFX_INLINE uint32 __subsu (uint32 a, uint32 b)
 

Detailed Description

These intrinsics support saturation arithmetic

Function Documentation

IFX_INLINE sint32 __adds ( sint32  a,
sint32  b 
)

add signed with saturation

Definition at line 1291 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint32 __addsu ( uint32  a,
uint32  b 
)

add unsigned with saturation

Definition at line 1300 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint32 __subs ( sint32  a,
sint32  b 
)

substract signed with saturation

Definition at line 1309 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint32 __subsu ( uint32  a,
uint32  b 
)

substract unsigned with saturation

Definition at line 1318 of file IfxCpu_IntrinsicsGnuc.h.