iLLD_TC27xD  1.0
Packed Data Type Support
Collaboration diagram for Packed Data Type Support:

Functions

IFX_INLINE __packb __absb (__packb a)
 
IFX_INLINE __packhw __absh (__packhw a)
 
IFX_INLINE __packhw __abssh (__packhw a)
 
IFX_INLINE sint8 __extractbyte1 (__packb a)
 
IFX_INLINE sint8 __extractbyte2 (__packb a)
 
IFX_INLINE sint8 __extractbyte3 (__packb a)
 
IFX_INLINE sint8 __extractbyte4 (__packb a)
 
IFX_INLINE sint16 __extracthw1 (__packhw a)
 
IFX_INLINE sint16 __extracthw2 (__packhw a)
 
IFX_INLINE uint8 __extractubyte1 (__upackb a)
 
IFX_INLINE uint8 __extractubyte2 (__upackb a)
 
IFX_INLINE uint8 __extractubyte3 (__upackb a)
 
IFX_INLINE uint8 __extractubyte4 (__upackb a)
 
IFX_INLINE uint16 __extractuhw1 (__upackhw a)
 
IFX_INLINE uint16 __extractuhw2 (__upackhw a)
 
IFX_INLINE sint8 __getbyte1 (__packb *a)
 
IFX_INLINE sint8 __getbyte2 (__packb *a)
 
IFX_INLINE sint8 __getbyte3 (__packb *a)
 
IFX_INLINE sint8 __getbyte4 (__packb *a)
 
IFX_INLINE sint16 __gethw1 (__packhw *a)
 
IFX_INLINE sint16 __gethw2 (__packhw *a)
 
IFX_INLINE uint8 __getubyte1 (__upackb *a)
 
IFX_INLINE uint8 __getubyte2 (__upackb *a)
 
IFX_INLINE uint8 __getubyte3 (__upackb *a)
 
IFX_INLINE uint8 __getubyte4 (__upackb *a)
 
IFX_INLINE uint16 __getuhw1 (__upackhw *a)
 
IFX_INLINE uint16 __getuhw2 (__upackhw *a)
 
IFX_INLINE __packb __initpackb (sint32 a, sint32 b, sint32 c, sint32 d)
 
IFX_INLINE __packb __initpackbl (long a)
 
IFX_INLINE __packhw __initpackhw (sint16 a, sint16 b)
 
IFX_INLINE __packhw __initpackhwl (long a)
 
IFX_INLINE __upackb __initupackb (uint32 a, uint32 b, uint32 c, uint32 d)
 
IFX_INLINE __upackhw __initupackhw (uint16 a, uint16 b)
 
IFX_INLINE __packb __insertbyte1 (__packb a, sint8 b)
 
IFX_INLINE __packb __insertbyte2 (__packb a, sint8 b)
 
IFX_INLINE __packb __insertbyte3 (__packb a, sint8 b)
 
IFX_INLINE __packb __insertbyte4 (__packb a, sint8 b)
 
IFX_INLINE __upackb __insertubyte1 (__upackb a, uint8 b)
 
IFX_INLINE __upackb __insertubyte2 (__upackb a, uint8 b)
 
IFX_INLINE __upackb __insertubyte3 (__upackb a, uint8 b)
 
IFX_INLINE __upackb __insertubyte4 (__upackb a, uint8 b)
 
IFX_INLINE __packhw __inserthw1 (__packhw a, sint16 b)
 
IFX_INLINE __packhw __inserthw2 (__packhw a, sint16 b)
 
IFX_INLINE __upackhw __insertuhw1 (__upackhw a, uint16 b)
 
IFX_INLINE __upackhw __insertuhw2 (__upackhw a, uint16 b)
 
IFX_INLINE __packb __minb (__packb a, __packb b)
 
IFX_INLINE __upackb __minbu (__upackb a, __upackb b)
 
IFX_INLINE __packhw __minh (__packhw a, __packhw b)
 
IFX_INLINE __upackhw __minhu (__upackhw a, __upackhw b)
 
IFX_INLINE void __setbyte1 (__packb *a, sint8 b)
 
IFX_INLINE void __setbyte2 (__packb *a, sint8 b)
 
IFX_INLINE void __setbyte3 (__packb *a, sint8 b)
 
IFX_INLINE void __setbyte4 (__packb *a, sint8 b)
 
IFX_INLINE void __sethw1 (__packhw *a, sint16 b)
 
IFX_INLINE void __sethw2 (__packhw *a, sint16 b)
 
IFX_INLINE void __setubyte1 (__upackb *a, uint8 b)
 
IFX_INLINE void __setubyte2 (__upackb *a, uint8 b)
 
IFX_INLINE void __setubyte3 (__upackb *a, uint8 b)
 
IFX_INLINE void __setubyte4 (__upackb *a, uint8 b)
 
IFX_INLINE void __setuhw1 (__upackhw *a, uint16 b)
 
IFX_INLINE void __setuhw2 (__upackhw *a, uint16 b)
 

Detailed Description

The next table provides an overview of the intrinsic functions for initialization of packed data type.

Function Documentation

IFX_INLINE __packb __absb ( __packb  a)

Absolute value of __packb

Definition at line 532 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __absh ( __packhw  a)

Absolute value of __packhw

Definition at line 542 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __abssh ( __packhw  a)

Absolute value of __packhw using saturation

Definition at line 552 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte1 ( __packb  a)

Extract first byte from a __packb

Definition at line 562 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte2 ( __packb  a)

Extract second byte from a __packb

Definition at line 572 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte3 ( __packb  a)

Extract third byte from a __packb

Definition at line 582 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte4 ( __packb  a)

Extract fourth byte from a __packb

Definition at line 592 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __extracthw1 ( __packhw  a)

Extract first sint16 from a __packhw

Definition at line 602 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __extracthw2 ( __packhw  a)

Extract second sint16 from a __packhw

Definition at line 612 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte1 ( __upackb  a)

Extract first uint8 from a __packb

Definition at line 622 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte2 ( __upackb  a)

Extract second uint8 from a __packb

Definition at line 632 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte3 ( __upackb  a)

Extract third uint8 from a __packb

Definition at line 642 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte4 ( __upackb  a)

Extract fourth uint8 from a __packb

Definition at line 652 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __extractuhw1 ( __upackhw  a)

Extract first uint16 from a __packhw

Definition at line 662 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __extractuhw2 ( __upackhw  a)

Extract second uint16 from a __packhw

Definition at line 672 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte1 ( __packb a)

Extract first byte from a __packb

Definition at line 682 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte2 ( __packb a)

Extract second byte from a __packb

Definition at line 694 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte3 ( __packb a)

Extract third byte from a __packb

Definition at line 706 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte4 ( __packb a)

Extract fourth byte from a __packb

Definition at line 718 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __gethw1 ( __packhw a)

Extract first sint16 from a __packhw

Definition at line 730 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __gethw2 ( __packhw a)

Extract second sint16 from a __packhw

Definition at line 740 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte1 ( __upackb a)

Extract first uint8 from a __packb

Definition at line 751 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte2 ( __upackb a)

Extract second uint8 from a __packb

Definition at line 762 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte3 ( __upackb a)

Extract third uint8 from a __packb

Definition at line 773 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte4 ( __upackb a)

Extract fourth uint8 from a __packb

Definition at line 784 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __getuhw1 ( __upackhw a)

Extract first uint16 from a __packhw

Definition at line 795 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __getuhw2 ( __upackhw a)

Extract second uint16 from a __packhw

Definition at line 806 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __initpackb ( sint32  a,
sint32  b,
sint32  c,
sint32  d 
)

Initialize __packb with four integers

Definition at line 817 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __initpackbl ( long  a)

Initialize __packb with a long integer

Definition at line 829 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __initpackhw ( sint16  a,
sint16  b 
)

Initialize __packhw with two integers

Definition at line 836 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __initpackhwl ( long  a)

Initialize __packhw with a long integer

Definition at line 846 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __initupackb ( uint32  a,
uint32  b,
uint32  c,
uint32  d 
)

Initialize __packb with four unsigned integers

Definition at line 853 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __initupackhw ( uint16  a,
uint16  b 
)

Initialize __packhw with two unsigned integers

Definition at line 865 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte1 ( __packb  a,
sint8  b 
)

Insert sint8 into first byte of a __packb

Definition at line 875 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte2 ( __packb  a,
sint8  b 
)

Insert sint8 into second byte of a __packb

Definition at line 885 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte3 ( __packb  a,
sint8  b 
)

Insert sint8 into third byte of a __packb

Definition at line 895 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte4 ( __packb  a,
sint8  b 
)

Insert sint8 into fourth byte of a __packb

Definition at line 905 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __inserthw1 ( __packhw  a,
sint16  b 
)

Insert sint16 into first halfword of a __packhw

Definition at line 955 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __inserthw2 ( __packhw  a,
sint16  b 
)

Insert sint16 into second halfword of a __packhw

Definition at line 965 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte1 ( __upackb  a,
uint8  b 
)

Insert sint8 into first uint8 of a __packb

Definition at line 915 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte2 ( __upackb  a,
uint8  b 
)

Insert sint8 into second uint8 of a __packb

Definition at line 925 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte3 ( __upackb  a,
uint8  b 
)

Insert sint8 into third uint8 of a __packb

Definition at line 935 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte4 ( __upackb  a,
uint8  b 
)

Insert sint8 into fourth uint8 of a __packb

Definition at line 945 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __insertuhw1 ( __upackhw  a,
uint16  b 
)

Insert uint16 into first halfword of a __upackhw

Definition at line 975 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __insertuhw2 ( __upackhw  a,
uint16  b 
)

Insert uint16 into second halfword of a __upackhw

Definition at line 985 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __minb ( __packb  a,
__packb  b 
)

Minimum of two __packb values

Definition at line 995 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __minbu ( __upackb  a,
__upackb  b 
)

Minimum of two __upackb values

Definition at line 1005 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __minh ( __packhw  a,
__packhw  b 
)

Minimum of two __packhw values

Definition at line 1015 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __minhu ( __upackhw  a,
__upackhw  b 
)

Minimum of two __upackhw values

Definition at line 1025 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte1 ( __packb a,
sint8  b 
)

Insert sint8 into first byte of a __packb

Definition at line 1035 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte2 ( __packb a,
sint8  b 
)

Insert sint8 into second byte of a __packb

Definition at line 1045 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte3 ( __packb a,
sint8  b 
)

Insert sint8 into third byte of a __packb

Definition at line 1055 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte4 ( __packb a,
sint8  b 
)

Insert sint8 into fourth byte of a __packb

Definition at line 1065 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __sethw1 ( __packhw a,
sint16  b 
)

Insert sint16 into first halfword of a __packhw

Definition at line 1075 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __sethw2 ( __packhw a,
sint16  b 
)

Insert sint16 into second halfword of a __packhw

Definition at line 1085 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte1 ( __upackb a,
uint8  b 
)

Insert uint8 into first byte of a __upackb

Definition at line 1095 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte2 ( __upackb a,
uint8  b 
)

Insert uint8 into second byte of a __upackb

Definition at line 1105 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte3 ( __upackb a,
uint8  b 
)

Insert uint8 into third byte of a __upackb

Definition at line 1115 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte4 ( __upackb a,
uint8  b 
)

Insert uint8 into fourth byte of a __upackb

Definition at line 1125 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setuhw1 ( __upackhw a,
uint16  b 
)

Insert uint16 into first halfword of a __upackhw

Definition at line 1135 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setuhw2 ( __upackhw a,
uint16  b 
)

Insert uint16 into second halfword of a __upackhw

Definition at line 1145 of file IfxCpu_IntrinsicsGnuc.h.