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

IFX_INLINE __packhw __absh ( __packhw  a)

Absolute value of __packhw

Definition at line 541 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __abssh ( __packhw  a)

Absolute value of __packhw using saturation

Definition at line 551 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte1 ( __packb  a)

Extract first byte from a __packb

Definition at line 561 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte2 ( __packb  a)

Extract second byte from a __packb

Definition at line 571 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte3 ( __packb  a)

Extract third byte from a __packb

Definition at line 581 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __extractbyte4 ( __packb  a)

Extract fourth byte from a __packb

Definition at line 591 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __extracthw1 ( __packhw  a)

Extract first sint16 from a __packhw

Definition at line 601 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __extracthw2 ( __packhw  a)

Extract second sint16 from a __packhw

Definition at line 611 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte1 ( __upackb  a)

Extract first uint8 from a __packb

Definition at line 621 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte2 ( __upackb  a)

Extract second uint8 from a __packb

Definition at line 631 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte3 ( __upackb  a)

Extract third uint8 from a __packb

Definition at line 641 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __extractubyte4 ( __upackb  a)

Extract fourth uint8 from a __packb

Definition at line 651 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __extractuhw1 ( __upackhw  a)

Extract first uint16 from a __packhw

Definition at line 661 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __extractuhw2 ( __upackhw  a)

Extract second uint16 from a __packhw

Definition at line 671 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte1 ( __packb a)

Extract first byte from a __packb

Definition at line 681 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte2 ( __packb a)

Extract second byte from a __packb

Definition at line 693 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte3 ( __packb a)

Extract third byte from a __packb

Definition at line 705 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint8 __getbyte4 ( __packb a)

Extract fourth byte from a __packb

Definition at line 717 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __gethw1 ( __packhw a)

Extract first sint16 from a __packhw

Definition at line 729 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE sint16 __gethw2 ( __packhw a)

Extract second sint16 from a __packhw

Definition at line 739 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte1 ( __upackb a)

Extract first uint8 from a __packb

Definition at line 750 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte2 ( __upackb a)

Extract second uint8 from a __packb

Definition at line 761 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte3 ( __upackb a)

Extract third uint8 from a __packb

Definition at line 772 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint8 __getubyte4 ( __upackb a)

Extract fourth uint8 from a __packb

Definition at line 783 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __getuhw1 ( __upackhw a)

Extract first uint16 from a __packhw

Definition at line 794 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE uint16 __getuhw2 ( __upackhw a)

Extract second uint16 from a __packhw

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

IFX_INLINE __packb __initpackbl ( long  a)

Initialize __packb with a long integer

Definition at line 828 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __initpackhw ( sint16  a,
sint16  b 
)

Initialize __packhw with two integers

Definition at line 835 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __initpackhwl ( long  a)

Initialize __packhw with a long integer

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

IFX_INLINE __upackhw __initupackhw ( uint16  a,
uint16  b 
)

Initialize __packhw with two unsigned integers

Definition at line 864 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte1 ( __packb  a,
sint8  b 
)

Insert sint8 into first byte of a __packb

Definition at line 874 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte2 ( __packb  a,
sint8  b 
)

Insert sint8 into second byte of a __packb

Definition at line 884 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte3 ( __packb  a,
sint8  b 
)

Insert sint8 into third byte of a __packb

Definition at line 894 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __insertbyte4 ( __packb  a,
sint8  b 
)

Insert sint8 into fourth byte of a __packb

Definition at line 904 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __inserthw1 ( __packhw  a,
sint16  b 
)

Insert sint16 into first halfword of a __packhw

Definition at line 954 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __inserthw2 ( __packhw  a,
sint16  b 
)

Insert sint16 into second halfword of a __packhw

Definition at line 964 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte1 ( __upackb  a,
uint8  b 
)

Insert sint8 into first uint8 of a __packb

Definition at line 914 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte2 ( __upackb  a,
uint8  b 
)

Insert sint8 into second uint8 of a __packb

Definition at line 924 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte3 ( __upackb  a,
uint8  b 
)

Insert sint8 into third uint8 of a __packb

Definition at line 934 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __insertubyte4 ( __upackb  a,
uint8  b 
)

Insert sint8 into fourth uint8 of a __packb

Definition at line 944 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __insertuhw1 ( __upackhw  a,
uint16  b 
)

Insert uint16 into first halfword of a __upackhw

Definition at line 974 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __insertuhw2 ( __upackhw  a,
uint16  b 
)

Insert uint16 into second halfword of a __upackhw

Definition at line 984 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packb __minb ( __packb  a,
__packb  b 
)

Minimum of two __packb values

Definition at line 994 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackb __minbu ( __upackb  a,
__upackb  b 
)

Minimum of two __upackb values

Definition at line 1004 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __packhw __minh ( __packhw  a,
__packhw  b 
)

Minimum of two __packhw values

Definition at line 1014 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE __upackhw __minhu ( __upackhw  a,
__upackhw  b 
)

Minimum of two __upackhw values

Definition at line 1024 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte1 ( __packb a,
sint8  b 
)

Insert sint8 into first byte of a __packb

Definition at line 1034 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte2 ( __packb a,
sint8  b 
)

Insert sint8 into second byte of a __packb

Definition at line 1044 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte3 ( __packb a,
sint8  b 
)

Insert sint8 into third byte of a __packb

Definition at line 1054 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setbyte4 ( __packb a,
sint8  b 
)

Insert sint8 into fourth byte of a __packb

Definition at line 1064 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __sethw1 ( __packhw a,
sint16  b 
)

Insert sint16 into first halfword of a __packhw

Definition at line 1074 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __sethw2 ( __packhw a,
sint16  b 
)

Insert sint16 into second halfword of a __packhw

Definition at line 1084 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte1 ( __upackb a,
uint8  b 
)

Insert uint8 into first byte of a __upackb

Definition at line 1094 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte2 ( __upackb a,
uint8  b 
)

Insert uint8 into second byte of a __upackb

Definition at line 1104 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte3 ( __upackb a,
uint8  b 
)

Insert uint8 into third byte of a __upackb

Definition at line 1114 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setubyte4 ( __upackb a,
uint8  b 
)

Insert uint8 into fourth byte of a __upackb

Definition at line 1124 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setuhw1 ( __upackhw a,
uint16  b 
)

Insert uint16 into first halfword of a __upackhw

Definition at line 1134 of file IfxCpu_IntrinsicsGnuc.h.

IFX_INLINE void __setuhw2 ( __upackhw a,
uint16  b 
)

Insert uint16 into second halfword of a __upackhw

Definition at line 1144 of file IfxCpu_IntrinsicsGnuc.h.