NMSIS-Core
Version 1.2.0
NMSIS-Core support for Nuclei processor-based devices
|
SIMD 8-bit Unpacking Instructions. More...
Functions | |
__STATIC_FORCEINLINE unsigned long | __RV_SUNPKD810 (unsigned long a) |
SUNPKD810 (Signed Unpacking Bytes 1 & 0) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_SUNPKD820 (unsigned long a) |
SUNPKD820 (Signed Unpacking Bytes 2 & 0) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_SUNPKD830 (unsigned long a) |
SUNPKD830 (Signed Unpacking Bytes 3 & 0) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_SUNPKD831 (unsigned long a) |
SUNPKD831 (Signed Unpacking Bytes 3 & 1) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_SUNPKD832 (unsigned long a) |
SUNPKD832 (Signed Unpacking Bytes 3 & 2) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_ZUNPKD810 (unsigned long a) |
ZUNPKD810 (Unsigned Unpacking Bytes 1 & 0) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_ZUNPKD820 (unsigned long a) |
ZUNPKD820 (Unsigned Unpacking Bytes 2 & 0) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_ZUNPKD830 (unsigned long a) |
ZUNPKD830 (Unsigned Unpacking Bytes 3 & 0) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_ZUNPKD831 (unsigned long a) |
ZUNPKD831 (Unsigned Unpacking Bytes 3 & 1) More... | |
__STATIC_FORCEINLINE unsigned long | __RV_ZUNPKD832 (unsigned long a) |
ZUNPKD832 (Unsigned Unpacking Bytes 3 & 2) More... | |
SIMD 8-bit Unpacking Instructions.
there are 8 SIMD 8-bit Unpacking instructions.
__STATIC_FORCEINLINE unsigned long __RV_SUNPKD810 | ( | unsigned long | a | ) |
SUNPKD810 (Signed Unpacking Bytes 1 & 0)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit signed halfwords of 32-bit chunks in a register.
Description:
For the SUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit signed halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 10809 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_SUNPKD820 | ( | unsigned long | a | ) |
SUNPKD820 (Signed Unpacking Bytes 2 & 0)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit signed halfwords of 32-bit chunks in a register.
Description:
For the SUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit signed halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 10855 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_SUNPKD830 | ( | unsigned long | a | ) |
SUNPKD830 (Signed Unpacking Bytes 3 & 0)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit signed halfwords of 32-bit chunks in a register.
Description:
For the SUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit signed halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 10901 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_SUNPKD831 | ( | unsigned long | a | ) |
SUNPKD831 (Signed Unpacking Bytes 3 & 1)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit signed halfwords of 32-bit chunks in a register.
Description:
For the SUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit signed halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 10947 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_SUNPKD832 | ( | unsigned long | a | ) |
SUNPKD832 (Signed Unpacking Bytes 3 & 2)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit signed halfwords of 32-bit chunks in a register.
Description:
For the SUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit signed halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 10993 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_ZUNPKD810 | ( | unsigned long | a | ) |
ZUNPKD810 (Unsigned Unpacking Bytes 1 & 0)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit unsigned halfwords of 32-bit chunks in a register.
Description:
For the ZUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit unsigned halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 13583 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_ZUNPKD820 | ( | unsigned long | a | ) |
ZUNPKD820 (Unsigned Unpacking Bytes 2 & 0)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit unsigned halfwords of 32-bit chunks in a register.
Description:
For the ZUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit unsigned halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 13629 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_ZUNPKD830 | ( | unsigned long | a | ) |
ZUNPKD830 (Unsigned Unpacking Bytes 3 & 0)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit unsigned halfwords of 32-bit chunks in a register.
Description:
For the ZUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit unsigned halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 13675 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_ZUNPKD831 | ( | unsigned long | a | ) |
ZUNPKD831 (Unsigned Unpacking Bytes 3 & 1)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit unsigned halfwords of 32-bit chunks in a register.
Description:
For the ZUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit unsigned halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 13721 of file core_feature_dsp.h.
References __ASM.
__STATIC_FORCEINLINE unsigned long __RV_ZUNPKD832 | ( | unsigned long | a | ) |
ZUNPKD832 (Unsigned Unpacking Bytes 3 & 2)
Type: DSP
Syntax:
Purpose:
Unpack byte x and byte y of 32-bit chunks in a register into two 16-bit unsigned halfwords of 32-bit chunks in a register.
Description:
For the ZUNPKD8(x)(*y*)
instruction, it unpacks byte x and byte y of 32-bit chunks in Rs1 into two 16-bit unsigned halfwords and writes the results to the top part and the bottom part of 32-bit chunks in Rd.
Operations:
[in] | a | unsigned long type of value stored in a |
Definition at line 13767 of file core_feature_dsp.h.
References __ASM.