6.59.14. MIPS Loongson Built-in Functions
6.59.14 MIPS Loongson Built-in Functions
GCC provides intrinsics to access the SIMD instructions provided by the ST Microelectronics Loongson-2E and -2F processors. These intrinsics, available after inclusion of the loongson.h
header file, operate on the following 64-bit vector types:
-
uint8x8_t
, a vector of eight unsigned 8-bit integers; -
uint16x4_t
, a vector of four unsigned 16-bit integers; -
uint32x2_t
, a vector of two unsigned 32-bit integers; -
int8x8_t
, a vector of eight signed 8-bit integers; -
int16x4_t
, a vector of four signed 16-bit integers; -
int32x2_t
, a vector of two signed 32-bit integers.
The intrinsics provided are listed below; each is named after the machine instruction to which it corresponds, with suffixes added as appropriate to