NEON Intrinsics Interfaces
Similar to the data type definition, the format of each NEON intrinsics interface is fixed. The following is an example of the NEON intrinsic addition function:
int16x8_t vqaddq_s16 (int16x8_t, int16x8_t);
- The first letter v indicates a vector instruction, that is, a NEON instruction.
- The second letter q indicates a saturating instruction, that is, the subsequent addition result is automatically saturated.
- The third field add indicates an addition instruction.
- The fourth field q indicates the width of the operation register. When the field is q, the operation register QWORD is 128 bits. When the field is not specified, the operation register DWORD is 64 bits.
- The fifth field s16 indicates that the basic unit of the operation is a signed 16-bit integer. The value ranges from –32768 to 32767.
For details about the NEON intrinsics interface list, visit the official Arm website at https://developer.arm.com/architectures/instruction-sets/intrinsics/.
Parent topic: NEON Intrinsics Programming